pub struct VariantParser {
_priv: (),
}
Fields§
§_priv: ()
Implementations§
Source§impl VariantParser
impl VariantParser
pub fn new() -> VariantParser
pub fn parse<__TOKEN: __ToTriple, __TOKENS: IntoIterator<Item = __TOKEN>>( &self, cx: &mut ParseCtxt<'_>, __tokens0: __TOKENS, ) -> Result<VariantDef, ParseError<Location, Token, UserParseError>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VariantParser
impl RefUnwindSafe for VariantParser
impl Send for VariantParser
impl Sync for VariantParser
impl Unpin for VariantParser
impl UnwindSafe for VariantParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more