pub struct Attribute<T>where
T: ?Sized,{ /* private fields */ }Expand description
Typed name of an ɴsɪ attribute.
T is the data shape the attribute accepts. Slice-typed T = [U] means
the attribute carries an array of U.
Implementations§
Trait Implementations§
impl<T> Copy for Attribute<T>where
T: ?Sized,
impl<T> Send for Attribute<T>where
T: ?Sized,
impl<T> Sync for Attribute<T>where
T: ?Sized,
Auto Trait Implementations§
impl<T> Freeze for Attribute<T>where
T: ?Sized,
impl<T> RefUnwindSafe for Attribute<T>where
T: ?Sized,
impl<T> Unpin for Attribute<T>where
T: ?Sized,
impl<T> UnsafeUnpin for Attribute<T>where
T: ?Sized,
impl<T> UnwindSafe for Attribute<T>where
T: ?Sized,
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