pub struct u24(pub u8, pub u8, pub u8);Tuple Fields§
§0: u8§1: u8§2: u8Trait Implementations§
Source§impl AddAssign for u24
impl AddAssign for u24
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl BitAndAssign for u24
impl BitAndAssign for u24
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for u24
impl BitOrAssign for u24
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for u24
impl BitXorAssign for u24
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl DivAssign for u24
impl DivAssign for u24
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/= operation. Read moreSource§impl MulAssign for u24
impl MulAssign for u24
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl RemAssign for u24
impl RemAssign for u24
Source§fn rem_assign(&mut self, rhs: Self)
fn rem_assign(&mut self, rhs: Self)
Performs the
%= operation. Read moreSource§impl SampleFrom for u24
impl SampleFrom for u24
fn to(s: impl SampleType) -> Self
Source§impl SampleType for u24
impl SampleType for u24
type Shorter = u16
type Longer = u32
type Signed = i24
type Unsigned = u24
fn new() -> Self
fn from(v: impl SampleType) -> u24
fn average(s1: u24, s2: u24) -> u24
fn average_arr(arr: &[Self]) -> Self
fn to_i8(&self) -> i8
fn to_i16(&self) -> i16
fn to_i32(&self) -> i32
fn to_i64(&self) -> i64
fn to_u8(&self) -> u8
fn to_u16(&self) -> u16
fn to_u32(&self) -> u32
fn to_u64(&self) -> u64
fn to_i24(&self) -> i24
fn to_u24(&self) -> u24
fn as_i24(&self) -> i24
fn as_u24(&self) -> u24
fn to_f32(&self) -> f32
fn to_f64(&self) -> f64
fn to_longer(&self) -> Self::Longer
fn to_shorter(&self) -> Self::Shorter
fn is_signed(&self) -> bool
fn is_unsigned(&self) -> bool
fn is_integer(&self) -> bool
fn is_float(&self) -> bool
fn to_signed(&self) -> Self::Signed
fn to_unsigned(&self) -> Self::Unsigned
fn read_le<T>(r: &mut T) -> Result<Self, Error>
fn read_be<T>(r: &mut T) -> Result<Self, Error>
fn write_le<T>(&self, w: &mut T) -> Result<(), Error>
fn write_be<T>(&self, w: &mut T) -> Result<(), Error>
Source§impl ShlAssign for u24
impl ShlAssign for u24
Source§fn shl_assign(&mut self, rhs: Self)
fn shl_assign(&mut self, rhs: Self)
Performs the
<<= operation. Read moreSource§impl ShrAssign for u24
impl ShrAssign for u24
Source§fn shr_assign(&mut self, rhs: Self)
fn shr_assign(&mut self, rhs: Self)
Performs the
>>= operation. Read moreSource§impl SubAssign for u24
impl SubAssign for u24
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for u24
Auto Trait Implementations§
impl Freeze for u24
impl RefUnwindSafe for u24
impl Send for u24
impl Sync for u24
impl Unpin for u24
impl UnwindSafe for u24
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