Struct spreadsheet_ods::SCell[][src]

pub struct SCell { /* fields omitted */ }

One Cell of the spreadsheet.

Implementations

impl SCell[src]

pub fn new() -> Self[src]

New, empty.

pub fn value(&self) -> &Value[src]

Returns the value.

pub fn set_value<V: Into<Value>>(&mut self, value: V)[src]

Sets the value.

pub fn formula(&self) -> Option<&String>[src]

Returns the formula.

pub fn set_formula<V: Into<String>>(&mut self, formula: V)[src]

Sets the formula.

pub fn style(&self) -> Option<&String>[src]

Returns the cell style.

pub fn set_style(&mut self, style: &CellStyleRef)[src]

Sets the cell style.

pub fn set_row_span(&mut self, rows: ucell)[src]

Sets the row span of this cell. Cells below with values will be lost when writing.

pub fn row_span(&self) -> ucell[src]

Returns the row span.

pub fn set_col_span(&mut self, cols: ucell)[src]

Sets the column span of this cell. Cells to the right with values will be lost when writing.

pub fn col_span(&self) -> ucell[src]

Returns the col span.

Trait Implementations

impl Clone for SCell[src]

impl Debug for SCell[src]

impl Default for SCell[src]

Auto Trait Implementations

impl RefUnwindSafe for SCell

impl Send for SCell

impl Sync for SCell

impl Unpin for SCell

impl UnwindSafe for SCell

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.