Enum minus::LineNumbers [−][src]
pub enum LineNumbers { AlwaysOn, Enabled, Disabled, AlwaysOff, }
Enum indicating whether to display the line numbers or not.
Note that displaying line numbers may be less performant than not doing it.
minus
tries to do as quickly as possible but the numbers and padding
still have to be computed.
This implements Not
to allow turning on/off line numbers
when they where not locked in by the binary displaying the text.
Variants
Enable line numbers permanently, cannot be turned off by user.
Line numbers should be turned on, although users can turn it off
(i.e, set it to Disabled
).
Line numbers should be turned off, although users can turn it on
(i.e, set it to Enabled
).
Disable line numbers permanently, cannot be turned on by user.
Trait Implementations
impl Clone for LineNumbers
[src]
impl Clone for LineNumbers
[src]fn clone(&self) -> LineNumbers
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LineNumbers
[src]
impl Copy for LineNumbers
[src]impl Not for LineNumbers
[src]
impl Not for LineNumbers
[src]impl PartialEq<LineNumbers> for LineNumbers
[src]
impl PartialEq<LineNumbers> for LineNumbers
[src]impl StructuralPartialEq for LineNumbers
[src]
impl StructuralPartialEq for LineNumbers
[src]Auto Trait Implementations
impl RefUnwindSafe for LineNumbers
impl RefUnwindSafe for LineNumbers
impl Send for LineNumbers
impl Send for LineNumbers
impl Sync for LineNumbers
impl Sync for LineNumbers
impl Unpin for LineNumbers
impl Unpin for LineNumbers
impl UnwindSafe for LineNumbers
impl UnwindSafe for LineNumbers