Enum Tsamplespacing
#[repr(u8)]pub enum Tsamplespacing {
_RESERVED_0 = 0,
_4us = 1,
_2us = 2,
_1us = 3,
_500ns = 4,
_250ns = 5,
_125ns = 6,
_RESERVED_7 = 7,
}Variants§
_RESERVED_0 = 0
_4us = 1
4us.
_2us = 2
2us.
_1us = 3
1us.
_500ns = 4
0.5us.
_250ns = 5
0.25us.
_125ns = 6
0.125us.
_RESERVED_7 = 7
Implementations§
§impl Tsamplespacing
impl Tsamplespacing
pub const fn from_bits(val: u8) -> Tsamplespacing
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Tsamplespacing
impl Clone for Tsamplespacing
§fn clone(&self) -> Tsamplespacing
fn clone(&self) -> Tsamplespacing
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Tsamplespacing
§impl Debug for Tsamplespacing
impl Debug for Tsamplespacing
impl Eq for Tsamplespacing
§impl From<u8> for Tsamplespacing
impl From<u8> for Tsamplespacing
§fn from(val: u8) -> Tsamplespacing
fn from(val: u8) -> Tsamplespacing
Converts to this type from the input type.
§impl Ord for Tsamplespacing
impl Ord for Tsamplespacing
§fn cmp(&self, other: &Tsamplespacing) -> Ordering
fn cmp(&self, other: &Tsamplespacing) -> Ordering
1.21.0 (const: unstable) · 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 Tsamplespacing
impl PartialEq for Tsamplespacing
§impl PartialOrd for Tsamplespacing
impl PartialOrd for Tsamplespacing
impl StructuralPartialEq for Tsamplespacing
Auto Trait Implementations§
impl Freeze for Tsamplespacing
impl RefUnwindSafe for Tsamplespacing
impl Send for Tsamplespacing
impl Sync for Tsamplespacing
impl Unpin for Tsamplespacing
impl UnsafeUnpin for Tsamplespacing
impl UnwindSafe for Tsamplespacing
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