pub struct StructTypeFlag(pub u16);Expand description
Flags for a struct type (StructTypeFlag §7.3.4.5).
Tuple Fields§
§0: u16Implementations§
Source§impl StructTypeFlag
impl StructTypeFlag
Sourcepub const IS_APPENDABLE: u16
pub const IS_APPENDABLE: u16
Extensibility = APPENDABLE (prefix match allowed).
Sourcepub const IS_MUTABLE: u16
pub const IS_MUTABLE: u16
Extensibility = MUTABLE (ID-based matching).
Sourcepub const IS_AUTOID_HASH: u16
pub const IS_AUTOID_HASH: u16
Member IDs are hashed from names (@autoid(HASH)).
Trait Implementations§
Source§impl Clone for StructTypeFlag
impl Clone for StructTypeFlag
Source§fn clone(&self) -> StructTypeFlag
fn clone(&self) -> StructTypeFlag
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 StructTypeFlag
Source§impl Debug for StructTypeFlag
impl Debug for StructTypeFlag
Source§impl Default for StructTypeFlag
impl Default for StructTypeFlag
Source§fn default() -> StructTypeFlag
fn default() -> StructTypeFlag
Returns the “default value” for a type. Read more
impl Eq for StructTypeFlag
Source§impl PartialEq for StructTypeFlag
impl PartialEq for StructTypeFlag
Source§fn eq(&self, other: &StructTypeFlag) -> bool
fn eq(&self, other: &StructTypeFlag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StructTypeFlag
Auto Trait Implementations§
impl Freeze for StructTypeFlag
impl RefUnwindSafe for StructTypeFlag
impl Send for StructTypeFlag
impl Sync for StructTypeFlag
impl Unpin for StructTypeFlag
impl UnsafeUnpin for StructTypeFlag
impl UnwindSafe for StructTypeFlag
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