Struct CacheEnable
#[repr(transparent)]pub struct CacheEnable(pub u32);Expand description
Enable cache.
Tuple Fields§
§0: u32Implementations§
§impl CacheEnable
impl CacheEnable
pub const fn set_enable(&mut self, val: bool)
pub const fn set_enable(&mut self, val: bool)
Enable cache.
Trait Implementations§
§impl Clone for CacheEnable
impl Clone for CacheEnable
§fn clone(&self) -> CacheEnable
fn clone(&self) -> CacheEnable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CacheEnable
§impl Debug for CacheEnable
impl Debug for CacheEnable
§impl Default for CacheEnable
impl Default for CacheEnable
§fn default() -> CacheEnable
fn default() -> CacheEnable
Returns the “default value” for a type. Read more
impl Eq for CacheEnable
§impl PartialEq for CacheEnable
impl PartialEq for CacheEnable
impl StructuralPartialEq for CacheEnable
Auto Trait Implementations§
impl Freeze for CacheEnable
impl RefUnwindSafe for CacheEnable
impl Send for CacheEnable
impl Sync for CacheEnable
impl Unpin for CacheEnable
impl UnsafeUnpin for CacheEnable
impl UnwindSafe for CacheEnable
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