Struct gstreamer_audio_sys::GstAudioBuffer
source · #[repr(C)]pub struct GstAudioBuffer {
pub info: GstAudioInfo,
pub n_samples: size_t,
pub n_planes: c_int,
pub planes: *mut gpointer,
pub buffer: *mut GstBuffer,
pub map_infos: *mut GstMapInfo,
pub priv_planes_arr: [gpointer; 8],
pub priv_map_infos_arr: [GstMapInfo; 8],
pub _gst_reserved: [gpointer; 4],
}
Fields§
§info: GstAudioInfo
§n_samples: size_t
§n_planes: c_int
§planes: *mut gpointer
§buffer: *mut GstBuffer
§map_infos: *mut GstMapInfo
§priv_planes_arr: [gpointer; 8]
§priv_map_infos_arr: [GstMapInfo; 8]
§_gst_reserved: [gpointer; 4]
Trait Implementations§
source§impl Clone for GstAudioBuffer
impl Clone for GstAudioBuffer
source§fn clone(&self) -> GstAudioBuffer
fn clone(&self) -> GstAudioBuffer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GstAudioBuffer
impl Debug for GstAudioBuffer
impl Copy for GstAudioBuffer
Auto Trait Implementations§
impl Freeze for GstAudioBuffer
impl RefUnwindSafe for GstAudioBuffer
impl !Send for GstAudioBuffer
impl !Sync for GstAudioBuffer
impl Unpin for GstAudioBuffer
impl UnwindSafe for GstAudioBuffer
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)