pub struct DictionaryRef<'d> { /* private fields */ }Implementations§
Source§impl<'d> DictionaryRef<'d>
impl<'d> DictionaryRef<'d>
pub unsafe fn from_raw(ptr: *const AVDictionary) -> Self
pub fn as_ptr(&self) -> *const AVDictionary
Source§impl<'a> DictionaryRef<'a>
impl<'a> DictionaryRef<'a>
Source§impl<'a> DictionaryRef<'a>
impl<'a> DictionaryRef<'a>
Sourcepub fn get_with_flags<K: AsRef<str>>(
&self,
key: K,
flags: Flags,
) -> Option<&str>
pub fn get_with_flags<K: AsRef<str>>( &self, key: K, flags: Flags, ) -> Option<&str>
Try to find a value in the dictionary, using custom search flags.
See Flags to see how each flag works.
Using Flags::DONT_STRDUP_KEY is heavily discouraged unless you
know what you are doing.
Source§impl<'a> DictionaryRef<'a>
impl<'a> DictionaryRef<'a>
Source§impl<'a> DictionaryRef<'a>
impl<'a> DictionaryRef<'a>
Source§impl<'a> DictionaryRef<'a>
impl<'a> DictionaryRef<'a>
Source§impl<'d> DictionaryRef<'d>
impl<'d> DictionaryRef<'d>
Sourcepub fn to_owned(&self) -> Dictionary
pub fn to_owned(&self) -> Dictionary
Clones the borrowed data into an owned Dictionary.
Trait Implementations§
Source§impl<'d> AsPtr<AVDictionary> for DictionaryRef<'d>
impl<'d> AsPtr<AVDictionary> for DictionaryRef<'d>
Source§fn as_ptr(&self) -> *const AVDictionary
fn as_ptr(&self) -> *const AVDictionary
Returns a *const raw pointer to the underlying FFmpeg type.
Source§impl<'a> Debug for DictionaryRef<'a>
impl<'a> Debug for DictionaryRef<'a>
Source§impl<'a> IntoIterator for &'a DictionaryRef<'a>
impl<'a> IntoIterator for &'a DictionaryRef<'a>
Auto Trait Implementations§
impl<'d> Freeze for DictionaryRef<'d>
impl<'d> RefUnwindSafe for DictionaryRef<'d>
impl<'d> !Send for DictionaryRef<'d>
impl<'d> !Sync for DictionaryRef<'d>
impl<'d> Unpin for DictionaryRef<'d>
impl<'d> UnsafeUnpin for DictionaryRef<'d>
impl<'d> UnwindSafe for DictionaryRef<'d>
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