pub struct FormatContentPositioned<F>(/* private fields */);
Expand description
FormatContentPositioned
is like a FormatContent
an abstraction over a function you can use against a cell.
It different from FormatContent
that it provides a row and column index.
Trait Implementations§
Source§impl<F, R, C> CellOption<R, C> for FormatContentPositioned<F>where
F: FnMut(&str, Position) -> String,
R: Records + ExactRecords + PeekableRecords + RecordsMut<String>,
impl<F, R, C> CellOption<R, C> for FormatContentPositioned<F>where
F: FnMut(&str, Position) -> String,
R: Records + ExactRecords + PeekableRecords + RecordsMut<String>,
Source§impl<F: Clone> Clone for FormatContentPositioned<F>
impl<F: Clone> Clone for FormatContentPositioned<F>
Source§fn clone(&self) -> FormatContentPositioned<F>
fn clone(&self) -> FormatContentPositioned<F>
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<F: Debug> Debug for FormatContentPositioned<F>
impl<F: Debug> Debug for FormatContentPositioned<F>
Source§impl<F: Ord> Ord for FormatContentPositioned<F>
impl<F: Ord> Ord for FormatContentPositioned<F>
Source§fn cmp(&self, other: &FormatContentPositioned<F>) -> Ordering
fn cmp(&self, other: &FormatContentPositioned<F>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<F: PartialEq> PartialEq for FormatContentPositioned<F>
impl<F: PartialEq> PartialEq for FormatContentPositioned<F>
Source§impl<F: PartialOrd> PartialOrd for FormatContentPositioned<F>
impl<F: PartialOrd> PartialOrd for FormatContentPositioned<F>
Source§impl<F, R, D, C> TableOption<R, C, D> for FormatContentPositioned<F>where
F: FnMut(&str, Position) -> String,
R: Records + ExactRecords + PeekableRecords + RecordsMut<String>,
impl<F, R, D, C> TableOption<R, C, D> for FormatContentPositioned<F>where
F: FnMut(&str, Position) -> String,
R: Records + ExactRecords + PeekableRecords + RecordsMut<String>,
impl<F: Eq> Eq for FormatContentPositioned<F>
impl<F> StructuralPartialEq for FormatContentPositioned<F>
Auto Trait Implementations§
impl<F> Freeze for FormatContentPositioned<F>where
F: Freeze,
impl<F> RefUnwindSafe for FormatContentPositioned<F>where
F: RefUnwindSafe,
impl<F> Send for FormatContentPositioned<F>where
F: Send,
impl<F> Sync for FormatContentPositioned<F>where
F: Sync,
impl<F> Unpin for FormatContentPositioned<F>where
F: Unpin,
impl<F> UnwindSafe for FormatContentPositioned<F>where
F: 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