Enum rp2040_hal::pwm::dyn_slice::DynChannelId
source · pub enum DynChannelId {
A,
B,
}
Expand description
Channel ids
Variants§
Trait Implementations§
source§impl Clone for DynChannelId
impl Clone for DynChannelId
source§fn clone(&self) -> DynChannelId
fn clone(&self) -> DynChannelId
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 DynChannelId
impl PartialEq for DynChannelId
source§fn eq(&self, other: &DynChannelId) -> bool
fn eq(&self, other: &DynChannelId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DynChannelId
impl Eq for DynChannelId
impl StructuralPartialEq for DynChannelId
Auto Trait Implementations§
impl Freeze for DynChannelId
impl RefUnwindSafe for DynChannelId
impl Send for DynChannelId
impl Sync for DynChannelId
impl Unpin for DynChannelId
impl UnwindSafe for DynChannelId
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<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more