pub enum SwitchState {
Left,
Right,
None,
}Expand description
State of a GUI switch.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SwitchState
impl Clone for SwitchState
Source§fn clone(&self) -> SwitchState
fn clone(&self) -> SwitchState
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 moreimpl Copy for SwitchState
Source§impl Debug for SwitchState
impl Debug for SwitchState
Source§impl Default for SwitchState
impl Default for SwitchState
impl Eq for SwitchState
Source§impl From<SwitchState> for LuaAny
impl From<SwitchState> for LuaAny
Source§fn from(_: SwitchState) -> Self
fn from(_: SwitchState) -> Self
Converts to this type from the input type.
Source§impl From<SwitchState> for &'static str
impl From<SwitchState> for &'static str
Source§fn from(value: SwitchState) -> Self
fn from(value: SwitchState) -> Self
Converts to this type from the input type.
Source§impl Hash for SwitchState
impl Hash for SwitchState
Source§impl PartialEq for SwitchState
impl PartialEq for SwitchState
Source§impl PartialEq<&str> for SwitchState
impl PartialEq<&str> for SwitchState
Source§impl PartialEq<SwitchState> for &str
impl PartialEq<SwitchState> for &str
impl StructuralPartialEq for SwitchState
Auto Trait Implementations§
impl Freeze for SwitchState
impl RefUnwindSafe for SwitchState
impl Send for SwitchState
impl Sync for SwitchState
impl Unpin for SwitchState
impl UnsafeUnpin for SwitchState
impl UnwindSafe for SwitchState
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