#[repr(C)]pub struct CacheAddr {
pub value: u32,
}
Fields§
§value: u32
Implementations§
Trait Implementations§
Source§impl FromBytes for CacheAddr
impl FromBytes for CacheAddr
Source§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read moreSource§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read moreSource§impl FromZeroes for CacheAddrwhere
u32: FromZeroes,
impl FromZeroes for CacheAddrwhere
u32: FromZeroes,
impl Copy for CacheAddr
Auto Trait Implementations§
impl Freeze for CacheAddr
impl RefUnwindSafe for CacheAddr
impl Send for CacheAddr
impl Sync for CacheAddr
impl Unpin for CacheAddr
impl UnwindSafe for CacheAddr
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