Enum psd::DescriptorField
source · [−]pub enum DescriptorField {
Show 19 variants
Descriptor(DescriptorStructure),
Reference(Vec<DescriptorField>),
UnitFloat(UnitFloatStructure),
Double(f64),
Class(ClassStructure),
String(String),
EnumeratedReference(EnumeratedReference),
Offset(OffsetStructure),
Boolean(bool),
Alias(AliasStructure),
List(Vec<DescriptorField>),
LargeInteger(i64),
Integer(i32),
EnumeratedDescriptor(EnumeratedDescriptor),
RawData(Vec<u8>),
Property(PropertyStructure),
Identifier(i32),
Index(i32),
Name(NameStructure),
}
Expand description
One of
Variants
Descriptor(DescriptorStructure)
Descriptor as field
Reference(Vec<DescriptorField>)
A list of special fields There are can be Property, Identifier, Index, Name fields
UnitFloat(UnitFloatStructure)
Float field with unit
Double(f64)
Double-precision floating-point number
Class(ClassStructure)
String(String)
Text
EnumeratedReference(EnumeratedReference)
Offset(OffsetStructure)
Boolean(bool)
Boolean value
Alias(AliasStructure)
List(Vec<DescriptorField>)
A list of fields
LargeInteger(i64)
64bit integer number
Integer(i32)
32bit integer number
EnumeratedDescriptor(EnumeratedDescriptor)
RawData(Vec<u8>)
Raw bytes data
Property(PropertyStructure)
Only Reference fields
Identifier(i32)
Index(i32)
Name(NameStructure)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DescriptorField
impl Send for DescriptorField
impl Sync for DescriptorField
impl Unpin for DescriptorField
impl UnwindSafe for DescriptorField
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more