#[repr(C)]pub enum Button {
Left = 0,
Middle = 1,
Right = 2,
Double = 3,
Max = 4,
}
Variants§
Trait Implementations§
Source§impl<'a> From<&'a u32> for &'a Button
impl<'a> From<&'a u32> for &'a Button
Source§fn from(a: &'a nk_buttons) -> &'a Button
fn from(a: &'a nk_buttons) -> &'a Button
Converts to this type from the input type.
Source§impl From<Button> for nk_buttons
impl From<Button> for nk_buttons
Source§fn from(a: Button) -> nk_buttons
fn from(a: Button) -> nk_buttons
Converts to this type from the input type.
Source§impl From<u32> for Button
impl From<u32> for Button
Source§fn from(a: nk_buttons) -> Button
fn from(a: nk_buttons) -> Button
Converts to this type from the input type.
impl Copy for Button
impl Eq for Button
impl StructuralPartialEq for Button
Auto Trait Implementations§
impl Freeze for Button
impl RefUnwindSafe for Button
impl Send for Button
impl Sync for Button
impl Unpin for Button
impl UnwindSafe for Button
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