pub struct Text {
pub needs_backspace: bool,
pub char1: Option<char>,
pub char2: Option<char>,
pub channel: Channel,
}Expand description
Text information
Fields§
§needs_backspace: boolWhether the character needs the remove the previous character.
char1: Option<char>Optional character 1
char2: Option<char>Optional character 2
channel: ChannelThe last channel received
Trait Implementations§
impl Copy for Text
impl Eq for Text
impl StructuralPartialEq for Text
Auto Trait Implementations§
impl Freeze for Text
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnwindSafe for Text
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