#[repr(C)]pub enum KactionCmd {
Generic(KactionGenericCmd),
Specific(u32),
}
Expand description
A KAction command, either generic or KSO-specific.
Variants§
Generic(KactionGenericCmd)
Specific(u32)
Trait Implementations§
source§impl Clone for KactionCmd
impl Clone for KactionCmd
source§fn clone(&self) -> KactionCmd
fn clone(&self) -> KactionCmd
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 KactionCmd
impl Debug for KactionCmd
source§impl From<KactionCmd> for u64
impl From<KactionCmd> for u64
source§fn from(x: KactionCmd) -> Self
fn from(x: KactionCmd) -> Self
Converts to this type from the input type.
source§impl Ord for KactionCmd
impl Ord for KactionCmd
source§fn cmp(&self, other: &KactionCmd) -> Ordering
fn cmp(&self, other: &KactionCmd) -> 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 KactionCmd
impl PartialEq for KactionCmd
source§impl PartialOrd for KactionCmd
impl PartialOrd for KactionCmd
source§impl TryFrom<u64> for KactionCmd
impl TryFrom<u64> for KactionCmd
source§type Error = KactionError
type Error = KactionError
The type returned in the event of a conversion error.
source§fn try_from(x: u64) -> Result<KactionCmd, KactionError>
fn try_from(x: u64) -> Result<KactionCmd, KactionError>
Performs the conversion.
impl Copy for KactionCmd
impl Eq for KactionCmd
impl StructuralPartialEq for KactionCmd
Auto Trait Implementations§
impl Freeze for KactionCmd
impl ObjSafe for KactionCmd
impl RefUnwindSafe for KactionCmd
impl Send for KactionCmd
impl Sync for KactionCmd
impl Unpin for KactionCmd
impl UnwindSafe for KactionCmd
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.