Struct voicemeeter::interface::callback::data::BufferOutData
source · pub struct BufferOutData<'a> {
pub read: ReadDevices<'a, 'a>,
pub write: WriteDevices<'a, 'a>,
}
Available on crate feature
interface
only.Expand description
Buffer for output mode.
Retrieved via CallbackCommand::BufferOut
Fields§
§read: ReadDevices<'a, 'a>
Read
write: WriteDevices<'a, 'a>
Write
Implementations§
source§impl<'a> BufferOutData<'a>
impl<'a> BufferOutData<'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 BufferOutData<'a>
impl<'a> Send for BufferOutData<'a>
impl<'a> Sync for BufferOutData<'a>
impl<'a> Unpin for BufferOutData<'a>
impl<'a> !UnwindSafe for BufferOutData<'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