Struct protobuf::descriptor::SourceCodeInfo_Location [] [src]

pub struct SourceCodeInfo_Location {
    // some fields omitted
}

Methods

impl SourceCodeInfo_Location
[src]

fn new() -> SourceCodeInfo_Location

fn default_instance() -> &'static SourceCodeInfo_Location

fn clear_path(&mut self)

fn set_path(&mut self, v: Vec<i32>)

fn mut_path(&mut self) -> &mut Vec<i32>

fn take_path(&mut self) -> Vec<i32>

fn get_path(&self) -> &[i32]

fn clear_span(&mut self)

fn set_span(&mut self, v: Vec<i32>)

fn mut_span(&mut self) -> &mut Vec<i32>

fn take_span(&mut self) -> Vec<i32>

fn get_span(&self) -> &[i32]

fn clear_leading_comments(&mut self)

fn has_leading_comments(&self) -> bool

fn set_leading_comments(&mut self, v: String)

fn mut_leading_comments(&mut self) -> &mut String

fn take_leading_comments(&mut self) -> String

fn get_leading_comments(&self) -> &str

fn clear_trailing_comments(&mut self)

fn has_trailing_comments(&self) -> bool

fn set_trailing_comments(&mut self, v: String)

fn mut_trailing_comments(&mut self) -> &mut String

fn take_trailing_comments(&mut self) -> String

fn get_trailing_comments(&self) -> &str

Trait Implementations

impl Default for SourceCodeInfo_Location
[src]

fn default() -> SourceCodeInfo_Location

Returns the "default value" for a type. Read more

impl Clone for SourceCodeInfo_Location
[src]

fn clone(&self) -> SourceCodeInfo_Location

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 Sync for SourceCodeInfo_Location
[src]

impl Message for SourceCodeInfo_Location
[src]

impl MessageStatic for SourceCodeInfo_Location
[src]

impl Clear for SourceCodeInfo_Location
[src]

fn clear(&mut self)

impl PartialEq for SourceCodeInfo_Location
[src]

fn eq(&self, other: &SourceCodeInfo_Location) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for SourceCodeInfo_Location
[src]

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

Formats the value using the given formatter.