Enum SampleShift
#[repr(u8)]pub enum SampleShift {
NONE = 0,
HALFCYCLE = 1,
}
Variants§
Implementations§
§impl SampleShift
impl SampleShift
pub const fn from_bits(val: u8) -> SampleShift
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for SampleShift
impl Clone for SampleShift
§fn clone(&self) -> SampleShift
fn clone(&self) -> SampleShift
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 more§impl From<SampleShift> for u8
impl From<SampleShift> for u8
§fn from(val: SampleShift) -> u8
fn from(val: SampleShift) -> u8
Converts to this type from the input type.
§impl From<u8> for SampleShift
impl From<u8> for SampleShift
§fn from(val: u8) -> SampleShift
fn from(val: u8) -> SampleShift
Converts to this type from the input type.
§impl Ord for SampleShift
impl Ord for SampleShift
§impl PartialEq for SampleShift
impl PartialEq for SampleShift
§impl PartialOrd for SampleShift
impl PartialOrd for SampleShift
impl Copy for SampleShift
impl Eq for SampleShift
impl StructuralPartialEq for SampleShift
Auto Trait Implementations§
impl Freeze for SampleShift
impl RefUnwindSafe for SampleShift
impl Send for SampleShift
impl Sync for SampleShift
impl Unpin for SampleShift
impl UnwindSafe for SampleShift
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)