pub struct ScreenLine {
pub tone: Tone,
pub text: String,
}Expand description
One finished screen line: a tone and the text the host composed.
Fields§
§tone: Tone§text: StringImplementations§
Trait Implementations§
Source§impl Clone for ScreenLine
impl Clone for ScreenLine
Source§impl Debug for ScreenLine
impl Debug for ScreenLine
Source§impl<'de> Deserialize<'de> for ScreenLine
impl<'de> Deserialize<'de> for ScreenLine
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ScreenLine
Source§impl PartialEq for ScreenLine
impl PartialEq for ScreenLine
Source§impl Serialize for ScreenLine
impl Serialize for ScreenLine
impl StructuralPartialEq for ScreenLine
Auto Trait Implementations§
impl Forget for ScreenLine
impl Freeze for ScreenLine
impl Move for ScreenLine
impl RefUnwindSafe for ScreenLine
impl Send for ScreenLinewhere
RawVecInner: Send,
impl Sync for ScreenLinewhere
RawVecInner: Sync,
impl Unpin for ScreenLine
impl UnsafeUnpin for ScreenLine
impl UnwindSafe for ScreenLinewhere
RawVecInner: UnwindSafe,
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