Enum Tsamplespacingref
#[repr(u8)]pub enum Tsamplespacingref {
_RESERVED_0 = 0,
_4US = 1,
_2US = 2,
_1US = 3,
_500NS = 4,
_250NS = 5,
_125NS = 6,
_RESERVED_7 = 7,
}
Variants§
_RESERVED_0 = 0
_4US = 1
4 us
_2US = 2
2 us
_1US = 3
1 us
_500NS = 4
0.5 us
_250NS = 5
0.25 us
_125NS = 6
0.125 us
_RESERVED_7 = 7
Implementations§
§impl Tsamplespacingref
impl Tsamplespacingref
pub const fn from_bits(val: u8) -> Tsamplespacingref
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Tsamplespacingref
impl Clone for Tsamplespacingref
§fn clone(&self) -> Tsamplespacingref
fn clone(&self) -> Tsamplespacingref
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 Tsamplespacingref
impl From<u8> for Tsamplespacingref
§fn from(val: u8) -> Tsamplespacingref
fn from(val: u8) -> Tsamplespacingref
Converts to this type from the input type.
§impl Ord for Tsamplespacingref
impl Ord for Tsamplespacingref
§fn cmp(&self, other: &Tsamplespacingref) -> Ordering
fn cmp(&self, other: &Tsamplespacingref) -> 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 Tsamplespacingref
impl PartialEq for Tsamplespacingref
§impl PartialOrd for Tsamplespacingref
impl PartialOrd for Tsamplespacingref
impl Copy for Tsamplespacingref
impl Eq for Tsamplespacingref
impl StructuralPartialEq for Tsamplespacingref
Auto Trait Implementations§
impl Freeze for Tsamplespacingref
impl RefUnwindSafe for Tsamplespacingref
impl Send for Tsamplespacingref
impl Sync for Tsamplespacingref
impl Unpin for Tsamplespacingref
impl UnwindSafe for Tsamplespacingref
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
)