Enum xkcp_sys::KCP_Phases
source · #[repr(u32)]pub enum KCP_Phases {
NOT_INITIALIZED = 0,
ABSORBING = 1,
FINAL = 2,
SQUEEZING = 3,
}
Variants§
Trait Implementations§
source§impl Clone for KCP_Phases
impl Clone for KCP_Phases
source§fn clone(&self) -> KCP_Phases
fn clone(&self) -> KCP_Phases
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 KCP_Phases
impl Debug for KCP_Phases
source§impl Hash for KCP_Phases
impl Hash for KCP_Phases
source§impl PartialEq<KCP_Phases> for KCP_Phases
impl PartialEq<KCP_Phases> for KCP_Phases
source§fn eq(&self, other: &KCP_Phases) -> bool
fn eq(&self, other: &KCP_Phases) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for KCP_Phases
impl StructuralEq for KCP_Phases
impl StructuralPartialEq for KCP_Phases
Auto Trait Implementations§
impl RefUnwindSafe for KCP_Phases
impl Send for KCP_Phases
impl Sync for KCP_Phases
impl Unpin for KCP_Phases
impl UnwindSafe for KCP_Phases
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes
Size for each variant:
NOT_INITIALIZED
: 0 bytesABSORBING
: 0 bytesFINAL
: 0 bytesSQUEEZING
: 0 bytes