#[non_exhaustive]pub enum SetClass {
Video,
Audio,
Text,
Other,
}Expand description
What a set carries.
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.
Implementations§
Trait Implementations§
impl Copy for SetClass
impl Eq for SetClass
Source§impl Ord for SetClass
impl Ord for SetClass
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 PartialOrd for SetClass
impl PartialOrd for SetClass
impl StructuralPartialEq for SetClass
Auto Trait Implementations§
impl Freeze for SetClass
impl RefUnwindSafe for SetClass
impl Send for SetClass
impl Sync for SetClass
impl Unpin for SetClass
impl UnsafeUnpin for SetClass
impl UnwindSafe for SetClass
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