pub struct MetaEntryFlags(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl MetaEntryFlags
impl MetaEntryFlags
Source§impl MetaEntryFlags
impl MetaEntryFlags
pub const FRESH: MetaEntryFlags
pub const COLD: MetaEntryFlags
pub const WARM: MetaEntryFlags
Trait Implementations§
Source§impl<T> BitRange<T> for MetaEntryFlagswhere
u32: BitRange<T>,
impl<T> BitRange<T> for MetaEntryFlagswhere
u32: BitRange<T>,
Source§impl<T> BitRangeMut<T> for MetaEntryFlagswhere
u32: BitRangeMut<T>,
impl<T> BitRangeMut<T> for MetaEntryFlagswhere
u32: BitRangeMut<T>,
Source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
Source§impl Clone for MetaEntryFlags
impl Clone for MetaEntryFlags
Source§fn clone(&self) -> MetaEntryFlags
fn clone(&self) -> MetaEntryFlags
Returns a duplicate 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 MetaEntryFlags
impl Debug for MetaEntryFlags
Source§impl Default for MetaEntryFlags
impl Default for MetaEntryFlags
Source§fn default() -> MetaEntryFlags
fn default() -> MetaEntryFlags
Returns the “default value” for a type. Read more
Source§impl Display for MetaEntryFlags
impl Display for MetaEntryFlags
impl Copy for MetaEntryFlags
Auto Trait Implementations§
impl Freeze for MetaEntryFlags
impl RefUnwindSafe for MetaEntryFlags
impl Send for MetaEntryFlags
impl Sync for MetaEntryFlags
impl Unpin for MetaEntryFlags
impl UnsafeUnpin for MetaEntryFlags
impl UnwindSafe for MetaEntryFlags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more