pub struct CompleteTypeObject {
pub _d: u8,
pub alias_type: Option<Box<CompleteAliasType>>,
pub annotation_type: Option<Box<CompleteAnnotationType>>,
pub struct_type: Option<Box<CompleteStructType>>,
pub union_type: Option<Box<CompleteUnionType>>,
pub bitset_type: Option<Box<CompleteBitsetType>>,
pub sequence_type: Option<Box<CompleteSequenceType>>,
pub array_type: Option<Box<CompleteArrayType>>,
pub map_type: Option<Box<CompleteMapType>>,
pub enumerated_type: Option<Box<CompleteEnumeratedType>>,
pub bitmask_type: Option<Box<CompleteBitmaskType>>,
pub extended_type: Option<Box<CompleteExtendedType>>,
}Fields§
§_d: u8§alias_type: Option<Box<CompleteAliasType>>§annotation_type: Option<Box<CompleteAnnotationType>>§struct_type: Option<Box<CompleteStructType>>§union_type: Option<Box<CompleteUnionType>>§bitset_type: Option<Box<CompleteBitsetType>>§sequence_type: Option<Box<CompleteSequenceType>>§array_type: Option<Box<CompleteArrayType>>§map_type: Option<Box<CompleteMapType>>§enumerated_type: Option<Box<CompleteEnumeratedType>>§bitmask_type: Option<Box<CompleteBitmaskType>>§extended_type: Option<Box<CompleteExtendedType>>Implementations§
Source§impl CompleteTypeObject
impl CompleteTypeObject
pub const SERIALIZE_KIND: SerializeKind = xidl_xcdr::SerializeKind::Cdr
pub fn new_alias_type(value: Box<CompleteAliasType>) -> Self
pub fn is_alias_type(&self) -> bool
pub fn new_annotation_type(value: Box<CompleteAnnotationType>) -> Self
pub fn is_annotation_type(&self) -> bool
pub fn new_struct_type(value: Box<CompleteStructType>) -> Self
pub fn is_struct_type(&self) -> bool
pub fn new_union_type(value: Box<CompleteUnionType>) -> Self
pub fn is_union_type(&self) -> bool
pub fn new_bitset_type(value: Box<CompleteBitsetType>) -> Self
pub fn is_bitset_type(&self) -> bool
pub fn new_sequence_type(value: Box<CompleteSequenceType>) -> Self
pub fn is_sequence_type(&self) -> bool
pub fn new_array_type(value: Box<CompleteArrayType>) -> Self
pub fn is_array_type(&self) -> bool
pub fn new_map_type(value: Box<CompleteMapType>) -> Self
pub fn is_map_type(&self) -> bool
pub fn new_enumerated_type(value: Box<CompleteEnumeratedType>) -> Self
pub fn is_enumerated_type(&self) -> bool
pub fn new_bitmask_type(value: Box<CompleteBitmaskType>) -> Self
pub fn is_bitmask_type(&self) -> bool
pub fn new_extended_type(value: Box<CompleteExtendedType>) -> Self
pub fn is_extended_type(&self) -> bool
pub fn tag(&self) -> &u8
Trait Implementations§
Source§impl XcdrDeserialize for CompleteTypeObject
impl XcdrDeserialize for CompleteTypeObject
fn deserialize<D: XcdrDeserializer + ?Sized>( deserializer: &mut D, ) -> XcdrResult<Self>
Source§impl XcdrSerialize for CompleteTypeObject
impl XcdrSerialize for CompleteTypeObject
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 CompleteTypeObject
impl XidlTypeObject for CompleteTypeObject
Auto Trait Implementations§
impl Freeze for CompleteTypeObject
impl RefUnwindSafe for CompleteTypeObject
impl Send for CompleteTypeObject
impl Sync for CompleteTypeObject
impl Unpin for CompleteTypeObject
impl UnsafeUnpin for CompleteTypeObject
impl UnwindSafe for CompleteTypeObject
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