pub struct InputSourceSwitchState {
pub previous: String,
pub current: String,
pub switched: bool,
}Fields§
§previous: String§current: String§switched: boolTrait Implementations§
Source§impl Clone for InputSourceSwitchState
impl Clone for InputSourceSwitchState
Source§fn clone(&self) -> InputSourceSwitchState
fn clone(&self) -> InputSourceSwitchState
Returns a duplicate 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 InputSourceSwitchState
impl Debug for InputSourceSwitchState
Source§impl PartialEq for InputSourceSwitchState
impl PartialEq for InputSourceSwitchState
impl Eq for InputSourceSwitchState
impl StructuralPartialEq for InputSourceSwitchState
Auto Trait Implementations§
impl Freeze for InputSourceSwitchState
impl RefUnwindSafe for InputSourceSwitchState
impl Send for InputSourceSwitchState
impl Sync for InputSourceSwitchState
impl Unpin for InputSourceSwitchState
impl UnsafeUnpin for InputSourceSwitchState
impl UnwindSafe for InputSourceSwitchState
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