pub struct Timbre {
pub name: &'static str,
pub partials: &'static [Partial],
pub decay_ms: u32,
}Expand description
How a struck note is coloured and how long it rings.
Fields§
§name: &'static str§partials: &'static [Partial]§decay_ms: u32Time to fade to inaudibility. Short reads as wooden, long as metallic.
Auto Trait Implementations§
impl Freeze for Timbre
impl RefUnwindSafe for Timbre
impl Send for Timbre
impl Sync for Timbre
impl Unpin for Timbre
impl UnsafeUnpin for Timbre
impl UnwindSafe for Timbre
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