#[non_exhaustive]#[repr(u32)]pub enum StdVideoH264MemMgmtControlOp {
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_END = 0,
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_UNMARK_SHORT_TERM = 1,
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_UNMARK_LONG_TERM = 2,
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_MARK_LONG_TERM = 3,
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_SET_MAX_LONG_TERM_INDEX = 4,
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_UNMARK_ALL = 5,
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_MARK_CURRENT_AS_LONG_TERM = 6,
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_INVALID = 2_147_483_647,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_END = 0
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_UNMARK_SHORT_TERM = 1
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_UNMARK_LONG_TERM = 2
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_MARK_LONG_TERM = 3
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_SET_MAX_LONG_TERM_INDEX = 4
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_UNMARK_ALL = 5
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_MARK_CURRENT_AS_LONG_TERM = 6
STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_INVALID = 2_147_483_647
Implementations§
Source§impl StdVideoH264MemMgmtControlOp
impl StdVideoH264MemMgmtControlOp
pub const STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_MAX_ENUM: StdVideoH264MemMgmtControlOp = StdVideoH264MemMgmtControlOp::STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_INVALID
Trait Implementations§
Source§impl Clone for StdVideoH264MemMgmtControlOp
impl Clone for StdVideoH264MemMgmtControlOp
Source§fn clone(&self) -> StdVideoH264MemMgmtControlOp
fn clone(&self) -> StdVideoH264MemMgmtControlOp
Returns a duplicate 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 StdVideoH264MemMgmtControlOp
impl Debug for StdVideoH264MemMgmtControlOp
Source§impl Hash for StdVideoH264MemMgmtControlOp
impl Hash for StdVideoH264MemMgmtControlOp
Source§impl PartialEq for StdVideoH264MemMgmtControlOp
impl PartialEq for StdVideoH264MemMgmtControlOp
Source§fn eq(&self, other: &StdVideoH264MemMgmtControlOp) -> bool
fn eq(&self, other: &StdVideoH264MemMgmtControlOp) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StdVideoH264MemMgmtControlOp
impl Eq for StdVideoH264MemMgmtControlOp
impl StructuralPartialEq for StdVideoH264MemMgmtControlOp
Auto Trait Implementations§
impl Freeze for StdVideoH264MemMgmtControlOp
impl RefUnwindSafe for StdVideoH264MemMgmtControlOp
impl Send for StdVideoH264MemMgmtControlOp
impl Sync for StdVideoH264MemMgmtControlOp
impl Unpin for StdVideoH264MemMgmtControlOp
impl UnwindSafe for StdVideoH264MemMgmtControlOp
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