pub struct Modify<O> { /* private fields */ }
Expand description
Modify structure provide an abstraction, to be able to apply
a set of CellOption
s to the same object.
Be aware that the settings are applied all to a cell at a time.
So sometimes you may need to make a several calls of Modify
in order to achieve the desired affect.
Implementations§
Source§impl<O> Modify<O>where
O: Object,
impl<O> Modify<O>where
O: Object,
Sourcepub fn with<M>(self, s: M) -> ModifyList<O, M>
pub fn with<M>(self, s: M) -> ModifyList<O, M>
It’s a generic function which stores a CellOption
.
IMPORTANT:
The function doesn’t changes a Table
.
Table
will be changed only after passing Modify
object to Table::with
.
Trait Implementations§
Auto Trait Implementations§
impl<O> Freeze for Modify<O>where
O: Freeze,
impl<O> RefUnwindSafe for Modify<O>where
O: RefUnwindSafe,
impl<O> Send for Modify<O>where
O: Send,
impl<O> Sync for Modify<O>where
O: Sync,
impl<O> Unpin for Modify<O>where
O: Unpin,
impl<O> UnwindSafe for Modify<O>where
O: 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