pub struct PictureHEVC(/* private fields */);Expand description
Wrapper over the VAPictureH264 FFI type.
Implementations§
Source§impl PictureHEVC
impl PictureHEVC
Sourcepub fn new(picture_id: VASurfaceID, pic_order_cnt: i32, flags: u32) -> Self
pub fn new(picture_id: VASurfaceID, pic_order_cnt: i32, flags: u32) -> Self
Creates the wrapper
Sourcepub fn picture_id(&self) -> u32
pub fn picture_id(&self) -> u32
Returns the picture_id field.
Sourcepub fn pic_order_cnt(&self) -> i32
pub fn pic_order_cnt(&self) -> i32
Returns the pic_order_cnt field.
Trait Implementations§
Source§impl Clone for PictureHEVC
impl Clone for PictureHEVC
Source§fn clone(&self) -> PictureHEVC
fn clone(&self) -> PictureHEVC
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PictureHEVC
Source§impl Debug for PictureHEVC
impl Debug for PictureHEVC
Source§impl Default for PictureHEVC
impl Default for PictureHEVC
Source§fn default() -> PictureHEVC
fn default() -> PictureHEVC
Returns the “default value” for a type. Read more
impl Eq for PictureHEVC
Source§impl PartialEq for PictureHEVC
impl PartialEq for PictureHEVC
Source§fn eq(&self, other: &PictureHEVC) -> bool
fn eq(&self, other: &PictureHEVC) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PictureHEVC
Auto Trait Implementations§
impl Freeze for PictureHEVC
impl RefUnwindSafe for PictureHEVC
impl Send for PictureHEVC
impl Sync for PictureHEVC
impl Unpin for PictureHEVC
impl UnsafeUnpin for PictureHEVC
impl UnwindSafe for PictureHEVC
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