pub struct WithInnerAttrs<I> {
pub inner: Vec<Attribute>,
pub item: I,
}Fields§
§inner: Vec<Attribute>§item: ITrait Implementations§
Source§impl<I: Clone> Clone for WithInnerAttrs<I>
impl<I: Clone> Clone for WithInnerAttrs<I>
Source§fn clone(&self) -> WithInnerAttrs<I>
fn clone(&self) -> WithInnerAttrs<I>
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<I: Debug> Debug for WithInnerAttrs<I>
impl<I: Debug> Debug for WithInnerAttrs<I>
Source§impl<I> Deref for WithInnerAttrs<I>
impl<I> Deref for WithInnerAttrs<I>
Source§impl From<WithInnerAttrs<Block>> for TokenStream
impl From<WithInnerAttrs<Block>> for TokenStream
Source§fn from(value: WithInnerAttrs<Block>) -> Self
fn from(value: WithInnerAttrs<Block>) -> Self
Converts to this type from the input type.
Source§impl From<WithInnerAttrs<Fn>> for TokenStream
impl From<WithInnerAttrs<Fn>> for TokenStream
Source§fn from(value: WithInnerAttrs<Fn>) -> Self
fn from(value: WithInnerAttrs<Fn>) -> Self
Converts to this type from the input type.
Source§impl From<WithInnerAttrs<Impl>> for TokenStream
impl From<WithInnerAttrs<Impl>> for TokenStream
Source§fn from(value: WithInnerAttrs<Impl>) -> Self
fn from(value: WithInnerAttrs<Impl>) -> Self
Converts to this type from the input type.
Source§impl From<WithInnerAttrs<LoadedMod>> for TokenStream
impl From<WithInnerAttrs<LoadedMod>> for TokenStream
Source§fn from(value: WithInnerAttrs<LoadedMod>) -> Self
fn from(value: WithInnerAttrs<LoadedMod>) -> Self
Converts to this type from the input type.
Source§impl From<WithInnerAttrs<Mod>> for TokenStream
impl From<WithInnerAttrs<Mod>> for TokenStream
Source§fn from(value: WithInnerAttrs<Mod>) -> Self
fn from(value: WithInnerAttrs<Mod>) -> Self
Converts to this type from the input type.
Source§impl<I: Hash> Hash for WithInnerAttrs<I>
impl<I: Hash> Hash for WithInnerAttrs<I>
Source§impl<I: PartialEq> PartialEq for WithInnerAttrs<I>
impl<I: PartialEq> PartialEq for WithInnerAttrs<I>
impl<I: Eq> Eq for WithInnerAttrs<I>
impl<I> StructuralPartialEq for WithInnerAttrs<I>
Auto Trait Implementations§
impl<I> Freeze for WithInnerAttrs<I>where
I: Freeze,
impl<I> RefUnwindSafe for WithInnerAttrs<I>where
I: RefUnwindSafe,
impl<I> Send for WithInnerAttrs<I>where
I: Send,
impl<I> Sync for WithInnerAttrs<I>where
I: Sync,
impl<I> Unpin for WithInnerAttrs<I>where
I: Unpin,
impl<I> UnwindSafe for WithInnerAttrs<I>where
I: UnwindSafe,
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