Struct structmeta::NameValue
source · pub struct NameValue<T> {
pub name_span: Span,
pub value: T,
}
Expand description
name = value
style attribute argument.
See #[derive(StructMeta)]
documentation for details.
Fields§
§name_span: Span
§value: T
Trait Implementations§
source§impl<T: PartialEq> PartialEq for NameValue<T>
impl<T: PartialEq> PartialEq for NameValue<T>
impl<T: Copy> Copy for NameValue<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for NameValue<T>where
T: RefUnwindSafe,
impl<T> !Send for NameValue<T>
impl<T> !Sync for NameValue<T>
impl<T> Unpin for NameValue<T>where
T: Unpin,
impl<T> UnwindSafe for NameValue<T>where
T: 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