#[non_exhaustive]#[repr(u32)]pub enum StdVideoH264SliceType {
STD_VIDEO_H264_SLICE_TYPE_P = 0,
STD_VIDEO_H264_SLICE_TYPE_B = 1,
STD_VIDEO_H264_SLICE_TYPE_I = 2,
STD_VIDEO_H264_SLICE_TYPE_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_SLICE_TYPE_P = 0
STD_VIDEO_H264_SLICE_TYPE_B = 1
STD_VIDEO_H264_SLICE_TYPE_I = 2
STD_VIDEO_H264_SLICE_TYPE_INVALID = 2_147_483_647
Implementations§
Source§impl StdVideoH264SliceType
impl StdVideoH264SliceType
pub const STD_VIDEO_H264_SLICE_TYPE_MAX_ENUM: StdVideoH264SliceType = StdVideoH264SliceType::STD_VIDEO_H264_SLICE_TYPE_INVALID
Trait Implementations§
Source§impl Clone for StdVideoH264SliceType
impl Clone for StdVideoH264SliceType
Source§fn clone(&self) -> StdVideoH264SliceType
fn clone(&self) -> StdVideoH264SliceType
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 StdVideoH264SliceType
impl Debug for StdVideoH264SliceType
Source§impl Hash for StdVideoH264SliceType
impl Hash for StdVideoH264SliceType
Source§impl PartialEq for StdVideoH264SliceType
impl PartialEq for StdVideoH264SliceType
impl Copy for StdVideoH264SliceType
impl Eq for StdVideoH264SliceType
impl StructuralPartialEq for StdVideoH264SliceType
Auto Trait Implementations§
impl Freeze for StdVideoH264SliceType
impl RefUnwindSafe for StdVideoH264SliceType
impl Send for StdVideoH264SliceType
impl Sync for StdVideoH264SliceType
impl Unpin for StdVideoH264SliceType
impl UnwindSafe for StdVideoH264SliceType
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