pub enum Attribute<'a> {
    Codama(CodamaAttribute<'a>),
    Derive(DeriveAttribute<'a>),
    Repr(ReprAttribute<'a>),
    Unsupported(UnsupportedAttribute<'a>),
}Variants§
Codama(CodamaAttribute<'a>)
Derive(DeriveAttribute<'a>)
Repr(ReprAttribute<'a>)
Unsupported(UnsupportedAttribute<'a>)
Implementations§
Trait Implementations§
Source§impl<'a> From<CodamaAttribute<'a>> for Attribute<'a>
 
impl<'a> From<CodamaAttribute<'a>> for Attribute<'a>
Source§fn from(value: CodamaAttribute<'a>) -> Self
 
fn from(value: CodamaAttribute<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<DeriveAttribute<'a>> for Attribute<'a>
 
impl<'a> From<DeriveAttribute<'a>> for Attribute<'a>
Source§fn from(value: DeriveAttribute<'a>) -> Self
 
fn from(value: DeriveAttribute<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<ReprAttribute<'a>> for Attribute<'a>
 
impl<'a> From<ReprAttribute<'a>> for Attribute<'a>
Source§fn from(value: ReprAttribute<'a>) -> Self
 
fn from(value: ReprAttribute<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<UnsupportedAttribute<'a>> for Attribute<'a>
 
impl<'a> From<UnsupportedAttribute<'a>> for Attribute<'a>
Source§fn from(value: UnsupportedAttribute<'a>) -> Self
 
fn from(value: UnsupportedAttribute<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a AccountDirective
 
impl<'a> TryFrom<&'a Attribute<'a>> for &'a AccountDirective
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a CodamaAttribute<'a>
 
impl<'a> TryFrom<&'a Attribute<'a>> for &'a CodamaAttribute<'a>
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a DefaultValueDirective
 
impl<'a> TryFrom<&'a Attribute<'a>> for &'a DefaultValueDirective
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a DeriveAttribute<'a>
 
impl<'a> TryFrom<&'a Attribute<'a>> for &'a DeriveAttribute<'a>
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a EncodingDirective
 
impl<'a> TryFrom<&'a Attribute<'a>> for &'a EncodingDirective
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a ErrorDirective
 
impl<'a> TryFrom<&'a Attribute<'a>> for &'a ErrorDirective
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a FixedSizeDirective
 
impl<'a> TryFrom<&'a Attribute<'a>> for &'a FixedSizeDirective
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a ReprAttribute<'a>
 
impl<'a> TryFrom<&'a Attribute<'a>> for &'a ReprAttribute<'a>
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a SizePrefixDirective
 
impl<'a> TryFrom<&'a Attribute<'a>> for &'a SizePrefixDirective
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a TypeDirective
 
impl<'a> TryFrom<&'a Attribute<'a>> for &'a TypeDirective
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a UnsupportedAttribute<'a>
 
impl<'a> TryFrom<&'a Attribute<'a>> for &'a UnsupportedAttribute<'a>
impl<'a> StructuralPartialEq for Attribute<'a>
Auto Trait Implementations§
impl<'a> Freeze for Attribute<'a>
impl<'a> RefUnwindSafe for Attribute<'a>
impl<'a> !Send for Attribute<'a>
impl<'a> !Sync for Attribute<'a>
impl<'a> Unpin for Attribute<'a>
impl<'a> UnwindSafe for Attribute<'a>
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