pub struct Const<'a, T>(/* private fields */);
Expand description
Const is an owned value which is immutable, but also has a lifetime. This value exists because ffmpeg often has values that we ‘own’ but is linked to some lifetime.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Const<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for Const<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Const<'a, T>where
T: Send,
impl<'a, T> Sync for Const<'a, T>where
T: Sync,
impl<'a, T> Unpin for Const<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for Const<'a, T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T, A, P> Access<T> for P
impl<T, A, P> Access<T> for P
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