Struct protobuf::descriptor::DescriptorProto_ExtensionRange
[−]
[src]
pub struct DescriptorProto_ExtensionRange { /* fields omitted */ }
Methods
impl DescriptorProto_ExtensionRange
[src]
fn new() -> DescriptorProto_ExtensionRange
fn default_instance() -> &'static DescriptorProto_ExtensionRange
fn clear_start(&mut self)
fn has_start(&self) -> bool
fn set_start(&mut self, v: i32)
fn get_start(&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 DescriptorProto_ExtensionRange
[src]
fn clone(&self) -> DescriptorProto_ExtensionRange
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 DescriptorProto_ExtensionRange
[src]
fn default() -> DescriptorProto_ExtensionRange
Returns the "default value" for a type. Read more
impl Sync for DescriptorProto_ExtensionRange
[src]
impl Message for DescriptorProto_ExtensionRange
[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 DescriptorProto_ExtensionRange
[src]
fn new() -> DescriptorProto_ExtensionRange
fn descriptor_static(_: Option<DescriptorProto_ExtensionRange>)
-> &'static MessageDescriptor
-> &'static MessageDescriptor
impl Clear for DescriptorProto_ExtensionRange
[src]
fn clear(&mut self)
impl PartialEq for DescriptorProto_ExtensionRange
[src]
fn eq(&self, other: &DescriptorProto_ExtensionRange) -> 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 !=
.