Struct rsmpeg::avformat::AVIOContext [−][src]
pub struct AVIOContext { /* fields omitted */ }
Implementations
impl AVIOContext
[src]
impl AVIOContext
[src]pub fn as_ptr(&self) -> *const AVIOContext
[src]
pub fn as_mut_ptr(&mut self) -> *mut AVIOContext
[src]
pub unsafe fn set_ptr(&mut self, ptr: NonNull<AVIOContext>)
[src]
pub unsafe fn set_ptr(&mut self, ptr: NonNull<AVIOContext>)
[src]Safety
This function should only be called when the pointer is valid and the data it’s pointing to can be dropped.
pub unsafe fn from_raw(raw: NonNull<AVIOContext>) -> Self
[src]
pub unsafe fn from_raw(raw: NonNull<AVIOContext>) -> Self
[src]Safety
This function should only be called when the pointer is valid and the data it’s pointing to can be dropped.
pub fn into_raw(self) -> NonNull<AVIOContext>
[src]
impl AVIOContext
[src]
impl AVIOContext
[src]pub fn open(url: &CStr, flags: u32) -> Result<Self>
[src]
pub fn open(url: &CStr, flags: u32) -> Result<Self>
[src]Create and initialize a AVIOContext
for accessing the resource indicated
by url.
When the resource indicated by url has been opened in read+write mode,
the AVIOContext
can be used only for writing.
Trait Implementations
impl Deref for AVIOContext
[src]
impl Deref for AVIOContext
[src]type Target = AVIOContext
type Target = AVIOContext
The resulting type after dereferencing.