#[repr(u8)]pub enum CachesWayNum {
One = 0,
Two = 1,
Three = 2,
Four = 3,
}Variants§
Implementations§
Source§impl CachesWayNum
impl CachesWayNum
Trait Implementations§
Source§impl Clone for CachesWayNum
impl Clone for CachesWayNum
Source§fn clone(&self) -> CachesWayNum
fn clone(&self) -> CachesWayNum
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 CachesWayNum
impl Debug for CachesWayNum
Source§impl From<CachesWayNum> for u8
impl From<CachesWayNum> for u8
Source§fn from(val: CachesWayNum) -> u8
fn from(val: CachesWayNum) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CachesWayNum
impl From<u8> for CachesWayNum
Source§fn from(val: u8) -> CachesWayNum
fn from(val: u8) -> CachesWayNum
Converts to this type from the input type.
Source§impl Ord for CachesWayNum
impl Ord for CachesWayNum
Source§fn cmp(&self, other: &CachesWayNum) -> Ordering
fn cmp(&self, other: &CachesWayNum) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CachesWayNum
impl PartialEq for CachesWayNum
Source§impl PartialOrd for CachesWayNum
impl PartialOrd for CachesWayNum
impl Copy for CachesWayNum
impl Eq for CachesWayNum
impl StructuralPartialEq for CachesWayNum
Auto Trait Implementations§
impl Freeze for CachesWayNum
impl RefUnwindSafe for CachesWayNum
impl Send for CachesWayNum
impl Sync for CachesWayNum
impl Unpin for CachesWayNum
impl UnwindSafe for CachesWayNum
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