pub struct SustainSpan {
pub start: Time,
pub end: Time,
pub channel: Option<Channel>,
}Expand description
Exact half-open sustain-pedal interval.
Fields§
§start: TimePedal-down time.
end: TimePedal-up time.
channel: Option<Channel>Optional channel restriction.
Implementations§
Trait Implementations§
Source§impl Clone for SustainSpan
impl Clone for SustainSpan
Source§fn clone(&self) -> SustainSpan
fn clone(&self) -> SustainSpan
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 SustainSpan
Source§impl Debug for SustainSpan
impl Debug for SustainSpan
impl Eq for SustainSpan
Source§impl PartialEq for SustainSpan
impl PartialEq for SustainSpan
impl StructuralPartialEq for SustainSpan
Auto Trait Implementations§
impl Freeze for SustainSpan
impl RefUnwindSafe for SustainSpan
impl Send for SustainSpan
impl Sync for SustainSpan
impl Unpin for SustainSpan
impl UnsafeUnpin for SustainSpan
impl UnwindSafe for SustainSpan
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