pub struct EnumTypeFlag(pub u16);Expand description
Flags for an enum type.
Tuple Fields§
§0: u16Implementations§
Source§impl EnumTypeFlag
impl EnumTypeFlag
Sourcepub const IGNORE_LITERAL_NAMES: u16
pub const IGNORE_LITERAL_NAMES: u16
@ignore_literal_names (XTypes 1.3 §7.2.4.4.7). When set,
compatibility comparisons between enum literals may ignore the
name hash and check only the ordinal value.
Trait Implementations§
Source§impl Clone for EnumTypeFlag
impl Clone for EnumTypeFlag
Source§fn clone(&self) -> EnumTypeFlag
fn clone(&self) -> EnumTypeFlag
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 EnumTypeFlag
Source§impl Debug for EnumTypeFlag
impl Debug for EnumTypeFlag
Source§impl Default for EnumTypeFlag
impl Default for EnumTypeFlag
Source§fn default() -> EnumTypeFlag
fn default() -> EnumTypeFlag
Returns the “default value” for a type. Read more
impl Eq for EnumTypeFlag
Source§impl PartialEq for EnumTypeFlag
impl PartialEq for EnumTypeFlag
Source§fn eq(&self, other: &EnumTypeFlag) -> bool
fn eq(&self, other: &EnumTypeFlag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EnumTypeFlag
Auto Trait Implementations§
impl Freeze for EnumTypeFlag
impl RefUnwindSafe for EnumTypeFlag
impl Send for EnumTypeFlag
impl Sync for EnumTypeFlag
impl Unpin for EnumTypeFlag
impl UnsafeUnpin for EnumTypeFlag
impl UnwindSafe for EnumTypeFlag
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