Struct protobuf::descriptor::SourceCodeInfo_Location
[−]
[src]
pub struct SourceCodeInfo_Location { /* 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
fn clear_leading_detached_comments(&mut self)
fn set_leading_detached_comments(&mut self, v: RepeatedField<String>)
fn mut_leading_detached_comments(&mut self) -> &mut RepeatedField<String>
fn take_leading_detached_comments(&mut self) -> RepeatedField<String>
fn get_leading_detached_comments(&self) -> &[String]
Trait Implementations
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 Default for SourceCodeInfo_Location
[src]
fn default() -> SourceCodeInfo_Location
Returns the "default value" for a type. Read more
impl Sync for SourceCodeInfo_Location
[src]
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<()>
os: &mut CodedOutputStream)
-> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &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<()>
os: &mut CodedOutputStream)
-> ProtobufResult<()>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()>
fn check_initialized(&self) -> ProtobufResult<()>
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]
fn new() -> SourceCodeInfo_Location
fn descriptor_static(_: Option<SourceCodeInfo_Location>)
-> &'static MessageDescriptor
-> &'static MessageDescriptor
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 !=
.