Struct protobuf::descriptor::GeneratedCodeInfo_Annotation
[−]
[src]
pub struct GeneratedCodeInfo_Annotation { /* fields omitted */ }
Methods
impl GeneratedCodeInfo_Annotation
[src]
fn new() -> GeneratedCodeInfo_Annotation
fn default_instance() -> &'static GeneratedCodeInfo_Annotation
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_source_file(&mut self)
fn has_source_file(&self) -> bool
fn set_source_file(&mut self, v: String)
fn mut_source_file(&mut self) -> &mut String
fn take_source_file(&mut self) -> String
fn get_source_file(&self) -> &str
fn clear_begin(&mut self)
fn has_begin(&self) -> bool
fn set_begin(&mut self, v: i32)
fn get_begin(&self) -> i32
fn clear_end(&mut self)
fn has_end(&self) -> bool
fn set_end(&mut self, v: i32)
fn get_end(&self) -> i32
Trait Implementations
impl Clone for GeneratedCodeInfo_Annotation
[src]
fn clone(&self) -> GeneratedCodeInfo_Annotation
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 GeneratedCodeInfo_Annotation
[src]
fn default() -> GeneratedCodeInfo_Annotation
Returns the "default value" for a type. Read more
impl Sync for GeneratedCodeInfo_Annotation
[src]
impl Message for GeneratedCodeInfo_Annotation
[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 GeneratedCodeInfo_Annotation
[src]
fn new() -> GeneratedCodeInfo_Annotation
fn descriptor_static(_: Option<GeneratedCodeInfo_Annotation>)
-> &'static MessageDescriptor
-> &'static MessageDescriptor
impl Clear for GeneratedCodeInfo_Annotation
[src]
fn clear(&mut self)
impl PartialEq for GeneratedCodeInfo_Annotation
[src]
fn eq(&self, other: &GeneratedCodeInfo_Annotation) -> 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 !=
.