pub struct CellStyle { /* private fields */ }
Expand description
Cell`s style.
Implementations§
source§impl CellStyle
impl CellStyle
pub fn new() -> Self
sourcepub fn or(self, style: CellStyle) -> CellStyle
pub fn or(self, style: CellStyle) -> CellStyle
Returns the styles in which the empty style has been replaced with the specified style.
Judgment as to whether the style is empty or not is done for each individual element.
pub fn align_h(self, value: HorizontalAlignment) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CellStyle
impl Send for CellStyle
impl Sync for CellStyle
impl Unpin for CellStyle
impl UnwindSafe for CellStyle
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