pub struct SubstVPat {
pub vtype: SubstVType,
pub fprefix: Option<Argument<Items>>,
}Fields§
§vtype: SubstVType§fprefix: Option<Argument<Items>>Implementations§
Trait Implementations§
Source§impl FindRecogMetas for SubstVPat
impl FindRecogMetas for SubstVPat
Source§fn find_recog_metas(&self, acc: &mut Recognised)
fn find_recog_metas(&self, acc: &mut Recognised)
Search for
fmeta(..) etc. expansions Read moreSource§impl ParseOneSubkeyword for SubstVPat
impl ParseOneSubkeyword for SubstVPat
Source§fn process_one_keyword(
&mut self,
got: &Ident,
ps: ParseStream<'_>,
) -> Option<Result<()>>
fn process_one_keyword( &mut self, got: &Ident, ps: ParseStream<'_>, ) -> Option<Result<()>>
Process the value for a keyword
subkw. Read moreSource§impl ParseUsingSubkeywords for SubstVPat
impl ParseUsingSubkeywords for SubstVPat
Auto Trait Implementations§
impl Freeze for SubstVPat
impl RefUnwindSafe for SubstVPat
impl !Send for SubstVPat
impl !Sync for SubstVPat
impl Unpin for SubstVPat
impl UnwindSafe for SubstVPat
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more