pub struct CollectionElementFlag(pub u16);Expand description
Collection element flags (§7.3.4.7.1). A 16-bit bitmask with only one relevant bit (TRY_CONSTRUCT) for TypeIdentifier.
Tuple Fields§
§0: u16Implementations§
Source§impl CollectionElementFlag
impl CollectionElementFlag
Sourcepub const TRY_CONSTRUCT1: u16
pub const TRY_CONSTRUCT1: u16
TryConstruct = DISCARD (the default TryConstructKind, §7.3.4.5), set on the element of every plain collection by Cyclone + FastDDS (byte-verified). Bit position is shared with the member-flag types.
Trait Implementations§
Source§impl Clone for CollectionElementFlag
impl Clone for CollectionElementFlag
Source§fn clone(&self) -> CollectionElementFlag
fn clone(&self) -> CollectionElementFlag
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 moreimpl Copy for CollectionElementFlag
Source§impl Debug for CollectionElementFlag
impl Debug for CollectionElementFlag
Source§impl Default for CollectionElementFlag
impl Default for CollectionElementFlag
Source§fn default() -> CollectionElementFlag
fn default() -> CollectionElementFlag
Returns the “default value” for a type. Read more
impl Eq for CollectionElementFlag
Source§impl PartialEq for CollectionElementFlag
impl PartialEq for CollectionElementFlag
Source§fn eq(&self, other: &CollectionElementFlag) -> bool
fn eq(&self, other: &CollectionElementFlag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CollectionElementFlag
Auto Trait Implementations§
impl Freeze for CollectionElementFlag
impl RefUnwindSafe for CollectionElementFlag
impl Send for CollectionElementFlag
impl Sync for CollectionElementFlag
impl Unpin for CollectionElementFlag
impl UnsafeUnpin for CollectionElementFlag
impl UnwindSafe for CollectionElementFlag
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