pub struct GridContents {
pub size: CellVec<u16>,
/* private fields */
}Expand description
The contents of a grid
Fields§
§size: CellVec<u16>Grid dimensions
Implementations§
Trait Implementations§
Source§impl Clone for GridContents
impl Clone for GridContents
Source§fn clone(&self) -> GridContents
fn clone(&self) -> GridContents
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 GridContents
impl Debug for GridContents
Source§impl Default for GridContents
impl Default for GridContents
Source§fn default() -> GridContents
fn default() -> GridContents
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GridContents
impl RefUnwindSafe for GridContents
impl Send for GridContents
impl Sync for GridContents
impl Unpin for GridContents
impl UnwindSafe for GridContents
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