pub enum TextUpdate {
Owner(BlockId),
Text(String),
Pos(GridPoint),
Role(Role),
Width(Option<NonZeroU32>),
}Variants§
Trait Implementations§
Source§impl Clone for TextUpdate
impl Clone for TextUpdate
Source§fn clone(&self) -> TextUpdate
fn clone(&self) -> TextUpdate
Returns a duplicate 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 TextUpdate
impl Debug for TextUpdate
Source§impl<'de> Deserialize<'de> for TextUpdate
impl<'de> Deserialize<'de> for TextUpdate
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
Source§impl PartialEq for TextUpdate
impl PartialEq for TextUpdate
Source§impl Serialize for TextUpdate
impl Serialize for TextUpdate
impl StructuralPartialEq for TextUpdate
Auto Trait Implementations§
impl Freeze for TextUpdate
impl RefUnwindSafe for TextUpdate
impl Send for TextUpdate
impl Sync for TextUpdate
impl Unpin for TextUpdate
impl UnsafeUnpin for TextUpdate
impl UnwindSafe for TextUpdate
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