pub struct MinimalTypeObject {
pub _d: u8,
pub alias_type: Option<Box<MinimalAliasType>>,
pub annotation_type: Option<Box<MinimalAnnotationType>>,
pub struct_type: Option<Box<MinimalStructType>>,
pub union_type: Option<Box<MinimalUnionType>>,
pub bitset_type: Option<Box<MinimalBitsetType>>,
pub sequence_type: Option<Box<MinimalSequenceType>>,
pub array_type: Option<Box<MinimalArrayType>>,
pub map_type: Option<Box<MinimalMapType>>,
pub enumerated_type: Option<Box<MinimalEnumeratedType>>,
pub bitmask_type: Option<Box<MinimalBitmaskType>>,
pub extended_type: Option<Box<MinimalExtendedType>>,
}Fields§
§_d: u8§alias_type: Option<Box<MinimalAliasType>>§annotation_type: Option<Box<MinimalAnnotationType>>§struct_type: Option<Box<MinimalStructType>>§union_type: Option<Box<MinimalUnionType>>§bitset_type: Option<Box<MinimalBitsetType>>§sequence_type: Option<Box<MinimalSequenceType>>§array_type: Option<Box<MinimalArrayType>>§map_type: Option<Box<MinimalMapType>>§enumerated_type: Option<Box<MinimalEnumeratedType>>§bitmask_type: Option<Box<MinimalBitmaskType>>§extended_type: Option<Box<MinimalExtendedType>>Implementations§
Source§impl MinimalTypeObject
impl MinimalTypeObject
pub const SERIALIZE_KIND: SerializeKind = xidl_xcdr::SerializeKind::Cdr
pub fn new_alias_type(value: Box<MinimalAliasType>) -> Self
pub fn is_alias_type(&self) -> bool
pub fn new_annotation_type(value: Box<MinimalAnnotationType>) -> Self
pub fn is_annotation_type(&self) -> bool
pub fn new_struct_type(value: Box<MinimalStructType>) -> Self
pub fn is_struct_type(&self) -> bool
pub fn new_union_type(value: Box<MinimalUnionType>) -> Self
pub fn is_union_type(&self) -> bool
pub fn new_bitset_type(value: Box<MinimalBitsetType>) -> Self
pub fn is_bitset_type(&self) -> bool
pub fn new_sequence_type(value: Box<MinimalSequenceType>) -> Self
pub fn is_sequence_type(&self) -> bool
pub fn new_array_type(value: Box<MinimalArrayType>) -> Self
pub fn is_array_type(&self) -> bool
pub fn new_map_type(value: Box<MinimalMapType>) -> Self
pub fn is_map_type(&self) -> bool
pub fn new_enumerated_type(value: Box<MinimalEnumeratedType>) -> Self
pub fn is_enumerated_type(&self) -> bool
pub fn new_bitmask_type(value: Box<MinimalBitmaskType>) -> Self
pub fn is_bitmask_type(&self) -> bool
pub fn new_extended_type(value: Box<MinimalExtendedType>) -> Self
pub fn is_extended_type(&self) -> bool
pub fn tag(&self) -> &u8
Trait Implementations§
Source§impl XcdrDeserialize for MinimalTypeObject
impl XcdrDeserialize for MinimalTypeObject
fn deserialize<D: XcdrDeserializer + ?Sized>( deserializer: &mut D, ) -> XcdrResult<Self>
Source§impl XcdrSerialize for MinimalTypeObject
impl XcdrSerialize for MinimalTypeObject
fn serialize_kind(&self) -> SerializeKind
fn serialize_with<S: XcdrSerializer + ?Sized>( &self, serializer: &mut S, ) -> XcdrResult<()>
fn serialize(&self, buf: &mut [u8]) -> Result<usize, XcdrError>where
Self: Sized,
Source§impl XidlTypeObject for MinimalTypeObject
impl XidlTypeObject 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