Struct attribute_derive::IdentValue
source · pub struct IdentValue<T> {
pub value: T,
pub ident: Ident,
}
Expand description
Helper struct to hold a value and the ident of its property
Fields§
§value: T
The value
ident: Ident
The ident
Auto Trait Implementations§
impl<T> RefUnwindSafe for IdentValue<T>where T: RefUnwindSafe,
impl<T> !Send for IdentValue<T>
impl<T> !Sync for IdentValue<T>
impl<T> Unpin for IdentValue<T>where T: Unpin,
impl<T> UnwindSafe for IdentValue<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