pub enum VariableSynchronization {
VARIABLE_SYNCHRONIZATION_AUTO = 0,
VARIABLE_SYNCHRONIZATION_NONE = 1,
VARIABLE_SYNCHRONIZATION_ON_WRITE = 2,
VARIABLE_SYNCHRONIZATION_ON_READ = 3,
}
Variants§
VARIABLE_SYNCHRONIZATION_AUTO = 0
VARIABLE_SYNCHRONIZATION_NONE = 1
VARIABLE_SYNCHRONIZATION_ON_WRITE = 2
VARIABLE_SYNCHRONIZATION_ON_READ = 3
Trait Implementations§
Source§impl Clone for VariableSynchronization
impl Clone for VariableSynchronization
Source§fn clone(&self) -> VariableSynchronization
fn clone(&self) -> VariableSynchronization
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 VariableSynchronization
impl Debug for VariableSynchronization
Source§impl Default for VariableSynchronization
impl Default for VariableSynchronization
Source§impl Hash for VariableSynchronization
impl Hash for VariableSynchronization
Source§impl PartialEq for VariableSynchronization
impl PartialEq for VariableSynchronization
Source§impl ProtobufEnum for VariableSynchronization
impl ProtobufEnum for VariableSynchronization
Source§fn from_i32(value: i32) -> Option<VariableSynchronization>
fn from_i32(value: i32) -> Option<VariableSynchronization>
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 VariableSynchronization
impl ProtobufValue for VariableSynchronization
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 VariableSynchronization
impl Eq for VariableSynchronization
impl StructuralPartialEq for VariableSynchronization
Auto Trait Implementations§
impl Freeze for VariableSynchronization
impl RefUnwindSafe for VariableSynchronization
impl Send for VariableSynchronization
impl Sync for VariableSynchronization
impl Unpin for VariableSynchronization
impl UnwindSafe for VariableSynchronization
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