pub enum ScalingList<const S: usize> {
NotPresent,
UseDefault,
List([NonZeroU8; S]),
}Variants§
Implementations§
Source§impl<const S: usize> ScalingList<S>
impl<const S: usize> ScalingList<S>
pub fn read<R: BitRead>( r: &mut R, present: bool, ) -> Result<ScalingList<S>, ScalingMatrixError>
Trait Implementations§
Source§impl<const S: usize> Clone for ScalingList<S>
impl<const S: usize> Clone for ScalingList<S>
Source§fn clone(&self) -> ScalingList<S>
fn clone(&self) -> ScalingList<S>
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<const S: usize> Debug for ScalingList<S>
impl<const S: usize> Debug for ScalingList<S>
Source§impl<const S: usize> PartialEq for ScalingList<S>
impl<const S: usize> PartialEq for ScalingList<S>
impl<const S: usize> Eq for ScalingList<S>
impl<const S: usize> StructuralPartialEq for ScalingList<S>
Auto Trait Implementations§
impl<const S: usize> Freeze for ScalingList<S>
impl<const S: usize> RefUnwindSafe for ScalingList<S>
impl<const S: usize> Send for ScalingList<S>
impl<const S: usize> Sync for ScalingList<S>
impl<const S: usize> Unpin for ScalingList<S>
impl<const S: usize> UnwindSafe for ScalingList<S>
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