pub struct FieldMetadata {
pub decoder: Decoder,
pub special: Option<FieldSpecialDescriptor>,
}Expand description
Metadata about how to decode a field.
Fields§
§decoder: Decoder§special: Option<FieldSpecialDescriptor>Implementations§
Source§impl FieldMetadata
impl FieldMetadata
pub fn is_dynamic_array(&self) -> bool
pub fn is_fixed_array(&self) -> bool
pub fn fixed_array_length(&self) -> Option<usize>
pub fn is_dynamic_serializer_array(&self) -> bool
pub fn is_pointer(&self) -> bool
pub fn dynamic_array_inner_metadata(&self) -> FieldMetadata
Trait Implementations§
Source§impl Clone for FieldMetadata
impl Clone for FieldMetadata
Source§fn clone(&self) -> FieldMetadata
fn clone(&self) -> FieldMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FieldMetadata
impl Debug for FieldMetadata
Auto Trait Implementations§
impl Freeze for FieldMetadata
impl RefUnwindSafe for FieldMetadata
impl Send for FieldMetadata
impl Sync for FieldMetadata
impl Unpin for FieldMetadata
impl UnsafeUnpin for FieldMetadata
impl UnwindSafe for FieldMetadata
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