pub struct StringAttribute<'s, const TYPE: u16>(pub &'s str);Tuple Fields§
§0: &'s strImplementations§
Trait Implementations§
Source§impl<'s, const TYPE: u16> Attribute<'s> for StringAttribute<'s, TYPE>
impl<'s, const TYPE: u16> Attribute<'s> for StringAttribute<'s, TYPE>
Auto Trait Implementations§
impl<'s, const TYPE: u16> Freeze for StringAttribute<'s, TYPE>
impl<'s, const TYPE: u16> RefUnwindSafe for StringAttribute<'s, TYPE>
impl<'s, const TYPE: u16> Send for StringAttribute<'s, TYPE>
impl<'s, const TYPE: u16> Sync for StringAttribute<'s, TYPE>
impl<'s, const TYPE: u16> Unpin for StringAttribute<'s, TYPE>
impl<'s, const TYPE: u16> UnwindSafe for StringAttribute<'s, TYPE>
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