Enum reaper_medium::InsertMediaFlag
source · [−]#[repr(u32)]
pub enum InsertMediaFlag {
StretchLoopToFitTimeSelection,
TryToMatchTempo1X,
TryToMatchTempo05X,
TryToMatchTempo2X,
DontPreservePitchWhenMatchingTempo,
NoLoopSectionIfStartPctEndPctSet,
ForceLoopRegardlessOfGlobalPreference,
MoveSourceToPreferredPosition,
Reverse,
}
Expand description
Activates certain behaviors when inserting a media file.
Variants
StretchLoopToFitTimeSelection
TryToMatchTempo1X
TryToMatchTempo05X
TryToMatchTempo2X
DontPreservePitchWhenMatchingTempo
NoLoopSectionIfStartPctEndPctSet
ForceLoopRegardlessOfGlobalPreference
Force loop regardless of global preference for looping imported items.
MoveSourceToPreferredPosition
Move to source preferred position (BWF start offset).
Reverse
Trait Implementations
sourceimpl BitAnd<InsertMediaFlag> for InsertMediaFlag
impl BitAnd<InsertMediaFlag> for InsertMediaFlag
type Output = BitFlags<InsertMediaFlag, <InsertMediaFlag as RawBitFlags>::Numeric>
type Output = BitFlags<InsertMediaFlag, <InsertMediaFlag as RawBitFlags>::Numeric>
The resulting type after applying the
&
operator.sourceimpl BitFlag for InsertMediaFlag
impl BitFlag for InsertMediaFlag
sourceimpl BitOr<InsertMediaFlag> for InsertMediaFlag
impl BitOr<InsertMediaFlag> for InsertMediaFlag
type Output = BitFlags<InsertMediaFlag, <InsertMediaFlag as RawBitFlags>::Numeric>
type Output = BitFlags<InsertMediaFlag, <InsertMediaFlag as RawBitFlags>::Numeric>
The resulting type after applying the
|
operator.sourceimpl BitXor<InsertMediaFlag> for InsertMediaFlag
impl BitXor<InsertMediaFlag> for InsertMediaFlag
type Output = BitFlags<InsertMediaFlag, <InsertMediaFlag as RawBitFlags>::Numeric>
type Output = BitFlags<InsertMediaFlag, <InsertMediaFlag as RawBitFlags>::Numeric>
The resulting type after applying the
^
operator.sourceimpl Clone for InsertMediaFlag
impl Clone for InsertMediaFlag
sourcefn clone(&self) -> InsertMediaFlag
fn clone(&self) -> InsertMediaFlag
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 InsertMediaFlag
impl Debug for InsertMediaFlag
sourceimpl Hash for InsertMediaFlag
impl Hash for InsertMediaFlag
sourceimpl Not for InsertMediaFlag
impl Not for InsertMediaFlag
type Output = BitFlags<InsertMediaFlag, <InsertMediaFlag as RawBitFlags>::Numeric>
type Output = BitFlags<InsertMediaFlag, <InsertMediaFlag as RawBitFlags>::Numeric>
The resulting type after applying the
!
operator.sourceimpl PartialEq<InsertMediaFlag> for InsertMediaFlag
impl PartialEq<InsertMediaFlag> for InsertMediaFlag
sourcefn eq(&self, other: &InsertMediaFlag) -> bool
fn eq(&self, other: &InsertMediaFlag) -> bool
sourceimpl RawBitFlags for InsertMediaFlag
impl RawBitFlags for InsertMediaFlag
sourceconst EMPTY: Self::Numeric = {transmute(0x00000000): <flags::InsertMediaFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x00000000): <flags::InsertMediaFlag as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
sourceconst DEFAULT: Self::Numeric = {transmute(0x00000000): <flags::InsertMediaFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x00000000): <flags::InsertMediaFlag as enumflags2::_internal::RawBitFlags>::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless
customized. Read more
sourceconst ALL_BITS: Self::Numeric = {transmute(0x000031fc): <flags::InsertMediaFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x000031fc): <flags::InsertMediaFlag as enumflags2::_internal::RawBitFlags>::Numeric}
A value with all flag bits set.
sourceconst BITFLAGS_TYPE_NAME: &'static str = _
const BITFLAGS_TYPE_NAME: &'static str = _
The name of the type for debug formatting purposes. Read more
impl Copy for InsertMediaFlag
impl Eq for InsertMediaFlag
impl StructuralEq for InsertMediaFlag
impl StructuralPartialEq for InsertMediaFlag
Auto Trait Implementations
impl RefUnwindSafe for InsertMediaFlag
impl Send for InsertMediaFlag
impl Sync for InsertMediaFlag
impl Unpin for InsertMediaFlag
impl UnwindSafe for InsertMediaFlag
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