#[repr(C)]pub enum VideoSubFormat {
CvPixelBufferRef = 0,
D3D11 = 1,
SW = 2,
}
Expand description
Subtype of the video frame.
Variants§
CvPixelBufferRef = 0
This video frame is from Core video, a type exclusive to the Macos platform.
D3D11 = 1
Inside this video frame is ID3D11Texture2D.
SW = 2
Video frames contain buffers that can be accessed directly through software.
Trait Implementations§
Source§impl Clone for VideoSubFormat
impl Clone for VideoSubFormat
Source§fn clone(&self) -> VideoSubFormat
fn clone(&self) -> VideoSubFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VideoSubFormat
impl Debug for VideoSubFormat
Source§impl PartialEq for VideoSubFormat
impl PartialEq for VideoSubFormat
impl Copy for VideoSubFormat
impl Eq for VideoSubFormat
impl StructuralPartialEq for VideoSubFormat
Auto Trait Implementations§
impl Freeze for VideoSubFormat
impl RefUnwindSafe for VideoSubFormat
impl Send for VideoSubFormat
impl Sync for VideoSubFormat
impl Unpin for VideoSubFormat
impl UnwindSafe for VideoSubFormat
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