pub struct Cell { /* private fields */ }
Expand description
Cell has owner of value and style.
let _ = spsheet::Cell::str("value");
Implementations§
Source§impl Cell
impl Cell
pub fn new(value: Value, style: Style) -> Cell
pub fn str<'a, S>(value: S) -> Cell
pub fn float(value: f64) -> Cell
pub fn date<'a, S>(value: S) -> Cell
pub fn date_with_style<'a, S>(value: S, style: Style) -> Cell
pub fn get_value(&self) -> &Value
pub fn get_style(&self) -> &Style
pub fn set_style(&mut self, style: Style)
pub fn get_formated_date(&self) -> Option<String>
Trait Implementations§
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 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