pub struct DataRepresentationMask {
pub xcdr1: bool,
pub xcdr2: bool,
pub xml: bool,
}Expand description
The data representations a type allows.
A mask rather than one value: @data_representation(XCDR1 | XCDR2)
is legal and means both. DDS-XTypes 1.3 §7.6.3.1.1.
Fields§
§xcdr1: boolXCDR1 is allowed.
xcdr2: boolXCDR2 is allowed.
xml: boolXML is allowed.
Implementations§
Source§impl DataRepresentationMask
impl DataRepresentationMask
Sourcepub const ALL: Self
pub const ALL: Self
The DataRepresentationMask value of a type that carries no
@data_representation: “interpreted as if the
DataRepresentationMask value was set to 0xffffffff” (DDS-XTypes
1.3 §7.3.1.2.1.15), which allows every representation.
Sourcepub const ALL_BITS: u32 = 0xffff_ffff
pub const ALL_BITS: u32 = 0xffff_ffff
The value 0xffffffff of the annotation-less case, as the 32-bit
mask of §7.3.1.2.1.15.
Trait Implementations§
Source§impl Clone for DataRepresentationMask
impl Clone for DataRepresentationMask
impl Copy for DataRepresentationMask
Source§impl Debug for DataRepresentationMask
impl Debug for DataRepresentationMask
Source§impl Default for DataRepresentationMask
impl Default for DataRepresentationMask
impl Eq for DataRepresentationMask
Source§impl PartialEq for DataRepresentationMask
impl PartialEq for DataRepresentationMask
impl StructuralPartialEq for DataRepresentationMask
Auto Trait Implementations§
impl Freeze for DataRepresentationMask
impl RefUnwindSafe for DataRepresentationMask
impl Send for DataRepresentationMask
impl Sync for DataRepresentationMask
impl Unpin for DataRepresentationMask
impl UnsafeUnpin for DataRepresentationMask
impl UnwindSafe for DataRepresentationMask
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