pub enum AccessFrequency {
NoInfo,
Typical,
InfrequentBoth,
InfrequentWrites,
InfrequentReads,
FrequentBoth,
OneTime,
Speculative,
OverwriteSoon,
}Variants§
NoInfo
Typical
InfrequentBoth
InfrequentWrites
InfrequentReads
FrequentBoth
OneTime
Speculative
OverwriteSoon
Trait Implementations§
Source§impl CheckDiscriminantInRange<BitCount<FrequentBoth>> for AccessFrequency
impl CheckDiscriminantInRange<BitCount<FrequentBoth>> for AccessFrequency
Source§impl CheckDiscriminantInRange<BitCount<InfrequentBoth>> for AccessFrequency
impl CheckDiscriminantInRange<BitCount<InfrequentBoth>> for AccessFrequency
Source§impl CheckDiscriminantInRange<BitCount<InfrequentReads>> for AccessFrequency
impl CheckDiscriminantInRange<BitCount<InfrequentReads>> for AccessFrequency
Source§impl CheckDiscriminantInRange<BitCount<InfrequentWrites>> for AccessFrequency
impl CheckDiscriminantInRange<BitCount<InfrequentWrites>> for AccessFrequency
Source§impl CheckDiscriminantInRange<BitCount<NoInfo>> for AccessFrequency
impl CheckDiscriminantInRange<BitCount<NoInfo>> for AccessFrequency
Source§impl CheckDiscriminantInRange<BitCount<OneTime>> for AccessFrequency
impl CheckDiscriminantInRange<BitCount<OneTime>> for AccessFrequency
Source§impl CheckDiscriminantInRange<BitCount<OverwriteSoon>> for AccessFrequency
impl CheckDiscriminantInRange<BitCount<OverwriteSoon>> for AccessFrequency
Source§impl CheckDiscriminantInRange<BitCount<Speculative>> for AccessFrequency
impl CheckDiscriminantInRange<BitCount<Speculative>> for AccessFrequency
Source§impl CheckDiscriminantInRange<BitCount<Typical>> for AccessFrequency
impl CheckDiscriminantInRange<BitCount<Typical>> for AccessFrequency
Source§impl Clone for AccessFrequency
impl Clone for AccessFrequency
Source§fn clone(&self) -> AccessFrequency
fn clone(&self) -> AccessFrequency
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 AccessFrequency
impl Debug for AccessFrequency
Source§impl Default for AccessFrequency
impl Default for AccessFrequency
Source§fn default() -> AccessFrequency
fn default() -> AccessFrequency
Returns the “default value” for a type. Read more
Source§impl Specifier for AccessFrequency
impl Specifier for AccessFrequency
Source§type Bytes = <BitCount<4> as SpecifierBytes>::Bytes
type Bytes = <BitCount<4> as SpecifierBytes>::Bytes
The storage type. This is typically the smallest integer primitive that
can store all possible values of the
InOut type.Source§type InOut = AccessFrequency
type InOut = AccessFrequency
The interface type. This type is used by getters and setters. For
integers, this is the same as the
Bytes type; for other
types with more logical representations, like an enum or struct, this is
the enum or struct.Source§fn into_bytes(
input: <Self as Specifier>::InOut,
) -> Result<<Self as Specifier>::Bytes, OutOfBounds>
fn into_bytes( input: <Self as Specifier>::InOut, ) -> Result<<Self as Specifier>::Bytes, OutOfBounds>
Converts an interface type into its storage type. Read more
Source§fn from_bytes(
bytes: <Self as Specifier>::Bytes,
) -> Result<<Self as Specifier>::InOut, InvalidBitPattern<<Self as Specifier>::Bytes>>
fn from_bytes( bytes: <Self as Specifier>::Bytes, ) -> Result<<Self as Specifier>::InOut, InvalidBitPattern<<Self as Specifier>::Bytes>>
Converts a storage type into its interface type. Read more
impl Copy for AccessFrequency
Auto Trait Implementations§
impl Freeze for AccessFrequency
impl RefUnwindSafe for AccessFrequency
impl Send for AccessFrequency
impl Sync for AccessFrequency
impl Unpin for AccessFrequency
impl UnwindSafe for AccessFrequency
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