pub enum ClassData {
NoWriteMethod(FieldValueSet),
WriteMethodWithFields(FieldValueSet, ObjectAnnotation),
WriteMethod(ObjectAnnotation),
ExternalContents(Vec<u8>),
ExternalBlockData(ObjectAnnotation),
}Expand description
Class data for one class level in an object.
Variants§
NoWriteMethod(FieldValueSet)
SC_SERIALIZABLE without SC_WRITE_METHOD: just field values.
WriteMethodWithFields(FieldValueSet, ObjectAnnotation)
SC_SERIALIZABLE with SC_WRITE_METHOD, and defaultWriteObject() was called: field values followed by object annotation.
WriteMethod(ObjectAnnotation)
SC_SERIALIZABLE with SC_WRITE_METHOD, and defaultWriteObject() was NOT called: entire classdata is an objectAnnotation.
ExternalContents(Vec<u8>)
SC_EXTERNALIZABLE without SC_BLOCK_DATA: raw external contents.
ExternalBlockData(ObjectAnnotation)
SC_EXTERNALIZABLE with SC_BLOCK_DATA: object annotation format.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClassData
impl RefUnwindSafe for ClassData
impl Send for ClassData
impl Sync for ClassData
impl Unpin for ClassData
impl UnsafeUnpin for ClassData
impl UnwindSafe for ClassData
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