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