#[repr(u8)]pub enum State_type {
Released = 0,
Pressed = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for State_type
impl Clone for State_type
Source§fn clone(&self) -> State_type
fn clone(&self) -> State_type
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 State_type
impl Debug for State_type
Source§impl Default for State_type
impl Default for State_type
Source§fn default() -> State_type
fn default() -> State_type
Returns the “default value” for a type. Read more
Source§impl From<State_type> for lv_indev_state_t
impl From<State_type> for lv_indev_state_t
Source§fn from(Value: State_type) -> lv_indev_state_t
fn from(Value: State_type) -> lv_indev_state_t
Converts to this type from the input type.
Source§impl From<State_type> for u8
impl From<State_type> for u8
Source§fn from(Value: State_type) -> u8
fn from(Value: State_type) -> u8
Converts to this type from the input type.
Source§impl PartialEq for State_type
impl PartialEq for State_type
Source§impl TryFrom<u8> for State_type
impl TryFrom<u8> for State_type
impl Copy for State_type
impl Eq for State_type
impl StructuralPartialEq for State_type
Auto Trait Implementations§
impl Freeze for State_type
impl RefUnwindSafe for State_type
impl Send for State_type
impl Sync for State_type
impl Unpin for State_type
impl UnwindSafe for State_type
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