#[repr(i32)]pub enum VmCursorEnum {
VmCursorUnspecified = 0,
VmCursorSrc = 1,
VmCursorDst = 2,
VmCursorBoth = 3,
}Variants§
Implementations§
Source§impl VmCursorEnum
impl VmCursorEnum
Source§impl VmCursorEnum
impl VmCursorEnum
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Trait Implementations§
Source§impl Clone for VmCursorEnum
impl Clone for VmCursorEnum
Source§fn clone(&self) -> VmCursorEnum
fn clone(&self) -> VmCursorEnum
Returns a duplicate 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 VmCursorEnum
impl Debug for VmCursorEnum
Source§impl Default for VmCursorEnum
impl Default for VmCursorEnum
Source§fn default() -> VmCursorEnum
fn default() -> VmCursorEnum
Returns the “default value” for a type. Read more
Source§impl From<VmCursorEnum> for i32
impl From<VmCursorEnum> for i32
Source§fn from(value: VmCursorEnum) -> i32
fn from(value: VmCursorEnum) -> i32
Converts to this type from the input type.
Source§impl Hash for VmCursorEnum
impl Hash for VmCursorEnum
Source§impl Ord for VmCursorEnum
impl Ord for VmCursorEnum
Source§fn cmp(&self, other: &VmCursorEnum) -> Ordering
fn cmp(&self, other: &VmCursorEnum) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VmCursorEnum
impl PartialEq for VmCursorEnum
Source§impl PartialOrd for VmCursorEnum
impl PartialOrd for VmCursorEnum
impl Copy for VmCursorEnum
impl Eq for VmCursorEnum
impl StructuralPartialEq for VmCursorEnum
Auto Trait Implementations§
impl Freeze for VmCursorEnum
impl RefUnwindSafe for VmCursorEnum
impl Send for VmCursorEnum
impl Sync for VmCursorEnum
impl Unpin for VmCursorEnum
impl UnsafeUnpin for VmCursorEnum
impl UnwindSafe for VmCursorEnum
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