Struct papergrid::grid::compact::CompactGrid
source · pub struct CompactGrid<R, D, G, C> { /* private fields */ }
Expand description
Grid provides a set of methods for building a text-based table.
Implementations§
source§impl<R, D, G> CompactGrid<R, D, G, NoColors>
impl<R, D, G> CompactGrid<R, D, G, NoColors>
source§impl<R, D, G, C> CompactGrid<R, D, G, C>
impl<R, D, G, C> CompactGrid<R, D, G, C>
sourcepub fn with_colors<Colors>(self, colors: Colors) -> CompactGrid<R, D, G, Colors>
pub fn with_colors<Colors>(self, colors: Colors) -> CompactGrid<R, D, G, Colors>
Sets colors map.
Trait Implementations§
source§impl<R: Clone, D: Clone, G: Clone, C: Clone> Clone for CompactGrid<R, D, G, C>
impl<R: Clone, D: Clone, G: Clone, C: Clone> Clone for CompactGrid<R, D, G, C>
source§fn clone(&self) -> CompactGrid<R, D, G, C>
fn clone(&self) -> CompactGrid<R, D, G, C>
Returns a copy 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<R, D, G, C> Display for CompactGrid<R, D, G, C>
impl<R, D, G, C> Display for CompactGrid<R, D, G, C>
Auto Trait Implementations§
impl<R, D, G, C> Freeze for CompactGrid<R, D, G, C>
impl<R, D, G, C> RefUnwindSafe for CompactGrid<R, D, G, C>
impl<R, D, G, C> Send for CompactGrid<R, D, G, C>
impl<R, D, G, C> Sync for CompactGrid<R, D, G, C>
impl<R, D, G, C> Unpin for CompactGrid<R, D, G, C>
impl<R, D, G, C> UnwindSafe for CompactGrid<R, D, G, C>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)