pub struct CanvasProps {
pub width: u16,
pub height: u16,
pub cells: Vec<CanvasCell>,
}Fields§
§width: u16§height: u16§cells: Vec<CanvasCell>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 · 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 PartialEq for CanvasProps
impl PartialEq for CanvasProps
impl Eq for CanvasProps
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