pub enum LineLabelStrategy {
FromCell(usize),
Provided(Vec<String>),
None,
}Expand description
Determines how the labels of the line graph created from a sheet are handled
Variants§
FromCell(usize)
Label is derived from a the cells of a column. The values are not used within the line graph
Provided(Vec<String>)
Labels for each line are provided. Excess labels are ignored. Lines with
no labels receive a LineLabelStrategy::None
None
No labels
Trait Implementations§
Source§impl Clone for LineLabelStrategy
impl Clone for LineLabelStrategy
Source§fn clone(&self) -> LineLabelStrategy
fn clone(&self) -> LineLabelStrategy
Returns a duplicate of the value. Read more
1.0.0 · 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 LineLabelStrategy
impl Debug for LineLabelStrategy
Source§impl Default for LineLabelStrategy
impl Default for LineLabelStrategy
Source§fn default() -> LineLabelStrategy
fn default() -> LineLabelStrategy
Returns the “default value” for a type. Read more
Source§impl Display for LineLabelStrategy
impl Display for LineLabelStrategy
Source§impl PartialEq for LineLabelStrategy
impl PartialEq for LineLabelStrategy
impl StructuralPartialEq for LineLabelStrategy
Auto Trait Implementations§
impl Freeze for LineLabelStrategy
impl RefUnwindSafe for LineLabelStrategy
impl Send for LineLabelStrategy
impl Sync for LineLabelStrategy
impl Unpin for LineLabelStrategy
impl UnwindSafe for LineLabelStrategy
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