#[repr(i16)]pub enum FeedbackState {
Off = 0,
On = 1,
}Expand description
Feedback on/off state.
Variants§
Trait Implementations§
Source§impl Clone for FeedbackState
impl Clone for FeedbackState
Source§fn clone(&self) -> FeedbackState
fn clone(&self) -> FeedbackState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FeedbackState
impl Debug for FeedbackState
Source§impl Default for FeedbackState
impl Default for FeedbackState
Source§fn default() -> FeedbackState
fn default() -> FeedbackState
Returns the “default value” for a type. Read more
Source§impl From<i16> for FeedbackState
impl From<i16> for FeedbackState
Source§impl PartialEq for FeedbackState
impl PartialEq for FeedbackState
Source§fn eq(&self, other: &FeedbackState) -> bool
fn eq(&self, other: &FeedbackState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FeedbackState
impl Eq for FeedbackState
impl StructuralPartialEq for FeedbackState
Auto Trait Implementations§
impl Freeze for FeedbackState
impl RefUnwindSafe for FeedbackState
impl Send for FeedbackState
impl Sync for FeedbackState
impl Unpin for FeedbackState
impl UnsafeUnpin for FeedbackState
impl UnwindSafe for FeedbackState
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