pub enum WstringLengthCounts {
Octets,
Characters,
}Expand description
C1 — what a wstring’s length prefix counts.
The byte-layer half of zerodds_ast_layout::WstringLengthCounts,
which carries the runs and the argument. Declared again here rather
than imported for the reason PlCdr1Framing is declared again:
this crate depends on nothing and is not going to start.
Variants§
Octets
The number of octets the code units occupy.
XTypes 1.3 §7.4.1.1.2, and CORBA 3.3 part 2 §9.3.1.6’s GIOP 1.2
wstring. Cyclone, OpenDDS, omniORB, TAO and JacORB.
Characters
The number of code units, whatever each one weighs.
CORBA §9.3.1.6’s GIOP 1.1 wstring, and Fast CDR’s wcslen.
RTI under XCDR1, Fast DDS, and both ROS type supports.
Trait Implementations§
Source§impl Clone for WstringLengthCounts
impl Clone for WstringLengthCounts
impl Copy for WstringLengthCounts
Source§impl Debug for WstringLengthCounts
impl Debug for WstringLengthCounts
Source§impl Default for WstringLengthCounts
impl Default for WstringLengthCounts
impl Eq for WstringLengthCounts
Source§impl Hash for WstringLengthCounts
impl Hash for WstringLengthCounts
Source§impl Ord for WstringLengthCounts
impl Ord for WstringLengthCounts
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WstringLengthCounts
impl PartialEq for WstringLengthCounts
Source§impl PartialOrd for WstringLengthCounts
impl PartialOrd for WstringLengthCounts
impl StructuralPartialEq for WstringLengthCounts
Auto Trait Implementations§
impl Freeze for WstringLengthCounts
impl RefUnwindSafe for WstringLengthCounts
impl Send for WstringLengthCounts
impl Sync for WstringLengthCounts
impl Unpin for WstringLengthCounts
impl UnsafeUnpin for WstringLengthCounts
impl UnwindSafe for WstringLengthCounts
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