1pub trait AsPtr<T> { 2 /// Returns a *const raw pointer to the underlying FFmpeg type. 3 fn as_ptr(&self) -> *const T; 4} 5 6pub trait AsMutPtr<T> { 7 /// Returns a *mut raw pointer to the underlying FFmpeg type. 8 fn as_mut_ptr(&mut self) -> *mut T; 9}