#[repr(C)]pub struct AVBufferRef {
pub buffer: *mut AVBuffer,
pub data: *mut u8,
pub size: usize,
}展开描述
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 u8The 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: usizeSize of data in bytes.
trait 实现§
源代码§impl Clone for AVBufferRef
impl Clone for AVBufferRef
源代码§fn clone(&self) -> AVBufferRef
fn clone(&self) -> AVBufferRef
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl Debug for AVBufferRef
impl Debug for AVBufferRef
源代码§impl PartialEq for AVBufferRef
impl PartialEq for AVBufferRef
impl Copy for AVBufferRef
impl Eq for AVBufferRef
impl StructuralPartialEq for AVBufferRef
自动 trait 实现§
impl Freeze for AVBufferRef
impl RefUnwindSafe for AVBufferRef
impl !Send for AVBufferRef
impl !Sync for AVBufferRef
impl Unpin for AVBufferRef
impl UnsafeUnpin for AVBufferRef
impl UnwindSafe for AVBufferRef
blanket 实现§
源代码§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
从拥有的值可变地借用。 阅读更多