#[repr(transparent)]pub struct Invalidate(pub u32);
Expand description
Invalidate the cache.
Tuple Fields§
§0: u32
Implementations§
Source§impl Invalidate
impl Invalidate
Sourcepub const fn invalidate(&self) -> bool
pub const fn invalidate(&self) -> bool
Invalidate the cache
Sourcepub fn set_invalidate(&mut self, val: bool)
pub fn set_invalidate(&mut self, val: bool)
Invalidate the cache
Trait Implementations§
Source§impl Clone for Invalidate
impl Clone for Invalidate
Source§fn clone(&self) -> Invalidate
fn clone(&self) -> Invalidate
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 moreSource§impl Default for Invalidate
impl Default for Invalidate
Source§fn default() -> Invalidate
fn default() -> Invalidate
Returns the “default value” for a type. Read more
Source§impl PartialEq for Invalidate
impl PartialEq for Invalidate
impl Copy for Invalidate
impl Eq for Invalidate
impl StructuralPartialEq for Invalidate
Auto Trait Implementations§
impl Freeze for Invalidate
impl RefUnwindSafe for Invalidate
impl Send for Invalidate
impl Sync for Invalidate
impl Unpin for Invalidate
impl UnwindSafe for Invalidate
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)