Struct tui_input::StateChanged
source · pub struct StateChanged {
pub value: bool,
pub cursor: bool,
}Fields§
§value: bool§cursor: boolTrait Implementations§
source§impl Clone for StateChanged
impl Clone for StateChanged
source§fn clone(&self) -> StateChanged
fn clone(&self) -> StateChanged
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 StateChanged
impl Debug for StateChanged
source§impl Hash for StateChanged
impl Hash for StateChanged
source§impl PartialEq<StateChanged> for StateChanged
impl PartialEq<StateChanged> for StateChanged
source§fn eq(&self, other: &StateChanged) -> bool
fn eq(&self, other: &StateChanged) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<StateChanged> for StateChanged
impl PartialOrd<StateChanged> for StateChanged
source§fn partial_cmp(&self, other: &StateChanged) -> Option<Ordering>
fn partial_cmp(&self, other: &StateChanged) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more