Enum term_transcript::svg::LineNumbers
source · #[non_exhaustive]
pub enum LineNumbers {
EachOutput,
ContinuousOutputs,
Continuous,
}
Available on crate feature
svg
only.Expand description
Line numbering options.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EachOutput
Number lines in each output separately. Inputs are not numbered.
ContinuousOutputs
Use continuous numbering for the lines in all outputs. Inputs are not numbered.
Continuous
Use continuous numbering for the lines in all inputs and outputs.
Trait Implementations§
source§impl Clone for LineNumbers
impl Clone for LineNumbers
source§fn clone(&self) -> LineNumbers
fn clone(&self) -> LineNumbers
Returns a copy 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 LineNumbers
impl Debug for LineNumbers
source§impl<'de> Deserialize<'de> for LineNumbers
impl<'de> Deserialize<'de> for LineNumbers
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