#[repr(i32)]pub enum ColorChannelSelect {
RGB = 0,
RGBA = 1,
Alpha = 2,
Red = 3,
Green = 4,
Blue = 5,
}Expand description
Color channel selection (LAYR.colorType)
Variants§
RGB = 0
Use RGB channels (alpha forced to 1)
RGBA = 1
Use all RGBA channels
Alpha = 2
Use alpha channel only (splat to all)
Red = 3
Use red channel only (splat to all)
Green = 4
Use green channel only (splat to all)
Blue = 5
Use blue channel only (splat to all)
Trait Implementations§
Source§impl Clone for ColorChannelSelect
impl Clone for ColorChannelSelect
Source§fn clone(&self) -> ColorChannelSelect
fn clone(&self) -> ColorChannelSelect
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 ColorChannelSelect
Source§impl Debug for ColorChannelSelect
impl Debug for ColorChannelSelect
impl Eq for ColorChannelSelect
Source§impl Hash for ColorChannelSelect
impl Hash for ColorChannelSelect
Source§impl PartialEq for ColorChannelSelect
impl PartialEq for ColorChannelSelect
impl StructuralPartialEq for ColorChannelSelect
Auto Trait Implementations§
impl Freeze for ColorChannelSelect
impl RefUnwindSafe for ColorChannelSelect
impl Send for ColorChannelSelect
impl Sync for ColorChannelSelect
impl Unpin for ColorChannelSelect
impl UnsafeUnpin for ColorChannelSelect
impl UnwindSafe for ColorChannelSelect
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