Enum syntex_syntax::parse::lexer::comments::CommentStyle [] [src]

pub enum CommentStyle {
    Isolated,
    Trailing,
    Mixed,
    BlankLine,
}

Variants

Isolated

No code on either side of each line of the comment

Trailing

Code exists to the left of the comment

Mixed

Code before /* foo */ and after the comment

BlankLine

Just a manual blank line "\n\n", for layout

Trait Implementations

Derived Implementations

impl PartialEq for CommentStyle

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

fn ne(&self, __arg_0: &CommentStyle) -> bool

impl Copy for CommentStyle

impl Clone for CommentStyle

fn clone(&self) -> CommentStyle

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