#[non_exhaustive]pub enum DepthRangeBody<'a> {
ProductionDisparityHint {
max: i16,
min: i16,
},
MultiRegionSei,
Other(&'a [u8]),
}Expand description
Body of a DepthRange, keyed on range_type (Table 161).
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.
ProductionDisparityHint
0x00 — production_disparity_hint_info() (Table 162).
Two 12-bit two’s-complement signed values packed into 3 bytes.
Fields
MultiRegionSei
0x01 — multi-region SEI present (empty body).
Other(&'a [u8])
Any other range_type: raw range_selector bytes.
Trait Implementations§
Source§impl<'a> Clone for DepthRangeBody<'a>
impl<'a> Clone for DepthRangeBody<'a>
Source§fn clone(&self) -> DepthRangeBody<'a>
fn clone(&self) -> DepthRangeBody<'a>
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 moreSource§impl<'a> Debug for DepthRangeBody<'a>
impl<'a> Debug for DepthRangeBody<'a>
impl<'a> Eq for DepthRangeBody<'a>
Source§impl<'a> PartialEq for DepthRangeBody<'a>
impl<'a> PartialEq for DepthRangeBody<'a>
Source§fn eq(&self, other: &DepthRangeBody<'a>) -> bool
fn eq(&self, other: &DepthRangeBody<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for DepthRangeBody<'a>
impl<'a> Serialize for DepthRangeBody<'a>
impl<'a> StructuralPartialEq for DepthRangeBody<'a>
Source§impl<'a> Yokeable<'a> for DepthRangeBody<'static>
impl<'a> Yokeable<'a> for DepthRangeBody<'static>
Source§type Output = DepthRangeBody<'a>
type Output = DepthRangeBody<'a>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for DepthRangeBody<'a>
impl<'a> RefUnwindSafe for DepthRangeBody<'a>
impl<'a> Send for DepthRangeBody<'a>
impl<'a> Sync for DepthRangeBody<'a>
impl<'a> Unpin for DepthRangeBody<'a>
impl<'a> UnsafeUnpin for DepthRangeBody<'a>
impl<'a> UnwindSafe for DepthRangeBody<'a>
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