#[repr(transparent)]pub struct PurgeableState(pub UInteger);Expand description
Purgeable state of a resource.
C++ equivalent: MTL::PurgeableState
Tuple Fields§
§0: UIntegerImplementations§
Source§impl PurgeableState
impl PurgeableState
pub const KEEP_CURRENT: Self
pub const NON_VOLATILE: Self
pub const VOLATILE: Self
pub const EMPTY: Self
Trait Implementations§
Source§impl Clone for PurgeableState
impl Clone for PurgeableState
Source§fn clone(&self) -> PurgeableState
fn clone(&self) -> PurgeableState
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 PurgeableState
impl Debug for PurgeableState
Source§impl Default for PurgeableState
impl Default for PurgeableState
Source§fn default() -> PurgeableState
fn default() -> PurgeableState
Returns the “default value” for a type. Read more
Source§impl Hash for PurgeableState
impl Hash for PurgeableState
Source§impl PartialEq for PurgeableState
impl PartialEq for PurgeableState
impl Copy for PurgeableState
impl Eq for PurgeableState
impl StructuralPartialEq for PurgeableState
Auto Trait Implementations§
impl Freeze for PurgeableState
impl RefUnwindSafe for PurgeableState
impl Send for PurgeableState
impl Sync for PurgeableState
impl Unpin for PurgeableState
impl UnwindSafe for PurgeableState
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