Enum hapi_rs::geometry::ChoiceListType
source · #[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 copy 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
source§fn eq(&self, other: &ChoiceListType) -> bool
fn eq(&self, other: &ChoiceListType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ChoiceListType
impl Eq for ChoiceListType
impl StructuralEq for ChoiceListType
impl StructuralPartialEq for ChoiceListType
Auto Trait Implementations§
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