Struct ffmpeg_sys_the_third::AVBufferRef
source · #[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
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
source§impl PartialEq for AVBufferRef
impl PartialEq for AVBufferRef
source§fn eq(&self, other: &AVBufferRef) -> bool
fn eq(&self, other: &AVBufferRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AVBufferRef
impl Eq for AVBufferRef
impl StructuralPartialEq 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