Enum symphonia_core::meta::ColorMode
source · pub enum ColorMode {
Discrete,
Indexed(NonZeroU32),
}
Expand description
ColorMode
indicates how the color of a pixel is encoded in a Visual
.
Variants§
Discrete
Each pixel in the Visual
stores its own color information.
Indexed(NonZeroU32)
Each pixel in the Visual
stores an index into a color palette containing the color
information. The value stored by this variant indicates the number of colors in the color
palette.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ColorMode
impl RefUnwindSafe for ColorMode
impl Send for ColorMode
impl Sync for ColorMode
impl Unpin for ColorMode
impl UnwindSafe for ColorMode
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)