Struct rsmpeg::avutil::AVDictionaryMut [−][src]
pub struct AVDictionaryMut<'a> { /* fields omitted */ }
Implementations
impl<'a> AVDictionaryMut<'a>
[src]
impl<'a> AVDictionaryMut<'a>
[src]pub unsafe fn from_raw(raw: NonNull<AVDictionary>) -> Self
[src]
pub unsafe fn from_raw(raw: NonNull<AVDictionary>) -> Self
[src]Safety
This function should only be called when raw
is valid and can
be dropped. Please ensure its lifetime when used.
Methods from Deref<Target = AVDictionary>
pub fn as_ptr(&self) -> *const AVDictionary
[src]
pub fn as_mut_ptr(&mut self) -> *mut AVDictionary
[src]
pub unsafe fn set_ptr(&mut self, ptr: NonNull<AVDictionary>)
[src]
pub unsafe fn set_ptr(&mut self, ptr: NonNull<AVDictionary>)
[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 get(
&'dict self,
key: &CStr,
prev: Option<AVDictionaryEntryRef<'_>>,
flags: u32
) -> Option<AVDictionaryEntryRef<'dict>>
[src]
pub fn get(
&'dict self,
key: &CStr,
prev: Option<AVDictionaryEntryRef<'_>>,
flags: u32
) -> Option<AVDictionaryEntryRef<'dict>>
[src]Get a dictionary entry with matching key.
The returned entry key or value must not be changed, or it will cause undefined behavior.
To iterate through all the dictionary entries, you can set the matching key to the null string “” and set the AV_DICT_IGNORE_SUFFIX flag.
Trait Implementations
impl<'a> Deref for AVDictionaryMut<'a>
[src]
impl<'a> Deref for AVDictionaryMut<'a>
[src]type Target = AVDictionary
type Target = AVDictionary
The resulting type after dereferencing.
impl<'a> DerefMut for AVDictionaryMut<'a>
[src]
impl<'a> DerefMut for AVDictionaryMut<'a>
[src]