#[repr(C, packed(4))]pub struct AsioBufferInfo {
pub is_input: i32,
pub channel_num: i32,
pub buffers: [*mut c_void; 2],
}Expand description
Gives information about buffers Receives pointers to buffers
Fields§
§is_input: i320 for output 1 for input
channel_num: i32Which channel. Starts at 0
buffers: [*mut c_void; 2]Pointer to each half of the double buffer.
Trait Implementations§
Source§impl Clone for AsioBufferInfo
impl Clone for AsioBufferInfo
Source§fn clone(&self) -> AsioBufferInfo
fn clone(&self) -> AsioBufferInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AsioBufferInfo
Auto Trait Implementations§
impl !Send for AsioBufferInfo
impl !Sync for AsioBufferInfo
impl Freeze for AsioBufferInfo
impl RefUnwindSafe for AsioBufferInfo
impl Unpin for AsioBufferInfo
impl UnsafeUnpin for AsioBufferInfo
impl UnwindSafe for AsioBufferInfo
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