pub struct StructMemberFlag(pub u16);Expand description
Flags fuer einen Struct-Member (StructMemberFlag §7.3.4.5).
Tuple Fields§
§0: u16Implementations§
Source§impl StructMemberFlag
impl StructMemberFlag
Sourcepub const TRY_CONSTRUCT1: u16
pub const TRY_CONSTRUCT1: u16
Try-Construct-Bit 1 (§7.2.4.4.1).
Sourcepub const TRY_CONSTRUCT2: u16
pub const TRY_CONSTRUCT2: u16
Try-Construct-Bit 2.
Sourcepub const IS_EXTERNAL: u16
pub const IS_EXTERNAL: u16
@external — indirect storage.
Sourcepub const IS_OPTIONAL: u16
pub const IS_OPTIONAL: u16
@optional.
Sourcepub const IS_MUST_UNDERSTAND: u16
pub const IS_MUST_UNDERSTAND: u16
@must_understand.
Sourcepub const IS_DEFAULT: u16
pub const IS_DEFAULT: u16
@default — hat Defaultwert (Unions).
Trait Implementations§
Source§impl Clone for StructMemberFlag
impl Clone for StructMemberFlag
Source§fn clone(&self) -> StructMemberFlag
fn clone(&self) -> StructMemberFlag
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 StructMemberFlag
impl Debug for StructMemberFlag
Source§impl Default for StructMemberFlag
impl Default for StructMemberFlag
Source§fn default() -> StructMemberFlag
fn default() -> StructMemberFlag
Returns the “default value” for a type. Read more
Source§impl PartialEq for StructMemberFlag
impl PartialEq for StructMemberFlag
Source§fn eq(&self, other: &StructMemberFlag) -> bool
fn eq(&self, other: &StructMemberFlag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StructMemberFlag
impl Eq for StructMemberFlag
impl StructuralPartialEq for StructMemberFlag
Auto Trait Implementations§
impl Freeze for StructMemberFlag
impl RefUnwindSafe for StructMemberFlag
impl Send for StructMemberFlag
impl Sync for StructMemberFlag
impl Unpin for StructMemberFlag
impl UnsafeUnpin for StructMemberFlag
impl UnwindSafe for StructMemberFlag
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