#[non_exhaustive]pub enum StateResidencyMechanism {
Device,
Paged,
}Expand description
Mutable-state residency mechanism implemented by a backend.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for StateResidencyMechanism
impl Clone for StateResidencyMechanism
Source§fn clone(&self) -> StateResidencyMechanism
fn clone(&self) -> StateResidencyMechanism
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 StateResidencyMechanism
Source§impl Debug for StateResidencyMechanism
impl Debug for StateResidencyMechanism
impl Eq for StateResidencyMechanism
Source§impl PartialEq for StateResidencyMechanism
impl PartialEq for StateResidencyMechanism
impl StructuralPartialEq for StateResidencyMechanism
Auto Trait Implementations§
impl Freeze for StateResidencyMechanism
impl RefUnwindSafe for StateResidencyMechanism
impl Send for StateResidencyMechanism
impl Sync for StateResidencyMechanism
impl Unpin for StateResidencyMechanism
impl UnsafeUnpin for StateResidencyMechanism
impl UnwindSafe for StateResidencyMechanism
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