pub struct CollectionTypeFlag(pub u16);Expand description
Flags for a collection (sequence/array/map).
Tuple Fields§
§0: u16Trait Implementations§
Source§impl Clone for CollectionTypeFlag
impl Clone for CollectionTypeFlag
Source§fn clone(&self) -> CollectionTypeFlag
fn clone(&self) -> CollectionTypeFlag
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 CollectionTypeFlag
Source§impl Debug for CollectionTypeFlag
impl Debug for CollectionTypeFlag
Source§impl Default for CollectionTypeFlag
impl Default for CollectionTypeFlag
Source§fn default() -> CollectionTypeFlag
fn default() -> CollectionTypeFlag
Returns the “default value” for a type. Read more
impl Eq for CollectionTypeFlag
Source§impl PartialEq for CollectionTypeFlag
impl PartialEq for CollectionTypeFlag
Source§fn eq(&self, other: &CollectionTypeFlag) -> bool
fn eq(&self, other: &CollectionTypeFlag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CollectionTypeFlag
Auto Trait Implementations§
impl Freeze for CollectionTypeFlag
impl RefUnwindSafe for CollectionTypeFlag
impl Send for CollectionTypeFlag
impl Sync for CollectionTypeFlag
impl Unpin for CollectionTypeFlag
impl UnsafeUnpin for CollectionTypeFlag
impl UnwindSafe for CollectionTypeFlag
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