Enum reaper_medium::TakeAttributeKey
source · [−]Expand description
Take attribute key which you can pass to get_set_media_item_take_info()
.
Variants
StartOffs
Start offset in source media in seconds.
Source
Current source.
Note that if setting this, you should first retrieve the old source, set the new, then delete the old.
*mut PCM_source
Custom(Cow<'a, ReaperStr>)
If a variant is missing in this enum, you can use this custom one as a resort.
Use custom()
to create this variant.
Implementations
sourceimpl<'a> TakeAttributeKey<'a>
impl<'a> TakeAttributeKey<'a>
sourcepub fn custom(key: impl Into<ReaperStringArg<'a>>) -> TakeAttributeKey<'a>
pub fn custom(key: impl Into<ReaperStringArg<'a>>) -> TakeAttributeKey<'a>
Convenience function for creating a Custom
key.
Trait Implementations
sourceimpl<'a> Clone for TakeAttributeKey<'a>
impl<'a> Clone for TakeAttributeKey<'a>
sourcefn clone(&self) -> TakeAttributeKey<'a>
fn clone(&self) -> TakeAttributeKey<'a>
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<'a> Debug for TakeAttributeKey<'a>
impl<'a> Debug for TakeAttributeKey<'a>
sourceimpl<'a> Hash for TakeAttributeKey<'a>
impl<'a> Hash for TakeAttributeKey<'a>
sourceimpl<'a> PartialEq<TakeAttributeKey<'a>> for TakeAttributeKey<'a>
impl<'a> PartialEq<TakeAttributeKey<'a>> for TakeAttributeKey<'a>
sourcefn eq(&self, other: &TakeAttributeKey<'a>) -> bool
fn eq(&self, other: &TakeAttributeKey<'a>) -> bool
impl<'a> Eq for TakeAttributeKey<'a>
impl<'a> StructuralEq for TakeAttributeKey<'a>
impl<'a> StructuralPartialEq for TakeAttributeKey<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for TakeAttributeKey<'a>
impl<'a> Send for TakeAttributeKey<'a>
impl<'a> Sync for TakeAttributeKey<'a>
impl<'a> Unpin for TakeAttributeKey<'a>
impl<'a> UnwindSafe for TakeAttributeKey<'a>
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