#[repr(C, packed(4))]pub struct AsioBufferInfo {
pub is_input: c_long,
pub channel_num: c_long,
pub buffers: [*mut c_void; 2],
}Expand description
Gives information about buffers Receives pointers to buffers
Fields§
§is_input: c_long0 for output 1 for input
channel_num: c_longWhich 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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AsioBufferInfo
impl Debug for AsioBufferInfo
impl Copy for AsioBufferInfo
Auto Trait Implementations§
impl Freeze for AsioBufferInfo
impl RefUnwindSafe for AsioBufferInfo
impl !Send for AsioBufferInfo
impl !Sync for AsioBufferInfo
impl Unpin for AsioBufferInfo
impl UnwindSafe for AsioBufferInfo
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)