Struct vapoursynth4_rs::frame::VideoFrame
source · #[repr(transparent)]pub struct VideoFrame { /* private fields */ }Implementations§
source§impl VideoFrame
impl VideoFrame
pub fn stride(&self, plane: i32) -> isize
pub fn plane(&self, plane: i32) -> *const u8
pub fn plane_mut(&mut self, plane: i32) -> *mut u8
pub fn get_video_format(&self) -> &VideoFormat
pub fn get_audio_format(&self) -> &AudioFormat
pub fn get_type(&self) -> MediaType
pub fn frame_width(&self, plane: i32) -> i32
pub fn frame_height(&self, plane: i32) -> i32
Trait Implementations§
source§impl Clone for VideoFrame
impl Clone for VideoFrame
source§impl Debug for VideoFrame
impl Debug for VideoFrame
source§impl Drop for VideoFrame
impl Drop for VideoFrame
source§impl Frame for VideoFrame
impl Frame for VideoFrame
source§impl Hash for VideoFrame
impl Hash for VideoFrame
source§impl PartialEq<VideoFrame> for VideoFrame
impl PartialEq<VideoFrame> for VideoFrame
source§fn eq(&self, other: &VideoFrame) -> bool
fn eq(&self, other: &VideoFrame) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for VideoFrame
impl StructuralEq for VideoFrame
impl StructuralPartialEq for VideoFrame
Auto Trait Implementations§
impl RefUnwindSafe for VideoFrame
impl !Send for VideoFrame
impl !Sync for VideoFrame
impl Unpin for VideoFrame
impl UnwindSafe for VideoFrame
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