[][src]Enum rustc_ap_rustc_ast::util::comments::CommentStyle

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

impl Clone for CommentStyle[src]

impl Copy for CommentStyle[src]

impl Debug for CommentStyle[src]

impl PartialEq<CommentStyle> for CommentStyle[src]

impl StructuralPartialEq for CommentStyle[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<E> SpecializationError for E[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.