pub enum Relation_MemberType {
NODE = 0,
WAY = 1,
RELATION = 2,
}
Variants§
Trait Implementations§
source§impl Clone for Relation_MemberType
impl Clone for Relation_MemberType
source§fn clone(&self) -> Relation_MemberType
fn clone(&self) -> Relation_MemberType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Relation_MemberType
impl Debug for Relation_MemberType
source§impl Default for Relation_MemberType
impl Default for Relation_MemberType
source§impl Hash for Relation_MemberType
impl Hash for Relation_MemberType
source§impl PartialEq for Relation_MemberType
impl PartialEq for Relation_MemberType
source§fn eq(&self, other: &Relation_MemberType) -> bool
fn eq(&self, other: &Relation_MemberType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ProtobufEnum for Relation_MemberType
impl ProtobufEnum for Relation_MemberType
source§fn from_i32(value: i32) -> Option<Relation_MemberType>
fn from_i32(value: i32) -> Option<Relation_MemberType>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
source§impl ProtobufValue for Relation_MemberType
impl ProtobufValue for Relation_MemberType
source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for Relation_MemberType
impl Eq for Relation_MemberType
impl StructuralEq for Relation_MemberType
impl StructuralPartialEq for Relation_MemberType
Auto Trait Implementations§
impl RefUnwindSafe for Relation_MemberType
impl Send for Relation_MemberType
impl Sync for Relation_MemberType
impl Unpin for Relation_MemberType
impl UnwindSafe for Relation_MemberType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more