Struct ccp_randomx::cache::CacheHandle
source · pub struct CacheHandle { /* private fields */ }Expand description
Contains a Cache handle, can’t be created from scratch, only obtained from already existing Cache.
Implementations§
source§impl CacheHandle
impl CacheHandle
pub fn raw(&self) -> *mut randomx_cache
Trait Implementations§
source§impl CacheRawAPI for CacheHandle
impl CacheRawAPI for CacheHandle
fn raw(&self) -> *mut randomx_cache
source§impl Clone for CacheHandle
impl Clone for CacheHandle
source§fn clone(&self) -> CacheHandle
fn clone(&self) -> CacheHandle
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for CacheHandle
impl Send for CacheHandle
impl Sync for CacheHandle
impl Unpin for CacheHandle
impl UnwindSafe for CacheHandle
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