pub struct DspConnection { /* private fields */ }Implementations§
Source§impl DspConnection
impl DspConnection
pub fn from(pointer: *mut FMOD_DSPCONNECTION) -> Self
pub fn as_mut_ptr(&self) -> *mut FMOD_DSPCONNECTION
pub fn get_input(&self) -> Result<Dsp, Error>
pub fn get_output(&self) -> Result<Dsp, Error>
pub fn set_mix(&self, volume: f32) -> Result<(), Error>
pub fn get_mix(&self) -> Result<f32, Error>
pub fn set_mix_matrix( &self, matrix: Option<*mut f32>, outchannels: i32, inchannels: i32, inchannel_hop: Option<i32>, ) -> Result<(), Error>
pub fn get_mix_matrix( &self, inchannel_hop: Option<i32>, ) -> Result<(f32, i32, i32), Error>
pub fn get_type(&self) -> Result<DspConnectionType, Error>
pub fn set_user_data(&self, userdata: *mut c_void) -> Result<(), Error>
pub fn get_user_data(&self) -> Result<*mut c_void, Error>
Trait Implementations§
Source§impl Clone for DspConnection
impl Clone for DspConnection
Source§fn clone(&self) -> DspConnection
fn clone(&self) -> DspConnection
Returns a duplicate 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
impl Copy for DspConnection
impl Send 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