Enum Ctetimevalidrange
#[repr(u8)]pub enum Ctetimevalidrange {
_20 = 0,
_31 = 1,
_63 = 2,
_RESERVED_3 = 3,
}
Variants§
_20 = 0
20 in 8us unit (default) Set to 20 if parsed CTETime is larger han 20
_31 = 1
31 in 8us unit
_63 = 2
63 in 8us unit
_RESERVED_3 = 3
Implementations§
§impl Ctetimevalidrange
impl Ctetimevalidrange
pub const fn from_bits(val: u8) -> Ctetimevalidrange
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Ctetimevalidrange
impl Clone for Ctetimevalidrange
§fn clone(&self) -> Ctetimevalidrange
fn clone(&self) -> Ctetimevalidrange
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 more§impl From<u8> for Ctetimevalidrange
impl From<u8> for Ctetimevalidrange
§fn from(val: u8) -> Ctetimevalidrange
fn from(val: u8) -> Ctetimevalidrange
Converts to this type from the input type.
§impl Ord for Ctetimevalidrange
impl Ord for Ctetimevalidrange
§fn cmp(&self, other: &Ctetimevalidrange) -> Ordering
fn cmp(&self, other: &Ctetimevalidrange) -> 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
§impl PartialEq for Ctetimevalidrange
impl PartialEq for Ctetimevalidrange
§impl PartialOrd for Ctetimevalidrange
impl PartialOrd for Ctetimevalidrange
impl Copy for Ctetimevalidrange
impl Eq for Ctetimevalidrange
impl StructuralPartialEq for Ctetimevalidrange
Auto Trait Implementations§
impl Freeze for Ctetimevalidrange
impl RefUnwindSafe for Ctetimevalidrange
impl Send for Ctetimevalidrange
impl Sync for Ctetimevalidrange
impl Unpin for Ctetimevalidrange
impl UnwindSafe for Ctetimevalidrange
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
)