Struct ffmpeg_next::util::dictionary::Owned
source · [−]pub struct Owned<'a> { /* private fields */ }
Implementations
sourceimpl<'a> Owned<'a>
impl<'a> Owned<'a>
pub unsafe fn own(ptr: *mut AVDictionary) -> Self
pub unsafe fn disown(self) -> *mut AVDictionary
Methods from Deref<Target = Ref<'a>>
pub unsafe fn as_mut_ptr(&self) -> *mut AVDictionary
Methods from Deref<Target = Ref<'a>>
pub unsafe fn as_ptr(&self) -> *const AVDictionary
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Owned<'a>
impl<'a> !Send for Owned<'a>
impl<'a> !Sync for Owned<'a>
impl<'a> Unpin for Owned<'a>
impl<'a> UnwindSafe for Owned<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more