Struct protobuf::descriptorx::EnumWithScope
[−]
[src]
pub struct EnumWithScope<'a> {
pub scope: Scope<'a>,
pub en: &'a EnumDescriptorProto,
}Fields
scope: Scope<'a>
en: &'a EnumDescriptorProto
Methods
impl<'a> EnumWithScope<'a>[src]
fn values(&'a self) -> &'a [EnumValueDescriptorProto]
fn value_by_name(&'a self, name: &str) -> &'a EnumValueDescriptorProto
Trait Implementations
impl<'a> Clone for EnumWithScope<'a>[src]
fn clone(&self) -> EnumWithScope<'a>
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