pub struct ResidentKey {
pub layer: u32,
pub block: u32,
}Fields§
§layer: u32§block: u32Trait Implementations§
Source§impl Clone for ResidentKey
impl Clone for ResidentKey
Source§fn clone(&self) -> ResidentKey
fn clone(&self) -> ResidentKey
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 ResidentKey
impl Debug for ResidentKey
Source§impl Hash for ResidentKey
impl Hash for ResidentKey
Source§impl PartialEq for ResidentKey
impl PartialEq for ResidentKey
impl Copy for ResidentKey
impl Eq for ResidentKey
impl StructuralPartialEq for ResidentKey
Auto Trait Implementations§
impl Freeze for ResidentKey
impl RefUnwindSafe for ResidentKey
impl Send for ResidentKey
impl Sync for ResidentKey
impl Unpin for ResidentKey
impl UnwindSafe for ResidentKey
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.