[−][src]Struct fon::chan::Ch8
8-bit sample Channel.
Implementations
impl Ch8
[src]
Trait Implementations
impl<R: Into<Self>> Add<R> for Ch8
[src]
type Output = Self
The resulting type after applying the +
operator.
pub fn add(self, rhs: R) -> Self
[src]
impl<R: Into<Self>> AddAssign<R> for Ch8
[src]
pub fn add_assign(&mut self, rhs: R)
[src]
impl Channel for Ch8
[src]
pub const MIN: Ch8
[src]
pub const MID: Ch8
[src]
pub const MAX: Ch8
[src]
pub fn to_f64(self) -> f64
[src]
pub fn from_f64(from: f64) -> Self
[src]
pub fn lerp(self, rhs: Self, t: Self) -> Self
[src]
impl Clone for Ch8
[src]
impl Copy for Ch8
[src]
impl Debug for Ch8
[src]
impl Default for Ch8
[src]
impl<R: Into<Self>> Div<R> for Ch8
[src]
type Output = Self
The resulting type after applying the /
operator.
pub fn div(self, rhs: R) -> Self
[src]
impl<R: Into<Self>> DivAssign<R> for Ch8
[src]
pub fn div_assign(&mut self, rhs: R)
[src]
impl Eq for Ch8
[src]
impl From<Ch16> for Ch8
[src]
impl From<Ch32> for Ch8
[src]
impl From<Ch64> for Ch8
[src]
impl From<Ch8> for Ch16
[src]
impl From<Ch8> for Ch32
[src]
impl From<Ch8> for Ch64
[src]
impl From<i8> for Ch8
[src]
impl<R: Into<Self>> Mul<R> for Ch8
[src]
type Output = Self
The resulting type after applying the *
operator.
pub fn mul(self, rhs: R) -> Self
[src]
impl<R: Into<Self>> MulAssign<R> for Ch8
[src]
pub fn mul_assign(&mut self, rhs: R)
[src]
impl Neg for Ch8
[src]
type Output = Ch8
The resulting type after applying the -
operator.
pub fn neg(self) -> Self
[src]
Invert sound wave (-x).
impl Ord for Ch8
[src]
pub fn cmp(&self, other: &Ch8) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Ch8> for Ch8
[src]
impl PartialOrd<Ch8> for Ch8
[src]
pub fn partial_cmp(&self, other: &Ch8) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Ch8) -> bool
[src]
pub fn le(&self, other: &Ch8) -> bool
[src]
pub fn gt(&self, other: &Ch8) -> bool
[src]
pub fn ge(&self, other: &Ch8) -> bool
[src]
impl StructuralEq for Ch8
[src]
impl StructuralPartialEq for Ch8
[src]
impl<R: Into<Self>> Sub<R> for Ch8
[src]
type Output = Self
The resulting type after applying the -
operator.
pub fn sub(self, rhs: R) -> Self
[src]
impl<R: Into<Self>> SubAssign<R> for Ch8
[src]
pub fn sub_assign(&mut self, rhs: R)
[src]
Auto Trait Implementations
impl RefUnwindSafe for Ch8
[src]
impl Send for Ch8
[src]
impl Sync for Ch8
[src]
impl Unpin for Ch8
[src]
impl UnwindSafe for Ch8
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,