pub struct MinimalTypeObject { /* private fields */ }Implementations§
Source§impl MinimalTypeObject
impl MinimalTypeObject
pub fn new_alias_type(value: MinimalAliasType) -> Self
pub fn is_alias_type(&self) -> bool
pub fn as_alias_type(&self) -> &MinimalAliasType
pub fn as_alias_type_mut(&mut self) -> &mut MinimalAliasType
pub fn into_alias_type(self) -> MinimalAliasType
pub fn new_annotation_type(value: MinimalAnnotationType) -> Self
pub fn is_annotation_type(&self) -> bool
pub fn as_annotation_type(&self) -> &MinimalAnnotationType
pub fn as_annotation_type_mut(&mut self) -> &mut MinimalAnnotationType
pub fn into_annotation_type(self) -> MinimalAnnotationType
pub fn new_struct_type(value: MinimalStructType) -> Self
pub fn is_struct_type(&self) -> bool
pub fn as_struct_type(&self) -> &MinimalStructType
pub fn as_struct_type_mut(&mut self) -> &mut MinimalStructType
pub fn into_struct_type(self) -> MinimalStructType
pub fn new_union_type(value: MinimalUnionType) -> Self
pub fn is_union_type(&self) -> bool
pub fn as_union_type(&self) -> &MinimalUnionType
pub fn as_union_type_mut(&mut self) -> &mut MinimalUnionType
pub fn into_union_type(self) -> MinimalUnionType
pub fn new_bitset_type(value: MinimalBitsetType) -> Self
pub fn is_bitset_type(&self) -> bool
pub fn as_bitset_type(&self) -> &MinimalBitsetType
pub fn as_bitset_type_mut(&mut self) -> &mut MinimalBitsetType
pub fn into_bitset_type(self) -> MinimalBitsetType
pub fn new_sequence_type(value: MinimalSequenceType) -> Self
pub fn is_sequence_type(&self) -> bool
pub fn as_sequence_type(&self) -> &MinimalSequenceType
pub fn as_sequence_type_mut(&mut self) -> &mut MinimalSequenceType
pub fn into_sequence_type(self) -> MinimalSequenceType
pub fn new_array_type(value: MinimalArrayType) -> Self
pub fn is_array_type(&self) -> bool
pub fn as_array_type(&self) -> &MinimalArrayType
pub fn as_array_type_mut(&mut self) -> &mut MinimalArrayType
pub fn into_array_type(self) -> MinimalArrayType
pub fn new_map_type(value: MinimalMapType) -> Self
pub fn is_map_type(&self) -> bool
pub fn as_map_type(&self) -> &MinimalMapType
pub fn as_map_type_mut(&mut self) -> &mut MinimalMapType
pub fn into_map_type(self) -> MinimalMapType
pub fn new_enumerated_type(value: MinimalEnumeratedType) -> Self
pub fn is_enumerated_type(&self) -> bool
pub fn as_enumerated_type(&self) -> &MinimalEnumeratedType
pub fn as_enumerated_type_mut(&mut self) -> &mut MinimalEnumeratedType
pub fn into_enumerated_type(self) -> MinimalEnumeratedType
pub fn new_bitmask_type(value: MinimalBitmaskType) -> Self
pub fn is_bitmask_type(&self) -> bool
pub fn as_bitmask_type(&self) -> &MinimalBitmaskType
pub fn as_bitmask_type_mut(&mut self) -> &mut MinimalBitmaskType
pub fn into_bitmask_type(self) -> MinimalBitmaskType
pub fn new_extended_type(value: MinimalExtendedType) -> Self
pub fn is_extended_type(&self) -> bool
pub fn as_extended_type(&self) -> &MinimalExtendedType
pub fn as_extended_type_mut(&mut self) -> &mut MinimalExtendedType
pub fn into_extended_type(self) -> MinimalExtendedType
pub fn tag(&self) -> &u8
Trait Implementations§
Source§impl Clone for MinimalTypeObject
impl Clone for MinimalTypeObject
Source§impl Debug for MinimalTypeObject
impl Debug for MinimalTypeObject
Source§impl Default for MinimalTypeObject
impl Default for MinimalTypeObject
Source§impl<'de> Deserialize<'de> for MinimalTypeObject
impl<'de> Deserialize<'de> for MinimalTypeObject
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Drop for MinimalTypeObject
impl Drop for MinimalTypeObject
Source§impl PartialEq for MinimalTypeObject
impl PartialEq for MinimalTypeObject
Auto Trait Implementations§
impl Freeze for MinimalTypeObject
impl RefUnwindSafe for MinimalTypeObject
impl Send for MinimalTypeObject
impl Sync for MinimalTypeObject
impl Unpin for MinimalTypeObject
impl UnsafeUnpin for MinimalTypeObject
impl UnwindSafe for MinimalTypeObject
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