Struct fmod::core::DspConnection
source · pub struct DspConnection { /* private fields */ }Implementations§
source§impl DspConnection
impl DspConnection
sourcepub fn get_input(&self) -> Result<Dsp>
pub fn get_input(&self) -> Result<Dsp>
Retrieves the connection’s input Dsp unit.
If Dsp::add_input was just called, the connection might not be ready because the Dsp system is still queued to be connected,
and may need to wait several milliseconds for the next mix to occur.
If so the function will return FMOD_RESULT::FMOD_ERR_NOTREADY.
sourcepub fn get_output(&self) -> Result<Dsp>
pub fn get_output(&self) -> Result<Dsp>
Retrieves the connection’s output DSP unit.
If Dsp::add_input was just called, the connection might not be ready because the Dsp system is still queued to be connected,
and may need to wait several milliseconds for the next mix to occur.
If so the function will return FMOD_RESULT::FMOD_ERR_NOTREADY.
sourcepub fn get_type(&self) -> Result<DspConnectionType>
pub fn get_type(&self) -> Result<DspConnectionType>
Retrieves the type of the connection between 2 DSP units.
pub fn set_raw_userdata(&self, userdata: *mut c_void) -> Result<()>
pub fn get_raw_userdata(&self) -> Result<*mut c_void>
source§impl DspConnection
impl DspConnection
pub fn set_userdata(&self, userdata: Userdata) -> Result<()>
pub fn get_userdata(&self) -> Result<Option<Userdata>>
Trait Implementations§
source§impl Clone for DspConnection
impl Clone for DspConnection
source§fn clone(&self) -> DspConnection
fn clone(&self) -> DspConnection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DspConnection
impl Debug for DspConnection
source§impl From<*mut FMOD_DSPCONNECTION> for DspConnection
impl From<*mut FMOD_DSPCONNECTION> for DspConnection
source§fn from(value: *mut FMOD_DSPCONNECTION) -> Self
fn from(value: *mut FMOD_DSPCONNECTION) -> Self
Converts to this type from the input type.
source§impl From<DspConnection> for *mut FMOD_DSPCONNECTION
impl From<DspConnection> for *mut FMOD_DSPCONNECTION
source§fn from(value: DspConnection) -> Self
fn from(value: DspConnection) -> Self
Converts to this type from the input type.
source§impl Hash for DspConnection
impl Hash for DspConnection
source§impl PartialEq for DspConnection
impl PartialEq for DspConnection
source§fn eq(&self, other: &DspConnection) -> bool
fn eq(&self, other: &DspConnection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for DspConnection
impl Eq for DspConnection
impl Send for DspConnection
impl StructuralPartialEq for DspConnection
impl Sync for DspConnection
Auto Trait Implementations§
impl Freeze for DspConnection
impl RefUnwindSafe for DspConnection
impl Unpin for DspConnection
impl UnwindSafe for DspConnection
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more