pub struct PartMix { /* private fields */ }Expand description
The balance between a split’s lower and upper parts, as a 0..=127 crossfade.
⚠️ Each side is clamped at 50, so the pair does not sum to 100 — a stored 16 reads
as 50.0/12.6.
Implementations§
Trait Implementations§
impl Copy for PartMix
impl Eq for PartMix
Source§impl Packed for PartMix
impl Packed for PartMix
Source§const MAX_BITS: u32 = 7
const MAX_BITS: u32 = 7
Bits the widest value of this type occupies. Used to check statically that it
fits its slot.
Source§const DECODE_BITS: u32 = u8::BITS
const DECODE_BITS: u32 = u8::BITS
Widest slot this type can decode without losing bits on re-encoding. Read more
Source§const CONTROL: ControlKind
const CONTROL: ControlKind
Which panel control this value is, for a caller building an interface over the
field registry. Read more
Source§type Error = ParseError
type Error = ParseError
Why a bit pattern is not a valid value.
Infallible when every pattern is.impl StructuralPartialEq for PartMix
Auto Trait Implementations§
impl Freeze for PartMix
impl RefUnwindSafe for PartMix
impl Send for PartMix
impl Sync for PartMix
impl Unpin for PartMix
impl UnsafeUnpin for PartMix
impl UnwindSafe for PartMix
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.