pub struct Modify<O> { /* private fields */ }Expand description
Modify structure provide an abstraction, to be able to apply a set of CellOptions to the same object.
Implementations
sourceimpl<O> Modify<O> where
O: Object,
impl<O> Modify<O> where
O: Object,
sourcepub fn with<F>(self, f: F) -> Self where
F: CellOption + 'static,
pub fn with<F>(self, f: F) -> Self where
F: CellOption + 'static,
With a generic function which stores a CellOption.
The function doesn’t changes a Grid. Grid will be changed only after passing Modify object to Table::with.
Trait Implementations
Auto Trait Implementations
impl<O> !RefUnwindSafe for Modify<O>
impl<O> !Send for Modify<O>
impl<O> !Sync for Modify<O>
impl<O> Unpin for Modify<O> where
O: Unpin,
impl<O> !UnwindSafe for Modify<O>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more