pub struct WideSelector<const BITS: u32> { /* private fields */ }Expand description
A Selector over a list too long for a byte — a waveform, a sample slot.
Implementations§
Trait Implementations§
Source§impl<const BITS: u32> Clone for WideSelector<BITS>
impl<const BITS: u32> Clone for WideSelector<BITS>
Source§fn clone(&self) -> WideSelector<BITS>
fn clone(&self) -> WideSelector<BITS>
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 moreimpl<const BITS: u32> Copy for WideSelector<BITS>
Source§impl<const BITS: u32> Debug for WideSelector<BITS>
impl<const BITS: u32> Debug for WideSelector<BITS>
Source§impl<const BITS: u32> Default for WideSelector<BITS>
impl<const BITS: u32> Default for WideSelector<BITS>
Source§impl<const BITS: u32> Display for WideSelector<BITS>
impl<const BITS: u32> Display for WideSelector<BITS>
impl<const BITS: u32> Eq for WideSelector<BITS>
Source§impl<const BITS: u32> Hash for WideSelector<BITS>
impl<const BITS: u32> Hash for WideSelector<BITS>
Source§impl<const BITS: u32> Ord for WideSelector<BITS>
impl<const BITS: u32> Ord for WideSelector<BITS>
Source§fn cmp(&self, other: &WideSelector<BITS>) -> Ordering
fn cmp(&self, other: &WideSelector<BITS>) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<const BITS: u32> Packed for WideSelector<BITS>
impl<const BITS: u32> Packed for WideSelector<BITS>
Source§const MAX_BITS: u32
const MAX_BITS: u32
Bits the widest value of this type occupies. Used to check statically that it
fits its slot.
Source§const DECODE_BITS: u32 = u16::BITS
const DECODE_BITS: u32 = u16::BITS
Widest slot this type can decode without losing bits on re-encoding. Read more
Source§const CONTROL: ControlKind = ControlKind::Selector
const CONTROL: ControlKind = ControlKind::Selector
Which panel control this value is, for a caller building an interface over the
field registry. Read more
Source§type Error = !
type Error = !
Why a bit pattern is not a valid value.
Infallible when every pattern is.Source§impl<const BITS: u32> PartialEq for WideSelector<BITS>
impl<const BITS: u32> PartialEq for WideSelector<BITS>
Source§impl<const BITS: u32> PartialOrd for WideSelector<BITS>
impl<const BITS: u32> PartialOrd for WideSelector<BITS>
impl<const BITS: u32> StructuralPartialEq for WideSelector<BITS>
Auto Trait Implementations§
impl<const BITS: u32> Freeze for WideSelector<BITS>
impl<const BITS: u32> RefUnwindSafe for WideSelector<BITS>
impl<const BITS: u32> Send for WideSelector<BITS>
impl<const BITS: u32> Sync for WideSelector<BITS>
impl<const BITS: u32> Unpin for WideSelector<BITS>
impl<const BITS: u32> UnsafeUnpin for WideSelector<BITS>
impl<const BITS: u32> UnwindSafe for WideSelector<BITS>
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.