#[repr(C)]pub struct AVBufferRef {
pub buffer: *mut AVBuffer,
pub data: *mut u8,
pub size: c_int,
}
Expand description
A reference to a data buffer.
The size of this struct is not a part of the public ABI and it is not meant to be allocated directly.
Fields§
§buffer: *mut AVBuffer
§data: *mut u8
The data buffer. It is considered writable if and only if this is the only reference to the buffer, in which case av_buffer_is_writable() returns 1.
size: c_int
Size of data in bytes.
Trait Implementations§
Source§impl Clone for AVBufferRef
impl Clone for AVBufferRef
Source§fn clone(&self) -> AVBufferRef
fn clone(&self) -> AVBufferRef
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 AVBufferRef
impl Debug for AVBufferRef
impl Copy for AVBufferRef
Auto Trait Implementations§
impl Freeze for AVBufferRef
impl RefUnwindSafe for AVBufferRef
impl !Send for AVBufferRef
impl !Sync for AVBufferRef
impl Unpin for AVBufferRef
impl UnwindSafe for AVBufferRef
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