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<'a>(&'a mut self) -> &'a mut Vec<i32>

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

fn get_path<'a>(&'a self) -> &'a [i32]

fn clear_span(&mut self)

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

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

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

fn get_span<'a>(&'a self) -> &'a [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<'a>(&'a mut self) -> &'a mut String

fn take_leading_comments(&mut self) -> String

fn get_leading_comments<'a>(&'a self) -> &'a 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<'a>(&'a mut self) -> &'a mut String

fn take_trailing_comments(&mut self) -> String

fn get_trailing_comments<'a>(&'a self) -> &'a 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 Message for SourceCodeInfo_Location
[src]

fn is_initialized(&self) -> bool

fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>

fn compute_size(&self) -> u32

fn write_to_with_cached_sizes(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>

fn get_cached_size(&self) -> u32

fn get_unknown_fields<'s>(&'s self) -> &'s UnknownFields

fn mut_unknown_fields<'s>(&'s mut self) -> &'s mut UnknownFields

fn type_id(&self) -> TypeId

fn as_any(&self) -> &Any

fn descriptor(&self) -> &'static MessageDescriptor

fn write_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>

fn write_length_delimited_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>

fn merge_from_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()>

fn check_initialized(&self)

fn write_to_writer(&self, w: &mut Write) -> ProtobufResult<()>

fn write_to_vec(&self, v: &mut Vec<u8>) -> ProtobufResult<()>

fn write_to_bytes(&self) -> ProtobufResult<Vec<u8>>

fn write_length_delimited_to_writer(&self, w: &mut Write) -> ProtobufResult<()>

fn write_length_delimited_to_bytes(&self) -> ProtobufResult<Vec<u8>>

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.