pub struct SwitchView {
pub keyboard: String,
pub controller: String,
pub shown: Side,
pub focused: bool,
}Expand description
The switch between the keyboard and the controller.
Fields§
§keyboard: StringThe name of the keyboard side, with the layout it edits.
controller: StringThe name of the controller side.
shown: SideThe side shown.
focused: boolWhether the cursor is on the switch.
Trait Implementations§
Source§impl Clone for SwitchView
impl Clone for SwitchView
Source§fn clone(&self) -> SwitchView
fn clone(&self) -> SwitchView
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 SwitchView
impl Debug for SwitchView
impl Eq for SwitchView
Source§impl PartialEq for SwitchView
impl PartialEq for SwitchView
impl StructuralPartialEq for SwitchView
Auto Trait Implementations§
impl Freeze for SwitchView
impl RefUnwindSafe for SwitchView
impl Send for SwitchView
impl Sync for SwitchView
impl Unpin for SwitchView
impl UnsafeUnpin for SwitchView
impl UnwindSafe for SwitchView
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