#[non_exhaustive]pub enum SignalRange {
Full,
Narrow,
}Expand description
Full re-export of zenpixels core types (zero module name collisions!).
Signal quantization range for integer samples.
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.
Full
Full range (0..=255 in U8, 0..=65535 in U16).
Narrow
Broadcast studio / limited swing (16..=235 in U8, 4096..=60160 in U16).
Trait Implementations§
Source§impl Clone for SignalRange
impl Clone for SignalRange
Source§fn clone(&self) -> SignalRange
fn clone(&self) -> SignalRange
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 Copy for SignalRange
Source§impl Debug for SignalRange
impl Debug for SignalRange
Source§impl Default for SignalRange
impl Default for SignalRange
Source§fn default() -> SignalRange
fn default() -> SignalRange
Returns the “default value” for a type. Read more
impl Eq for SignalRange
Source§impl Hash for SignalRange
impl Hash for SignalRange
Source§impl PartialEq for SignalRange
impl PartialEq for SignalRange
impl StructuralPartialEq for SignalRange
Auto Trait Implementations§
impl Freeze for SignalRange
impl RefUnwindSafe for SignalRange
impl Send for SignalRange
impl Sync for SignalRange
impl Unpin for SignalRange
impl UnsafeUnpin for SignalRange
impl UnwindSafe for SignalRange
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