pub enum FieldType {
Scalar(TypeCode),
ScalarArray(TypeCode),
String,
StringArray,
Structure(StructureDesc),
StructureArray(StructureDesc),
Union(Vec<FieldDesc>),
UnionArray(Vec<FieldDesc>),
Variant,
VariantArray,
BoundedString(u32),
}Expand description
Field type description
Variants§
Scalar(TypeCode)
ScalarArray(TypeCode)
String
StringArray
Structure(StructureDesc)
StructureArray(StructureDesc)
Union(Vec<FieldDesc>)
UnionArray(Vec<FieldDesc>)
Variant
VariantArray
BoundedString(u32)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FieldType
impl RefUnwindSafe for FieldType
impl Send for FieldType
impl Sync for FieldType
impl Unpin for FieldType
impl UnsafeUnpin for FieldType
impl UnwindSafe for FieldType
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