Enum reaper_medium::ProjectPart
source · [−]#[repr(u32)]
pub enum ProjectPart {
Freeze,
Fx,
Items,
MiscCfg,
TrackCfg,
}
Expand description
Part of a project that could have been affected by an undoable operation.
Variants
Freeze
Freeze state.
Fx
Track master FX.
Items
Track items.
MiscCfg
Loop selection, markers, regions and extensions.
TrackCfg
Track/master vol/pan/routing and aLL envelopes (master included).
Trait Implementations
sourceimpl BitAnd<ProjectPart> for ProjectPart
impl BitAnd<ProjectPart> for ProjectPart
type Output = BitFlags<ProjectPart, <ProjectPart as RawBitFlags>::Numeric>
type Output = BitFlags<ProjectPart, <ProjectPart as RawBitFlags>::Numeric>
The resulting type after applying the
&
operator.sourceimpl BitFlag for ProjectPart
impl BitFlag for ProjectPart
sourceimpl BitOr<ProjectPart> for ProjectPart
impl BitOr<ProjectPart> for ProjectPart
type Output = BitFlags<ProjectPart, <ProjectPart as RawBitFlags>::Numeric>
type Output = BitFlags<ProjectPart, <ProjectPart as RawBitFlags>::Numeric>
The resulting type after applying the
|
operator.sourceimpl BitXor<ProjectPart> for ProjectPart
impl BitXor<ProjectPart> for ProjectPart
type Output = BitFlags<ProjectPart, <ProjectPart as RawBitFlags>::Numeric>
type Output = BitFlags<ProjectPart, <ProjectPart as RawBitFlags>::Numeric>
The resulting type after applying the
^
operator.sourceimpl Clone for ProjectPart
impl Clone for ProjectPart
sourcefn clone(&self) -> ProjectPart
fn clone(&self) -> ProjectPart
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 ProjectPart
impl Debug for ProjectPart
sourceimpl Hash for ProjectPart
impl Hash for ProjectPart
sourceimpl Not for ProjectPart
impl Not for ProjectPart
type Output = BitFlags<ProjectPart, <ProjectPart as RawBitFlags>::Numeric>
type Output = BitFlags<ProjectPart, <ProjectPart as RawBitFlags>::Numeric>
The resulting type after applying the
!
operator.sourceimpl PartialEq<ProjectPart> for ProjectPart
impl PartialEq<ProjectPart> for ProjectPart
sourcefn eq(&self, other: &ProjectPart) -> bool
fn eq(&self, other: &ProjectPart) -> bool
sourceimpl RawBitFlags for ProjectPart
impl RawBitFlags for ProjectPart
sourceconst EMPTY: Self::Numeric = {transmute(0x00000000): <flags::ProjectPart as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x00000000): <flags::ProjectPart as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
sourceconst DEFAULT: Self::Numeric = {transmute(0x00000000): <flags::ProjectPart as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x00000000): <flags::ProjectPart 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(0x0000001f): <flags::ProjectPart as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x0000001f): <flags::ProjectPart 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 ProjectPart
impl Eq for ProjectPart
impl StructuralEq for ProjectPart
impl StructuralPartialEq for ProjectPart
Auto Trait Implementations
impl RefUnwindSafe for ProjectPart
impl Send for ProjectPart
impl Sync for ProjectPart
impl Unpin for ProjectPart
impl UnwindSafe for ProjectPart
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