Struct text_grid::DefaultGridSchema
source · pub struct DefaultGridSchema<T: ?Sized>(_);Expand description
GridSchema implementation that use CellsSource.
Trait Implementations§
source§impl<T: Clone + ?Sized> Clone for DefaultGridSchema<T>
impl<T: Clone + ?Sized> Clone for DefaultGridSchema<T>
source§fn clone(&self) -> DefaultGridSchema<T>
fn clone(&self) -> DefaultGridSchema<T>
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<T: CellsSource + ?Sized> Default for DefaultGridSchema<T>
impl<T: CellsSource + ?Sized> Default for DefaultGridSchema<T>
source§impl<T: CellsSource + ?Sized> GridSchema for DefaultGridSchema<T>
impl<T: CellsSource + ?Sized> GridSchema for DefaultGridSchema<T>
type Source = T
source§fn fmt(&self, f: &mut CellsFormatter<'_, &Self::Source>)
fn fmt(&self, f: &mut CellsFormatter<'_, &Self::Source>)
Define column information. see
CellsFormatter for details.impl<T: Copy + ?Sized> Copy for DefaultGridSchema<T>
Auto Trait Implementations§
impl<T: ?Sized> RefUnwindSafe for DefaultGridSchema<T>where T: RefUnwindSafe,
impl<T: ?Sized> Send for DefaultGridSchema<T>where T: Send,
impl<T: ?Sized> Sync for DefaultGridSchema<T>where T: Sync,
impl<T: ?Sized> Unpin for DefaultGridSchema<T>where T: Unpin,
impl<T: ?Sized> UnwindSafe for DefaultGridSchema<T>where T: UnwindSafe,
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