#[repr(i16)]pub enum DataRepresentationId {
Xcdr1 = 0,
Xml = 1,
Xcdr2 = 2,
}Expand description
Data-Representation-ID (§7.6.3.2.1).
Variants§
Xcdr1 = 0
XCDR version 1 (classic).
Xml = 1
XML representation.
Xcdr2 = 2
XCDR version 2 (xtypes, default).
Implementations§
Trait Implementations§
Source§impl Clone for DataRepresentationId
impl Clone for DataRepresentationId
Source§fn clone(&self) -> DataRepresentationId
fn clone(&self) -> DataRepresentationId
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 DataRepresentationId
impl Debug for DataRepresentationId
Source§impl PartialEq for DataRepresentationId
impl PartialEq for DataRepresentationId
Source§fn eq(&self, other: &DataRepresentationId) -> bool
fn eq(&self, other: &DataRepresentationId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DataRepresentationId
impl Eq for DataRepresentationId
impl StructuralPartialEq for DataRepresentationId
Auto Trait Implementations§
impl Freeze for DataRepresentationId
impl RefUnwindSafe for DataRepresentationId
impl Send for DataRepresentationId
impl Sync for DataRepresentationId
impl Unpin for DataRepresentationId
impl UnsafeUnpin for DataRepresentationId
impl UnwindSafe for DataRepresentationId
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