Struct reaper_medium::BorrowedReaperResample
source · [−]#[repr(transparent)]pub struct BorrowedReaperResample(_);
Expand description
Borrowed (reference-only) REAPER resample instance.
Implementations
sourceimpl BorrowedReaperResample
impl BorrowedReaperResample
sourcepub fn from_raw(raw: &REAPER_Resample_Interface) -> &Self
pub fn from_raw(raw: &REAPER_Resample_Interface) -> &Self
Creates a medium-level representation from the given low-level reference.
sourcepub fn from_raw_mut(raw: &mut REAPER_Resample_Interface) -> &mut Self
pub fn from_raw_mut(raw: &mut REAPER_Resample_Interface) -> &mut Self
Creates a mutable medium-level representation from the given low-level reference.
sourcepub fn as_ptr(&self) -> ReaperResample
pub fn as_ptr(&self) -> ReaperResample
Returns the pointer to this resample instance.
Trait Implementations
sourceimpl AsMut<BorrowedReaperResample> for OwnedReaperResample
impl AsMut<BorrowedReaperResample> for OwnedReaperResample
sourcefn as_mut(&mut self) -> &mut BorrowedReaperResample
fn as_mut(&mut self) -> &mut BorrowedReaperResample
Converts this type into a mutable reference of the (usually inferred) input type.
sourceimpl AsMut<REAPER_Resample_Interface> for BorrowedReaperResample
impl AsMut<REAPER_Resample_Interface> for BorrowedReaperResample
sourcefn as_mut(&mut self) -> &mut REAPER_Resample_Interface
fn as_mut(&mut self) -> &mut REAPER_Resample_Interface
Converts this type into a mutable reference of the (usually inferred) input type.
sourceimpl AsRef<BorrowedReaperResample> for OwnedReaperResample
impl AsRef<BorrowedReaperResample> for OwnedReaperResample
sourcefn as_ref(&self) -> &BorrowedReaperResample
fn as_ref(&self) -> &BorrowedReaperResample
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<REAPER_Resample_Interface> for BorrowedReaperResample
impl AsRef<REAPER_Resample_Interface> for BorrowedReaperResample
sourcefn as_ref(&self) -> &REAPER_Resample_Interface
fn as_ref(&self) -> &REAPER_Resample_Interface
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Debug for BorrowedReaperResample
impl Debug for BorrowedReaperResample
sourceimpl Hash for BorrowedReaperResample
impl Hash for BorrowedReaperResample
sourceimpl PartialEq<BorrowedReaperResample> for BorrowedReaperResample
impl PartialEq<BorrowedReaperResample> for BorrowedReaperResample
sourcefn eq(&self, other: &BorrowedReaperResample) -> bool
fn eq(&self, other: &BorrowedReaperResample) -> bool
sourceimpl RefCast for BorrowedReaperResample
impl RefCast for BorrowedReaperResample
type From = REAPER_Resample_Interface
fn ref_cast(_from: &Self::From) -> &Self
fn ref_cast_mut(_from: &mut Self::From) -> &mut Self
impl Eq for BorrowedReaperResample
impl StructuralEq for BorrowedReaperResample
impl StructuralPartialEq for BorrowedReaperResample
Auto Trait Implementations
impl RefUnwindSafe for BorrowedReaperResample
impl !Send for BorrowedReaperResample
impl !Sync for BorrowedReaperResample
impl Unpin for BorrowedReaperResample
impl UnwindSafe for BorrowedReaperResample
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