pub enum CodamaDirective {
Type(TypeDirective),
DefaultValue(DefaultValueDirective),
Encoding(EncodingDirective),
FixedSize(FixedSizeDirective),
SizePrefix(SizePrefixDirective),
Account(AccountDirective),
Error(ErrorDirective),
}Variants§
Type(TypeDirective)
DefaultValue(DefaultValueDirective)
Encoding(EncodingDirective)
FixedSize(FixedSizeDirective)
SizePrefix(SizePrefixDirective)
Account(AccountDirective)
Error(ErrorDirective)
Implementations§
Trait Implementations§
Source§impl Debug for CodamaDirective
impl Debug for CodamaDirective
Source§impl From<AccountDirective> for CodamaDirective
impl From<AccountDirective> for CodamaDirective
Source§fn from(value: AccountDirective) -> Self
fn from(value: AccountDirective) -> Self
Converts to this type from the input type.
Source§impl From<DefaultValueDirective> for CodamaDirective
impl From<DefaultValueDirective> for CodamaDirective
Source§fn from(value: DefaultValueDirective) -> Self
fn from(value: DefaultValueDirective) -> Self
Converts to this type from the input type.
Source§impl From<EncodingDirective> for CodamaDirective
impl From<EncodingDirective> for CodamaDirective
Source§fn from(value: EncodingDirective) -> Self
fn from(value: EncodingDirective) -> Self
Converts to this type from the input type.
Source§impl From<ErrorDirective> for CodamaDirective
impl From<ErrorDirective> for CodamaDirective
Source§fn from(value: ErrorDirective) -> Self
fn from(value: ErrorDirective) -> Self
Converts to this type from the input type.
Source§impl From<FixedSizeDirective> for CodamaDirective
impl From<FixedSizeDirective> for CodamaDirective
Source§fn from(value: FixedSizeDirective) -> Self
fn from(value: FixedSizeDirective) -> Self
Converts to this type from the input type.
Source§impl From<SizePrefixDirective> for CodamaDirective
impl From<SizePrefixDirective> for CodamaDirective
Source§fn from(value: SizePrefixDirective) -> Self
fn from(value: SizePrefixDirective) -> Self
Converts to this type from the input type.
Source§impl From<TypeDirective> for CodamaDirective
impl From<TypeDirective> for CodamaDirective
Source§fn from(value: TypeDirective) -> Self
fn from(value: TypeDirective) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CodamaDirective
impl PartialEq for CodamaDirective
impl StructuralPartialEq for CodamaDirective
Auto Trait Implementations§
impl Freeze for CodamaDirective
impl RefUnwindSafe for CodamaDirective
impl Send for CodamaDirective
impl Sync for CodamaDirective
impl Unpin for CodamaDirective
impl UnwindSafe for CodamaDirective
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