Enum fltk::button::ButtonType
source · #[repr(i32)]pub enum ButtonType {
Normal = 0,
Toggle = 1,
Radio = 102,
Hidden = 3,
}
Expand description
Defines the button type, which can be changed dynamically using the set_type()
.
Variants§
Trait Implementations§
source§impl Clone for ButtonType
impl Clone for ButtonType
source§fn clone(&self) -> ButtonType
fn clone(&self) -> ButtonType
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 ButtonType
impl Debug for ButtonType
source§impl PartialEq for ButtonType
impl PartialEq for ButtonType
source§fn eq(&self, other: &ButtonType) -> bool
fn eq(&self, other: &ButtonType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl WidgetType for ButtonType
impl WidgetType for ButtonType
impl Copy for ButtonType
impl Eq for ButtonType
impl StructuralPartialEq for ButtonType
Auto Trait Implementations§
impl Freeze for ButtonType
impl RefUnwindSafe for ButtonType
impl Send for ButtonType
impl Sync for ButtonType
impl Unpin for ButtonType
impl UnwindSafe for ButtonType
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