#[repr(C)]pub enum FieldAttribute<'shape> {
Arbitrary(&'shape str),
}Expand description
An attribute that can be set on a field
Variants§
Trait Implementations§
Source§impl<'shape> Clone for FieldAttribute<'shape>
impl<'shape> Clone for FieldAttribute<'shape>
Source§fn clone(&self) -> FieldAttribute<'shape>
fn clone(&self) -> FieldAttribute<'shape>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'shape> Debug for FieldAttribute<'shape>
impl<'shape> Debug for FieldAttribute<'shape>
Source§impl<'shape> Hash for FieldAttribute<'shape>
impl<'shape> Hash for FieldAttribute<'shape>
Source§impl<'shape> PartialEq for FieldAttribute<'shape>
impl<'shape> PartialEq for FieldAttribute<'shape>
Source§fn eq(&self, other: &FieldAttribute<'shape>) -> bool
fn eq(&self, other: &FieldAttribute<'shape>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'shape> Copy for FieldAttribute<'shape>
impl<'shape> Eq for FieldAttribute<'shape>
impl<'shape> StructuralPartialEq for FieldAttribute<'shape>
Auto Trait Implementations§
impl<'shape> Freeze for FieldAttribute<'shape>
impl<'shape> RefUnwindSafe for FieldAttribute<'shape>
impl<'shape> Send for FieldAttribute<'shape>
impl<'shape> Sync for FieldAttribute<'shape>
impl<'shape> Unpin for FieldAttribute<'shape>
impl<'shape> UnwindSafe for FieldAttribute<'shape>
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