pub enum SampleBank {
None,
Normal,
Soft,
Drum,
}Expand description
The different types of samples.
Variants§
Implementations§
Source§impl SampleBank
impl SampleBank
pub const fn to_lowercase_str(self) -> &'static str
pub fn from_lowercase(s: &str) -> Self
Trait Implementations§
Source§impl Clone for SampleBank
impl Clone for SampleBank
Source§fn clone(&self) -> SampleBank
fn clone(&self) -> SampleBank
Returns a duplicate 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 moreSource§impl Debug for SampleBank
impl Debug for SampleBank
Source§impl Default for SampleBank
impl Default for SampleBank
Source§fn default() -> SampleBank
fn default() -> SampleBank
Returns the “default value” for a type. Read more
Source§impl Display for SampleBank
impl Display for SampleBank
Source§impl FromStr for SampleBank
impl FromStr for SampleBank
Source§impl PartialEq for SampleBank
impl PartialEq for SampleBank
Source§impl TryFrom<i32> for SampleBank
impl TryFrom<i32> for SampleBank
impl Copy for SampleBank
impl Eq for SampleBank
impl StructuralPartialEq for SampleBank
Auto Trait Implementations§
impl Freeze for SampleBank
impl RefUnwindSafe for SampleBank
impl Send for SampleBank
impl Sync for SampleBank
impl Unpin for SampleBank
impl UnwindSafe for SampleBank
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