Enum flipper0::ffi::ButtonMenuItemType
source · #[non_exhaustive]
pub enum ButtonMenuItemType {
ButtonMenuItemTypeCommon,
ButtonMenuItemTypeControl,
}
Expand description
Type of button. Difference in drawing buttons.
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.
ButtonMenuItemTypeCommon
ButtonMenuItemTypeControl
Trait Implementations
sourceimpl Clone for ButtonMenuItemType
impl Clone for ButtonMenuItemType
sourcefn clone(&self) -> ButtonMenuItemType
fn clone(&self) -> ButtonMenuItemType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ButtonMenuItemType
impl Debug for ButtonMenuItemType
sourceimpl Hash for ButtonMenuItemType
impl Hash for ButtonMenuItemType
sourceimpl PartialEq<ButtonMenuItemType> for ButtonMenuItemType
impl PartialEq<ButtonMenuItemType> for ButtonMenuItemType
sourcefn eq(&self, other: &ButtonMenuItemType) -> bool
fn eq(&self, other: &ButtonMenuItemType) -> bool
impl Eq for ButtonMenuItemType
impl StructuralEq for ButtonMenuItemType
impl StructuralPartialEq for ButtonMenuItemType
Auto Trait Implementations
impl RefUnwindSafe for ButtonMenuItemType
impl Send for ButtonMenuItemType
impl Sync for ButtonMenuItemType
impl Unpin for ButtonMenuItemType
impl UnwindSafe for ButtonMenuItemType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more