pub enum SaverDef_CheckpointFormatVersion {
LEGACY = 0,
V1 = 1,
V2 = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for SaverDef_CheckpointFormatVersion
impl Clone for SaverDef_CheckpointFormatVersion
Source§fn clone(&self) -> SaverDef_CheckpointFormatVersion
fn clone(&self) -> SaverDef_CheckpointFormatVersion
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 PartialEq for SaverDef_CheckpointFormatVersion
impl PartialEq for SaverDef_CheckpointFormatVersion
Source§fn eq(&self, other: &SaverDef_CheckpointFormatVersion) -> bool
fn eq(&self, other: &SaverDef_CheckpointFormatVersion) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ProtobufEnum for SaverDef_CheckpointFormatVersion
impl ProtobufEnum for SaverDef_CheckpointFormatVersion
Source§fn from_i32(value: i32) -> Option<SaverDef_CheckpointFormatVersion>
fn from_i32(value: i32) -> Option<SaverDef_CheckpointFormatVersion>
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 SaverDef_CheckpointFormatVersion
impl ProtobufValue for SaverDef_CheckpointFormatVersion
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 SaverDef_CheckpointFormatVersion
impl Eq for SaverDef_CheckpointFormatVersion
impl StructuralPartialEq for SaverDef_CheckpointFormatVersion
Auto Trait Implementations§
impl Freeze for SaverDef_CheckpointFormatVersion
impl RefUnwindSafe for SaverDef_CheckpointFormatVersion
impl Send for SaverDef_CheckpointFormatVersion
impl Sync for SaverDef_CheckpointFormatVersion
impl Unpin for SaverDef_CheckpointFormatVersion
impl UnwindSafe for SaverDef_CheckpointFormatVersion
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