pub struct FieldFlags(/* private fields */);Expand description
The reflection flags of one field (C++ refl::AttachFieldFlag and friends), combined with |.
Implementations§
Source§impl FieldFlags
impl FieldFlags
Sourcepub const NONE: Self
pub const NONE: Self
A read-only field that takes part in structural equality and hashing (def_ro).
Sourcepub const SEQ_HASH_IGNORE: Self
pub const SEQ_HASH_IGNORE: Self
Skipped by structural equality and hashing (SEqHashIgnore).
Sourcepub const SEQ_HASH_DEF_PATTERN: Self
pub const SEQ_HASH_DEF_PATTERN: Self
Entered as a pattern definition region (SEqHashDefPattern).
Sourcepub const SEQ_HASH_DEF_SIMPLE: Self
pub const SEQ_HASH_DEF_SIMPLE: Self
Entered as a simple definition region (SEqHashDefSimple).
Sourcepub const COMPARE_OFF: Self
pub const COMPARE_OFF: Self
Left out of __eq__.
Trait Implementations§
Source§impl BitOr for FieldFlags
impl BitOr for FieldFlags
Source§impl Clone for FieldFlags
impl Clone for FieldFlags
Source§fn clone(&self) -> FieldFlags
fn clone(&self) -> FieldFlags
Returns a copy of the value. Read more
1.0.0 · 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 FieldFlags
impl Debug for FieldFlags
Source§impl PartialEq for FieldFlags
impl PartialEq for FieldFlags
impl Copy for FieldFlags
impl Eq for FieldFlags
impl StructuralPartialEq for FieldFlags
Auto Trait Implementations§
impl Freeze for FieldFlags
impl RefUnwindSafe for FieldFlags
impl Send for FieldFlags
impl Sync for FieldFlags
impl Unpin for FieldFlags
impl UnwindSafe for FieldFlags
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