Enum fltk::menu::MenuButtonType
source · #[repr(i32)]pub enum MenuButtonType {
Popup1,
Popup2,
Popup12,
Popup3,
Popup13,
Popup23,
Popup123,
}
Expand description
Defines the menu button types, which can be changed dynamically using the set_type()
.
Variants§
Popup1
pops up with the mouse 1st button.
Popup2
pops up with the mouse 2nd button.
Popup12
pops up with the mouse 1st or 2nd buttons.
Popup3
pops up with the mouse 3rd button.
Popup13
pops up with the mouse 1st or 3rd buttons.
Popup23
pops up with the mouse 2nd or 3rd buttons.
Popup123
pops up with any mouse button.
Trait Implementations§
source§impl Clone for MenuButtonType
impl Clone for MenuButtonType
source§fn clone(&self) -> MenuButtonType
fn clone(&self) -> MenuButtonType
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 MenuButtonType
impl Debug for MenuButtonType
source§impl PartialEq<MenuButtonType> for MenuButtonType
impl PartialEq<MenuButtonType> for MenuButtonType
source§fn eq(&self, other: &MenuButtonType) -> bool
fn eq(&self, other: &MenuButtonType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl WidgetType for MenuButtonType
impl WidgetType for MenuButtonType
impl Copy for MenuButtonType
impl Eq for MenuButtonType
impl StructuralEq for MenuButtonType
impl StructuralPartialEq for MenuButtonType
Auto Trait Implementations§
impl RefUnwindSafe for MenuButtonType
impl Send for MenuButtonType
impl Sync for MenuButtonType
impl Unpin for MenuButtonType
impl UnwindSafe for MenuButtonType
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