pub enum SiblingMessage {
Frame {
cells: Vec<Vec<Cell>>,
},
Bye,
}Expand description
Sibling → host messages.
Variants§
Frame
A full screen of cells. cells.len() rows × cells[i].len()
cols — must match the most recent Hello/Resize geometry.
Rows shorter than the advertised cols are right-padded
with default cells by the host.
Bye
Sibling is voluntarily exiting (clean shutdown).
Trait Implementations§
Source§impl Clone for SiblingMessage
impl Clone for SiblingMessage
Source§fn clone(&self) -> SiblingMessage
fn clone(&self) -> SiblingMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SiblingMessage
impl Debug for SiblingMessage
Source§impl<'de> Deserialize<'de> for SiblingMessage
impl<'de> Deserialize<'de> for SiblingMessage
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
Auto Trait Implementations§
impl Freeze for SiblingMessage
impl RefUnwindSafe for SiblingMessage
impl Send for SiblingMessage
impl Sync for SiblingMessage
impl Unpin for SiblingMessage
impl UnsafeUnpin for SiblingMessage
impl UnwindSafe for SiblingMessage
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