pub enum MusicComponentCategory {
PlayerFamily,
Instrument,
Control,
}Expand description
The broad category a music component belongs to.
Categories group descriptors for browsing and routing; they are carried in
a MusicComponentDescriptor.
Variants§
PlayerFamily
A player-family component that interprets incoming material.
Instrument
An instrument that renders events to audio.
Control
A control component such as a modulator or performance source.
Implementations§
Trait Implementations§
Source§impl Clone for MusicComponentCategory
impl Clone for MusicComponentCategory
Source§fn clone(&self) -> MusicComponentCategory
fn clone(&self) -> MusicComponentCategory
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 moreimpl Copy for MusicComponentCategory
Source§impl Debug for MusicComponentCategory
impl Debug for MusicComponentCategory
impl Eq for MusicComponentCategory
Source§impl Hash for MusicComponentCategory
impl Hash for MusicComponentCategory
Source§impl Ord for MusicComponentCategory
impl Ord for MusicComponentCategory
Source§fn cmp(&self, other: &MusicComponentCategory) -> Ordering
fn cmp(&self, other: &MusicComponentCategory) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MusicComponentCategory
impl PartialEq for MusicComponentCategory
Source§impl PartialOrd for MusicComponentCategory
impl PartialOrd for MusicComponentCategory
impl StructuralPartialEq for MusicComponentCategory
Auto Trait Implementations§
impl Freeze for MusicComponentCategory
impl RefUnwindSafe for MusicComponentCategory
impl Send for MusicComponentCategory
impl Sync for MusicComponentCategory
impl Unpin for MusicComponentCategory
impl UnsafeUnpin for MusicComponentCategory
impl UnwindSafe for MusicComponentCategory
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