Struct rsmpeg::avutil::AVDictionaryRef [−][src]
pub struct AVDictionaryRef<'a> { /* fields omitted */ }
Implementations
impl<'a> AVDictionaryRef<'a>
[src]
impl<'a> AVDictionaryRef<'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 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 AVDictionaryRef<'a>
[src]
impl<'a> Deref for AVDictionaryRef<'a>
[src]type Target = AVDictionary
type Target = AVDictionary
The resulting type after dereferencing.