Enum syntect::html::ClassStyle [] [src]

pub enum ClassStyle {
    Spaced,
}

Only one style for now, I may add more class styles later. Just here so I don't have to change the API

Variants

Spaced

The classes are the atoms of the scope separated by spaces (e.g source.php becomes source php). This isn't that fast since it has to use the scope repository to look up scope names.

Trait Implementations

impl Copy for ClassStyle
[src]

impl Clone for ClassStyle
[src]

fn clone(&self) -> ClassStyle

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Eq for ClassStyle
[src]

impl PartialEq for ClassStyle
[src]

fn eq(&self, __arg_0: &ClassStyle) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for ClassStyle
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.