Enum surge_modulation::imports::imports::StereoChannel [−]
pub enum StereoChannel {
Left,
Right,
}
Variants
Implementations
impl StereoChannel
impl StereoChannel
pub fn iter() -> impl Iterator<Item = StereoChannel>
pub fn iter() -> impl Iterator<Item = StereoChannel>
Iterate over all variants in this enum, in sorted order.
Trait Implementations
impl Clone for StereoChannel
impl Clone for StereoChannel
pub fn clone(&self) -> StereoChannel
pub fn clone(&self) -> StereoChannel
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for StereoChannel
impl Debug for StereoChannel
impl Display for StereoChannel
impl Display for StereoChannel
impl Hash for StereoChannel
impl Hash for StereoChannel
impl<T> Index<StereoChannel> for StereoChannelArray<T>
impl<T> Index<StereoChannel> for StereoChannelArray<T>
type Output = T
type Output = T
The returned type after indexing.
pub fn index(
&self,
x: StereoChannel
) -> &<StereoChannelArray<T> as Index<StereoChannel>>::Output
pub fn index(
&self,
x: StereoChannel
) -> &<StereoChannelArray<T> as Index<StereoChannel>>::Output
Performs the indexing (container[index]
) operation. Read more
impl<T> IndexMut<StereoChannel> for StereoChannelArray<T>
impl<T> IndexMut<StereoChannel> for StereoChannelArray<T>
pub fn index_mut(
&mut self,
x: StereoChannel
) -> &mut <StereoChannelArray<T> as Index<StereoChannel>>::Output
pub fn index_mut(
&mut self,
x: StereoChannel
) -> &mut <StereoChannelArray<T> as Index<StereoChannel>>::Output
Performs the mutable indexing (container[index]
) operation. Read more
impl Ord for StereoChannel
impl Ord for StereoChannel
pub fn cmp(&self, other: &StereoChannel) -> Ordering
pub fn cmp(&self, other: &StereoChannel) -> Ordering
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
impl PartialEq<StereoChannel> for StereoChannel
impl PartialEq<StereoChannel> for StereoChannel
impl PartialOrd<StereoChannel> for StereoChannel
impl PartialOrd<StereoChannel> for StereoChannel
pub fn partial_cmp(&self, other: &StereoChannel) -> Option<Ordering>
pub fn partial_cmp(&self, other: &StereoChannel) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<'_> TryFrom<&'_ str> for StereoChannel
impl<'_> TryFrom<&'_ str> for StereoChannel
pub fn try_from(
value: &str
) -> Result<StereoChannel, <StereoChannel as TryFrom<&'_ str>>::Error>
pub fn try_from(
value: &str
) -> Result<StereoChannel, <StereoChannel as TryFrom<&'_ str>>::Error>
Performs the conversion.
impl TryFrom<u32> for StereoChannel
impl TryFrom<u32> for StereoChannel
pub fn try_from(
value: u32
) -> Result<StereoChannel, <StereoChannel as TryFrom<u32>>::Error>
pub fn try_from(
value: u32
) -> Result<StereoChannel, <StereoChannel as TryFrom<u32>>::Error>
Performs the conversion.
impl TryFrom<u64> for StereoChannel
impl TryFrom<u64> for StereoChannel
pub fn try_from(
value: u64
) -> Result<StereoChannel, <StereoChannel as TryFrom<u64>>::Error>
pub fn try_from(
value: u64
) -> Result<StereoChannel, <StereoChannel as TryFrom<u64>>::Error>
Performs the conversion.
impl TryFrom<usize> for StereoChannel
impl TryFrom<usize> for StereoChannel
pub fn try_from(
value: usize
) -> Result<StereoChannel, <StereoChannel as TryFrom<usize>>::Error>
pub fn try_from(
value: usize
) -> Result<StereoChannel, <StereoChannel as TryFrom<usize>>::Error>
Performs the conversion.
impl Copy for StereoChannel
impl Eq for StereoChannel
impl StructuralEq for StereoChannel
impl StructuralPartialEq for StereoChannel
Auto Trait Implementations
impl RefUnwindSafe for StereoChannel
impl Send for StereoChannel
impl Sync for StereoChannel
impl Unpin for StereoChannel
impl UnwindSafe for StereoChannel
Blanket Implementations
Mutably borrows from an owned value. Read more