#[repr(transparent)]pub struct SckPolarity(pub u32);Expand description
Set SCK Polarity.
Tuple Fields§
§0: u32Implementations§
Source§impl SckPolarity
impl SckPolarity
Sourcepub const fn sckpolarity(&self) -> Sckpolarity
pub const fn sckpolarity(&self) -> Sckpolarity
Set the polarity of the active SCK edge.
Sourcepub const fn set_sckpolarity(&mut self, val: Sckpolarity)
pub const fn set_sckpolarity(&mut self, val: Sckpolarity)
Set the polarity of the active SCK edge.
Trait Implementations§
Source§impl Clone for SckPolarity
impl Clone for SckPolarity
Source§fn clone(&self) -> SckPolarity
fn clone(&self) -> SckPolarity
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 SckPolarity
impl Debug for SckPolarity
Source§impl Default for SckPolarity
impl Default for SckPolarity
Source§fn default() -> SckPolarity
fn default() -> SckPolarity
Returns the “default value” for a type. Read more
Source§impl PartialEq for SckPolarity
impl PartialEq for SckPolarity
impl Copy for SckPolarity
impl Eq for SckPolarity
impl StructuralPartialEq for SckPolarity
Auto Trait Implementations§
impl Freeze for SckPolarity
impl RefUnwindSafe for SckPolarity
impl Send for SckPolarity
impl Sync for SckPolarity
impl Unpin for SckPolarity
impl UnwindSafe for SckPolarity
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)