Struct rp2040_hal::pwm::dyn_slice::DynSliceId
source · pub struct DynSliceId {
pub num: u8,
}
Expand description
Value-level struct
representing slice IDs
Fields§
§num: u8
Slice id
Trait Implementations§
source§impl Clone for DynSliceId
impl Clone for DynSliceId
source§fn clone(&self) -> DynSliceId
fn clone(&self) -> DynSliceId
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 PartialEq for DynSliceId
impl PartialEq for DynSliceId
source§fn eq(&self, other: &DynSliceId) -> bool
fn eq(&self, other: &DynSliceId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DynSliceId
impl Eq for DynSliceId
impl StructuralPartialEq for DynSliceId
Auto Trait Implementations§
impl RefUnwindSafe for DynSliceId
impl Send for DynSliceId
impl Sync for DynSliceId
impl Unpin for DynSliceId
impl UnwindSafe for DynSliceId
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