pub struct CanvasFrame {
pub content_type: String,
pub content: String,
pub timestamp: u64,
}Expand description
A single frame of canvas content.
Fields§
§content_type: String§content: String§timestamp: u64Trait Implementations§
Source§impl Clone for CanvasFrame
impl Clone for CanvasFrame
Source§fn clone(&self) -> CanvasFrame
fn clone(&self) -> CanvasFrame
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 CanvasFrame
impl Debug for CanvasFrame
Auto Trait Implementations§
impl Freeze for CanvasFrame
impl RefUnwindSafe for CanvasFrame
impl Send for CanvasFrame
impl Sync for CanvasFrame
impl Unpin for CanvasFrame
impl UnsafeUnpin for CanvasFrame
impl UnwindSafe for CanvasFrame
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