Struct pythonic::comment::Comment [] [src]

pub struct Comment {
    pub comment: String,
    pub docstring: bool,
}

Fields

comment: String docstring: bool

Methods

impl Comment
[src]

fn new<T: Display>(comment: T) -> Comment

fn docstring<T: Display>(comment: T) -> Comment

Trait Implementations

impl Clone for Comment
[src]

fn clone(&self) -> Comment

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

impl Debug for Comment
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Comment
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.