pub enum XmSampleLoopMode {
None,
Forward,
PingPong,
}Expand description
Loop mode encoded in a sample header’s type byte.
Variants§
Implementations§
Source§impl XmSampleLoopMode
impl XmSampleLoopMode
pub fn from_type_byte(b: u8) -> Self
Trait Implementations§
Source§impl Clone for XmSampleLoopMode
impl Clone for XmSampleLoopMode
Source§fn clone(&self) -> XmSampleLoopMode
fn clone(&self) -> XmSampleLoopMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for XmSampleLoopMode
impl Debug for XmSampleLoopMode
Source§impl Default for XmSampleLoopMode
impl Default for XmSampleLoopMode
Source§fn default() -> XmSampleLoopMode
fn default() -> XmSampleLoopMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for XmSampleLoopMode
impl PartialEq for XmSampleLoopMode
Source§fn eq(&self, other: &XmSampleLoopMode) -> bool
fn eq(&self, other: &XmSampleLoopMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for XmSampleLoopMode
impl Eq for XmSampleLoopMode
impl StructuralPartialEq for XmSampleLoopMode
Auto Trait Implementations§
impl Freeze for XmSampleLoopMode
impl RefUnwindSafe for XmSampleLoopMode
impl Send for XmSampleLoopMode
impl Sync for XmSampleLoopMode
impl Unpin for XmSampleLoopMode
impl UnsafeUnpin for XmSampleLoopMode
impl UnwindSafe for XmSampleLoopMode
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