pub enum RetentionClass {
Frame,
WhileVisible,
Scene,
Session,
Persistent,
}Variants§
Trait Implementations§
Source§impl Clone for RetentionClass
impl Clone for RetentionClass
Source§fn clone(&self) -> RetentionClass
fn clone(&self) -> RetentionClass
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 RetentionClass
Source§impl Debug for RetentionClass
impl Debug for RetentionClass
Source§impl Default for RetentionClass
impl Default for RetentionClass
Source§fn default() -> RetentionClass
fn default() -> RetentionClass
Returns the “default value” for a type. Read more
impl Eq for RetentionClass
Source§impl Hash for RetentionClass
impl Hash for RetentionClass
Source§impl Ord for RetentionClass
impl Ord for RetentionClass
Source§fn cmp(&self, other: &RetentionClass) -> Ordering
fn cmp(&self, other: &RetentionClass) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RetentionClass
impl PartialEq for RetentionClass
Source§impl PartialOrd for RetentionClass
impl PartialOrd for RetentionClass
impl StructuralPartialEq for RetentionClass
Auto Trait Implementations§
impl Freeze for RetentionClass
impl RefUnwindSafe for RetentionClass
impl Send for RetentionClass
impl Sync for RetentionClass
impl Unpin for RetentionClass
impl UnsafeUnpin for RetentionClass
impl UnwindSafe for RetentionClass
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