Enum caffe2_proto::LegacyPadding
source · pub enum LegacyPadding {
NOTSET,
VALID,
SAME,
CAFFE_LEGACY_POOLING,
}
Variants§
Trait Implementations§
source§impl Clone for LegacyPadding
impl Clone for LegacyPadding
source§fn clone(&self) -> LegacyPadding
fn clone(&self) -> LegacyPadding
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 LegacyPadding
impl Debug for LegacyPadding
source§impl Default for LegacyPadding
impl Default for LegacyPadding
source§impl Hash for LegacyPadding
impl Hash for LegacyPadding
source§impl PartialEq<LegacyPadding> for LegacyPadding
impl PartialEq<LegacyPadding> for LegacyPadding
source§fn eq(&self, other: &LegacyPadding) -> bool
fn eq(&self, other: &LegacyPadding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ProtobufEnum for LegacyPadding
impl ProtobufEnum for LegacyPadding
source§fn from_i32(value: i32) -> Option<LegacyPadding>
fn from_i32(value: i32) -> Option<LegacyPadding>
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 LegacyPadding
impl ProtobufValue for LegacyPadding
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?