#[non_exhaustive]#[repr(C)]pub enum FieldAttribute<'shape> {
Arbitrary(&'shape str),
}Expand description
An attribute that can be set on a field
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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§fn clone_from(&mut self, source: &Self)
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>
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