Enum syntax::parse::lexer::comments::CommentStyle [−][src]
pub enum CommentStyle {
Isolated,
Trailing,
Mixed,
BlankLine,
}Variants
IsolatedNo code on either side of each line of the comment
TrailingCode exists to the left of the comment
MixedCode before /* foo */ and after the comment
BlankLineJust a manual blank line "\n\n", for layout
Trait Implementations
impl Clone for CommentStyle[src]
impl Clone for CommentStylefn clone(&self) -> CommentStyle[src]
fn clone(&self) -> CommentStyleReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for CommentStyle[src]
impl Copy for CommentStyleimpl PartialEq for CommentStyle[src]
impl PartialEq for CommentStylefn eq(&self, other: &CommentStyle) -> bool[src]
fn eq(&self, other: &CommentStyle) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Debug for CommentStyle[src]
impl Debug for CommentStyleAuto Trait Implementations
impl Send for CommentStyle
impl Send for CommentStyleimpl Sync for CommentStyle
impl Sync for CommentStyle