Struct reaper_medium::AudioHookRegister
source · [−]pub struct AudioHookRegister(_);
Expand description
Pointer to an audio hook register.
In future this should provides access to the current audio buffer contents.
Implementations
sourceimpl AudioHookRegister
impl AudioHookRegister
sourcepub fn get(&self) -> NonNull<audio_hook_register_t>
pub fn get(&self) -> NonNull<audio_hook_register_t>
Returns the raw pointer.
sourcepub fn output_nch(&self) -> u32
pub fn output_nch(&self) -> u32
Returns the current number of output channels.
Trait Implementations
sourceimpl Debug for AudioHookRegister
impl Debug for AudioHookRegister
sourceimpl Hash for AudioHookRegister
impl Hash for AudioHookRegister
sourceimpl PartialEq<AudioHookRegister> for AudioHookRegister
impl PartialEq<AudioHookRegister> for AudioHookRegister
sourcefn eq(&self, other: &AudioHookRegister) -> bool
fn eq(&self, other: &AudioHookRegister) -> bool
impl Eq for AudioHookRegister
impl StructuralEq for AudioHookRegister
impl StructuralPartialEq for AudioHookRegister
Auto Trait Implementations
impl RefUnwindSafe for AudioHookRegister
impl !Send for AudioHookRegister
impl !Sync for AudioHookRegister
impl Unpin for AudioHookRegister
impl UnwindSafe for AudioHookRegister
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