pub enum SeriesTitle {
Reference {
formula: String,
cache: Option<String>,
},
Literal(String),
}Expand description
A series’ name (CT_SerTx) — either a cell reference (with an optional single cached string —
the schema’s own strCache is a full StringData list, but a series title only ever uses its
first point in practice, so this simplifies it to Option<String>) or a literal string with no
cell reference at all.
Variants§
Implementations§
Source§impl SeriesTitle
impl SeriesTitle
pub fn reference(formula: impl Into<String>) -> SeriesTitle
pub fn reference_with_cache( formula: impl Into<String>, cache: impl Into<String>, ) -> SeriesTitle
pub fn literal(value: impl Into<String>) -> SeriesTitle
Trait Implementations§
Source§impl Clone for SeriesTitle
impl Clone for SeriesTitle
Source§fn clone(&self) -> SeriesTitle
fn clone(&self) -> SeriesTitle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SeriesTitle
impl Debug for SeriesTitle
Source§impl PartialEq for SeriesTitle
impl PartialEq for SeriesTitle
impl StructuralPartialEq for SeriesTitle
Auto Trait Implementations§
impl Freeze for SeriesTitle
impl RefUnwindSafe for SeriesTitle
impl Send for SeriesTitle
impl Sync for SeriesTitle
impl Unpin for SeriesTitle
impl UnsafeUnpin for SeriesTitle
impl UnwindSafe for SeriesTitle
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