pub enum BlobSerializationOptions_FloatFormat {
FLOAT_DEFAULT,
FLOAT_PROTOBUF,
FLOAT_BFLOAT16,
}
Variants§
Trait Implementations§
source§impl Clone for BlobSerializationOptions_FloatFormat
impl Clone for BlobSerializationOptions_FloatFormat
source§fn clone(&self) -> BlobSerializationOptions_FloatFormat
fn clone(&self) -> BlobSerializationOptions_FloatFormat
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 Default for BlobSerializationOptions_FloatFormat
impl Default for BlobSerializationOptions_FloatFormat
source§fn default() -> BlobSerializationOptions_FloatFormat
fn default() -> BlobSerializationOptions_FloatFormat
Returns the “default value” for a type. Read more
source§impl PartialEq<BlobSerializationOptions_FloatFormat> for BlobSerializationOptions_FloatFormat
impl PartialEq<BlobSerializationOptions_FloatFormat> for BlobSerializationOptions_FloatFormat
source§fn eq(&self, other: &BlobSerializationOptions_FloatFormat) -> bool
fn eq(&self, other: &BlobSerializationOptions_FloatFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ProtobufEnum for BlobSerializationOptions_FloatFormat
impl ProtobufEnum for BlobSerializationOptions_FloatFormat
source§fn from_i32(value: i32) -> Option<BlobSerializationOptions_FloatFormat>
fn from_i32(value: i32) -> Option<BlobSerializationOptions_FloatFormat>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn values() -> &'static [BlobSerializationOptions_FloatFormat]
fn values() -> &'static [BlobSerializationOptions_FloatFormat]
Get all enum values for enum type.
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 BlobSerializationOptions_FloatFormat
impl ProtobufValue for BlobSerializationOptions_FloatFormat
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 BlobSerializationOptions_FloatFormat
impl Eq for BlobSerializationOptions_FloatFormat
impl StructuralEq for BlobSerializationOptions_FloatFormat
impl StructuralPartialEq for BlobSerializationOptions_FloatFormat
Auto Trait Implementations§
impl RefUnwindSafe for BlobSerializationOptions_FloatFormat
impl Send for BlobSerializationOptions_FloatFormat
impl Sync for BlobSerializationOptions_FloatFormat
impl Unpin for BlobSerializationOptions_FloatFormat
impl UnwindSafe for BlobSerializationOptions_FloatFormat
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.