pub struct MetaUnsupported(Void);Expand description
newtype to avoid coherence - it doesn’t impl Parse + ToTokens
Tuple Fields§
§0: VoidTrait Implementations§
Source§impl Clone for MetaUnsupported
impl Clone for MetaUnsupported
Source§fn clone(&self) -> MetaUnsupported
fn clone(&self) -> MetaUnsupported
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetaUnsupported
impl Debug for MetaUnsupported
Source§impl SubstAsSupportStatus for MetaUnsupported
impl SubstAsSupportStatus for MetaUnsupported
type Marker = MetaUnsupported
type Parsed = TokenStream
fn new(kw: &IdentAny) -> Result<SubstAsSupported<Self>>
Source§impl ToTokens for MetaUnsupported
impl ToTokens for MetaUnsupported
Source§fn to_tokens(&self, _out: &mut TokenStream)
fn to_tokens(&self, _out: &mut TokenStream)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Copy for MetaUnsupported
Auto Trait Implementations§
impl Freeze for MetaUnsupported
impl RefUnwindSafe for MetaUnsupported
impl Send for MetaUnsupported
impl Sync for MetaUnsupported
impl Unpin for MetaUnsupported
impl UnwindSafe for MetaUnsupported
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> Spanned for T
impl<T> Spanned for T
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty.