pub struct Rest {
pub duration: Time,
}Expand description
A span of silence.
Fields§
§duration: TimeLength of the silence.
Implementations§
Trait Implementations§
impl Eq for Rest
Source§impl MusicObject for Rest
impl MusicObject for Rest
impl StructuralPartialEq for Rest
Auto Trait Implementations§
impl Freeze for Rest
impl RefUnwindSafe for Rest
impl Send for Rest
impl Sync for Rest
impl Unpin for Rest
impl UnsafeUnpin for Rest
impl UnwindSafe for Rest
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