pub struct Levels {
pub default: Option<i32>,
pub sweep: &'static [i32],
}Expand description
A codec’s level row. default is None for codecs without levels;
sweep is ascending, includes default, and is empty for those codecs
(they get one row).
Fields§
§default: Option<i32>§sweep: &'static [i32]Trait Implementations§
impl Copy for Levels
impl Eq for Levels
impl StructuralPartialEq for Levels
Auto Trait Implementations§
impl Forget for Levels
impl Freeze for Levels
impl RefUnwindSafe for Levels
impl Send for Levels
impl Sync for Levels
impl Unpin for Levels
impl UnsafeUnpin for Levels
impl UnwindSafe for Levels
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.