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

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

Variants

No code on either side of each line of the comment

Code exists to the left of the comment

Code before /* foo */ and after the comment

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

Trait Implementations

impl Clone for CommentStyle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for CommentStyle
[src]

impl PartialEq for CommentStyle
[src]

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

This method tests for !=.

impl Debug for CommentStyle
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations