Struct protobuf::descriptor::GeneratedCodeInfo
[−]
[src]
pub struct GeneratedCodeInfo { /* fields omitted */ }
Methods
impl GeneratedCodeInfo
[src]
fn new() -> GeneratedCodeInfo
fn default_instance() -> &'static GeneratedCodeInfo
fn clear_annotation(&mut self)
fn set_annotation(&mut self, v: RepeatedField<GeneratedCodeInfo_Annotation>)
fn mut_annotation(&mut self) -> &mut RepeatedField<GeneratedCodeInfo_Annotation>
fn take_annotation(&mut self) -> RepeatedField<GeneratedCodeInfo_Annotation>
fn get_annotation(&self) -> &[GeneratedCodeInfo_Annotation]
Trait Implementations
impl Clone for GeneratedCodeInfo
[src]
fn clone(&self) -> GeneratedCodeInfo
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
[src]
fn default() -> GeneratedCodeInfo
Returns the "default value" for a type. Read more
impl Sync for GeneratedCodeInfo
[src]
impl Message for GeneratedCodeInfo
[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
[src]
fn new() -> GeneratedCodeInfo
fn descriptor_static(_: Option<GeneratedCodeInfo>) -> &'static MessageDescriptor
impl Clear for GeneratedCodeInfo
[src]
fn clear(&mut self)
impl PartialEq for GeneratedCodeInfo
[src]
fn eq(&self, other: &GeneratedCodeInfo) -> 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 !=
.