pub enum CellWrite {
Paint {
pos: Pos,
ch: char,
fg: RgbColor,
},
Clear {
pos: Pos,
},
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CellWrite
impl<'de> Deserialize<'de> for CellWrite
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 Copy for CellWrite
impl Eq for CellWrite
impl StructuralPartialEq for CellWrite
Auto Trait Implementations§
impl Freeze for CellWrite
impl RefUnwindSafe for CellWrite
impl Send for CellWrite
impl Sync for CellWrite
impl Unpin for CellWrite
impl UnsafeUnpin for CellWrite
impl UnwindSafe for CellWrite
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