#[repr(C)]pub enum ChannelOrder {
Show 20 variants
R = 4_272,
A = 4_273,
RG = 4_274,
RA = 4_275,
RGB = 4_276,
RGBA = 4_277,
BGRA = 4_278,
ARGB = 4_279,
Intensity = 4_280,
Luminance = 4_281,
Rx = 4_282,
RGx = 4_283,
RGBx = 4_284,
Depth = 4_285,
DepthStencil = 4_286,
sRGB = 4_287,
sRGBx = 4_288,
sRGBA = 4_289,
sBGRA = 4_290,
ABGR = 4_291,
}
Variants§
R = 4_272
A = 4_273
RG = 4_274
RA = 4_275
RGB = 4_276
RGBA = 4_277
BGRA = 4_278
ARGB = 4_279
Intensity = 4_280
Luminance = 4_281
Rx = 4_282
RGx = 4_283
RGBx = 4_284
Depth = 4_285
DepthStencil = 4_286
sRGB = 4_287
sRGBx = 4_288
sRGBA = 4_289
sBGRA = 4_290
ABGR = 4_291
Trait Implementations§
Source§impl Clone for ChannelOrder
impl Clone for ChannelOrder
Source§fn clone(&self) -> ChannelOrder
fn clone(&self) -> ChannelOrder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChannelOrder
impl Debug for ChannelOrder
Source§impl From<&ChannelOrder> for cl_channel_order
impl From<&ChannelOrder> for cl_channel_order
Source§fn from(source_value: &ChannelOrder) -> cl_channel_order
fn from(source_value: &ChannelOrder) -> cl_channel_order
Converts to this type from the input type.
Source§impl From<ChannelOrder> for cl_channel_order
impl From<ChannelOrder> for cl_channel_order
Source§fn from(source_value: ChannelOrder) -> cl_channel_order
fn from(source_value: ChannelOrder) -> cl_channel_order
Converts to this type from the input type.
Source§impl From<u32> for ChannelOrder
impl From<u32> for ChannelOrder
Source§fn from(dest_value: cl_channel_order) -> ChannelOrder
fn from(dest_value: cl_channel_order) -> ChannelOrder
Converts to this type from the input type.
Source§impl Hash for ChannelOrder
impl Hash for ChannelOrder
Source§impl PartialEq for ChannelOrder
impl PartialEq for ChannelOrder
Source§impl PartialOrd for ChannelOrder
impl PartialOrd for ChannelOrder
impl Copy for ChannelOrder
impl Eq for ChannelOrder
impl StructuralPartialEq for ChannelOrder
Auto Trait Implementations§
impl Freeze for ChannelOrder
impl RefUnwindSafe for ChannelOrder
impl Send for ChannelOrder
impl Sync for ChannelOrder
impl Unpin for ChannelOrder
impl UnwindSafe for ChannelOrder
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