#[non_exhaustive]#[repr(i32)]pub enum ChoiceListType {
None = 0,
Normal = 1,
Mini = 2,
Replace = 3,
Toggle = 4,
}
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 ChoiceListType
impl Clone for ChoiceListType
Source§fn clone(&self) -> ChoiceListType
fn clone(&self) -> ChoiceListType
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 ChoiceListType
impl Debug for ChoiceListType
Source§impl Hash for ChoiceListType
impl Hash for ChoiceListType
Source§impl PartialEq for ChoiceListType
impl PartialEq for ChoiceListType
impl Copy for ChoiceListType
impl Eq for ChoiceListType
impl StructuralPartialEq for ChoiceListType
Auto Trait Implementations§
impl Freeze for ChoiceListType
impl RefUnwindSafe for ChoiceListType
impl Send for ChoiceListType
impl Sync for ChoiceListType
impl Unpin for ChoiceListType
impl UnwindSafe for ChoiceListType
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