pub struct AttributesInner(pub Vec<Attribute>);Expand description
Attribute which is inner.
For example: // #![ deny( missing_docs ) ].
Tuple Fields§
§0: Vec<Attribute>Implementations§
Trait Implementations§
Source§impl Clone for AttributesInner
impl Clone for AttributesInner
Source§fn clone(&self) -> AttributesInner
fn clone(&self) -> AttributesInner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AttributesInner
impl Debug for AttributesInner
Source§impl Default for AttributesInner
impl Default for AttributesInner
Source§fn default() -> AttributesInner
fn default() -> AttributesInner
Returns the “default value” for a type. Read more
impl Eq for AttributesInner
Source§impl From<AttributesInner> for Vec<Attribute>
impl From<AttributesInner> for Vec<Attribute>
Source§fn from(src: AttributesInner) -> Self
fn from(src: AttributesInner) -> Self
Converts to this type from the input type.
Source§impl Parse for AttributesInner
impl Parse for AttributesInner
fn parse(input: ParseStream<'_>) -> Result<Self>
Source§impl PartialEq for AttributesInner
impl PartialEq for AttributesInner
impl StructuralPartialEq for AttributesInner
Source§impl ToTokens for AttributesInner
impl ToTokens for AttributesInner
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &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,
Auto Trait Implementations§
impl !Send for AttributesInner
impl !Sync for AttributesInner
impl Freeze for AttributesInner
impl RefUnwindSafe for AttributesInner
impl Unpin for AttributesInner
impl UnsafeUnpin for AttributesInner
impl UnwindSafe for AttributesInner
Blanket Implementations§
Source§impl<S> AssignWithType for S
impl<S> AssignWithType for S
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 Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
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.