pub struct Cell {
pub text: TextBody,
pub fill: Option<Fill>,
pub borders: [Option<Line>; 4],
pub diag_down: Option<Line>,
pub diag_up: Option<Line>,
pub margins: Option<[f64; 4]>,
pub anchor: Option<Anchor>,
pub grid_span: u32,
pub row_span: u32,
pub h_merge: bool,
pub v_merge: bool,
pub vertical: Option<TextDir>,
}Fields§
§text: TextBody§fill: Option<Fill>§borders: [Option<Line>; 4]Left, right, top, bottom borders; None = from the table style.
diag_down: Option<Line>§diag_up: Option<Line>§margins: Option<[f64; 4]>Margins (l, r, t, b) in points; None = defaults (7.2, 7.2, 3.6, 3.6).
anchor: Option<Anchor>§grid_span: u32§row_span: u32§h_merge: boolCovered by a merge to the left / above.
v_merge: bool§vertical: Option<TextDir>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cell
impl<'de> Deserialize<'de> for Cell
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Cell
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnsafeUnpin for Cell
impl UnwindSafe for Cell
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