pub enum ViewerCommand {
Refresh {
seq: u64,
content: ViewerContent,
},
}Expand description
Commands that can be sent to a running viewer.
Variants§
Refresh
Refresh the displayed content.
Trait Implementations§
Source§impl Clone for ViewerCommand
impl Clone for ViewerCommand
Source§fn clone(&self) -> ViewerCommand
fn clone(&self) -> ViewerCommand
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 ViewerCommand
impl Debug for ViewerCommand
Source§impl<'de> Deserialize<'de> for ViewerCommand
impl<'de> Deserialize<'de> for ViewerCommand
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 ViewerCommand
impl RefUnwindSafe for ViewerCommand
impl Send for ViewerCommand
impl Sync for ViewerCommand
impl Unpin for ViewerCommand
impl UnsafeUnpin for ViewerCommand
impl UnwindSafe for ViewerCommand
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