Enum syntax::parse::lexer::comments::CommentStyle    
                   
                       [−]
                   
               [src]
pub enum CommentStyle {
    Isolated,
    Trailing,
    Mixed,
    BlankLine,
}Unstable (
rustc_private)Variants
IsolatedUnstable (
rustc_private)No code on either side of each line of the comment
TrailingUnstable (
rustc_private)Code exists to the left of the comment
MixedUnstable (
rustc_private)Code before /* foo */ and after the comment
BlankLineUnstable (
rustc_private)Just a manual blank line "\n\n", for layout
Trait Implementations
Derived Implementations
impl PartialEq for CommentStyle[src]
fn eq(&self, __arg_0: &CommentStyle) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Copy for CommentStyle[src]
impl Clone for CommentStyle[src]
fn clone(&self) -> CommentStyle
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