pub struct ProgrammableSpeakerInstrument {
pub name: &'static str,
pub notes: &'static [&'static str],
}Fields§
§name: &'static str§notes: &'static [&'static str]Trait Implementations§
Source§impl Clone for ProgrammableSpeakerInstrument
impl Clone for ProgrammableSpeakerInstrument
Source§fn clone(&self) -> ProgrammableSpeakerInstrument
fn clone(&self) -> ProgrammableSpeakerInstrument
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 ProgrammableSpeakerInstrument
Source§impl Default for ProgrammableSpeakerInstrument
impl Default for ProgrammableSpeakerInstrument
Source§fn default() -> ProgrammableSpeakerInstrument
fn default() -> ProgrammableSpeakerInstrument
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ProgrammableSpeakerInstrument
Auto Trait Implementations§
impl Freeze for ProgrammableSpeakerInstrument
impl RefUnwindSafe for ProgrammableSpeakerInstrument
impl Send for ProgrammableSpeakerInstrument
impl Sync for ProgrammableSpeakerInstrument
impl Unpin for ProgrammableSpeakerInstrument
impl UnsafeUnpin for ProgrammableSpeakerInstrument
impl UnwindSafe for ProgrammableSpeakerInstrument
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