Enum reaper_medium::MeasureAlignment
source · [−]pub enum MeasureAlignment {
PlayImmediately,
AlignWithMeasureStart,
}
Expand description
Defines whether to align with measure starts when playing previews.
Variants
PlayImmediately
Plays immediately.
AlignWithMeasureStart
Aligns playback with measure start.
Implementations
Trait Implementations
sourceimpl Clone for MeasureAlignment
impl Clone for MeasureAlignment
sourcefn clone(&self) -> MeasureAlignment
fn clone(&self) -> MeasureAlignment
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MeasureAlignment
impl Debug for MeasureAlignment
sourceimpl Hash for MeasureAlignment
impl Hash for MeasureAlignment
sourceimpl PartialEq<MeasureAlignment> for MeasureAlignment
impl PartialEq<MeasureAlignment> for MeasureAlignment
sourcefn eq(&self, other: &MeasureAlignment) -> bool
fn eq(&self, other: &MeasureAlignment) -> bool
impl Copy for MeasureAlignment
impl Eq for MeasureAlignment
impl StructuralEq for MeasureAlignment
impl StructuralPartialEq for MeasureAlignment
Auto Trait Implementations
impl RefUnwindSafe for MeasureAlignment
impl Send for MeasureAlignment
impl Sync for MeasureAlignment
impl Unpin for MeasureAlignment
impl UnwindSafe for MeasureAlignment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
sourcefn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read moresourcefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read moresourcefn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read moresourcefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more