Struct voicemeeter::interface::callback::data::BufferInData
source · pub struct BufferInData<'a> {
pub read: ReadDevices<'a, 'a>,
pub write: WriteDevices<'a, 'a>,
}
Available on crate feature
interface
only.Expand description
Buffer for input mode.
Retrieved via CallbackCommand::BufferIn
Fields§
§read: ReadDevices<'a, 'a>
Read
write: WriteDevices<'a, 'a>
Write
Implementations§
source§impl<'a> BufferInData<'a>
impl<'a> BufferInData<'a>
sourcepub fn get_buffers(self) -> (ReadDevices<'a, 'a>, WriteDevices<'a, 'a>)
pub fn get_buffers(self) -> (ReadDevices<'a, 'a>, WriteDevices<'a, 'a>)
Convenience function to get the read and write buffers
let (read, mut write) = data.buffer.get_buffers();
Auto Trait Implementations§
impl<'a> RefUnwindSafe for BufferInData<'a>
impl<'a> Send for BufferInData<'a>
impl<'a> Sync for BufferInData<'a>
impl<'a> Unpin for BufferInData<'a>
impl<'a> !UnwindSafe for BufferInData<'a>
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