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
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 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 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 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
§impl PartialEq for Tsamplespacing
impl PartialEq for Tsamplespacing
§impl PartialOrd for Tsamplespacing
impl PartialOrd for Tsamplespacing
impl Copy for Tsamplespacing
impl Eq 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 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
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
)