[][src]Struct miniaudio_sys::ma_rb

#[repr(C)]pub struct ma_rb {
    pub pBuffer: *mut c_void,
    pub subbufferSizeInBytes: ma_uint32,
    pub subbufferCount: ma_uint32,
    pub subbufferStrideInBytes: ma_uint32,
    pub encodedReadOffset: ma_uint32,
    pub encodedWriteOffset: ma_uint32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub allocationCallbacks: ma_allocation_callbacks,
}

Ring Buffer

Fields

pBuffer: *mut c_voidsubbufferSizeInBytes: ma_uint32subbufferCount: ma_uint32subbufferStrideInBytes: ma_uint32encodedReadOffset: ma_uint32encodedWriteOffset: ma_uint32_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>allocationCallbacks: ma_allocation_callbacks

Methods

impl ma_rb[src]

pub fn ownsBuffer(&self) -> ma_bool32[src]

pub fn set_ownsBuffer(&mut self, val: ma_bool32)[src]

pub fn clearOnWriteAcquire(&self) -> ma_bool32[src]

pub fn set_clearOnWriteAcquire(&mut self, val: ma_bool32)[src]

pub fn new_bitfield_1(
    ownsBuffer: ma_bool32,
    clearOnWriteAcquire: ma_bool32
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for ma_rb[src]

impl Copy for ma_rb[src]

impl Debug for ma_rb[src]

Auto Trait Implementations

impl RefUnwindSafe for ma_rb

impl !Send for ma_rb

impl !Sync for ma_rb

impl Unpin for ma_rb

impl UnwindSafe for ma_rb

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.