pub enum DebugSwipeDirection {
UP = 0,
DOWN = 1,
LEFT = 2,
RIGHT = 3,
}
Variants§
Trait Implementations§
source§impl Clone for DebugSwipeDirection
impl Clone for DebugSwipeDirection
source§fn clone(&self) -> DebugSwipeDirection
fn clone(&self) -> DebugSwipeDirection
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 DebugSwipeDirection
impl Debug for DebugSwipeDirection
source§impl Default for DebugSwipeDirection
impl Default for DebugSwipeDirection
source§impl Enum for DebugSwipeDirection
impl Enum for DebugSwipeDirection
source§const NAME: &'static str = "DebugSwipeDirection"
const NAME: &'static str = "DebugSwipeDirection"
Enum name as specified in
.proto
file. Read moresource§fn from_i32(value: i32) -> Option<DebugSwipeDirection>
fn from_i32(value: i32) -> Option<DebugSwipeDirection>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<DebugSwipeDirection>
fn from_str(str: &str) -> Option<DebugSwipeDirection>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [DebugSwipeDirection] = _
const VALUES: &'static [DebugSwipeDirection] = _
All enum values for enum type.
source§impl EnumFull for DebugSwipeDirection
impl EnumFull for DebugSwipeDirection
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for DebugSwipeDirection
impl Hash for DebugSwipeDirection
source§impl PartialEq for DebugSwipeDirection
impl PartialEq for DebugSwipeDirection
source§fn eq(&self, other: &DebugSwipeDirection) -> bool
fn eq(&self, other: &DebugSwipeDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DebugSwipeDirection
impl Eq for DebugSwipeDirection
impl StructuralPartialEq for DebugSwipeDirection
Auto Trait Implementations§
impl Freeze for DebugSwipeDirection
impl RefUnwindSafe for DebugSwipeDirection
impl Send for DebugSwipeDirection
impl Sync for DebugSwipeDirection
impl Unpin for DebugSwipeDirection
impl UnwindSafe for DebugSwipeDirection
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)