pub struct CanvasProps {
pub ops: Vec<DrawOp>,
}Fields§
§ops: Vec<DrawOp>Trait Implementations§
Source§impl Clone for CanvasProps
impl Clone for CanvasProps
Source§fn clone(&self) -> CanvasProps
fn clone(&self) -> CanvasProps
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 CanvasProps
impl Debug for CanvasProps
Source§impl Default for CanvasProps
impl Default for CanvasProps
Source§fn default() -> CanvasProps
fn default() -> CanvasProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for CanvasProps
impl PartialEq for CanvasProps
Source§fn eq(&self, other: &CanvasProps) -> bool
fn eq(&self, other: &CanvasProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CanvasProps
Auto Trait Implementations§
impl Freeze for CanvasProps
impl RefUnwindSafe for CanvasProps
impl Send for CanvasProps
impl Sync for CanvasProps
impl Unpin for CanvasProps
impl UnsafeUnpin for CanvasProps
impl UnwindSafe for CanvasProps
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