Enum godot::builtin::ColorChannelOrder
pub enum ColorChannelOrder {
RGBA,
ABGR,
ARGB,
}
Expand description
Defines how individual color channels are laid out in memory.
Variants§
RGBA
RGBA channel order. Godot’s default.
ABGR
ABGR channel order. Reverse of the default RGBA order.
ARGB
ARGB channel order. More compatible with DirectX.
Trait Implementations§
§impl Clone for ColorChannelOrder
impl Clone for ColorChannelOrder
§fn clone(&self) -> ColorChannelOrder
fn clone(&self) -> ColorChannelOrder
Returns a copy 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 more§impl Debug for ColorChannelOrder
impl Debug for ColorChannelOrder
§impl PartialEq for ColorChannelOrder
impl PartialEq for ColorChannelOrder
§fn eq(&self, other: &ColorChannelOrder) -> bool
fn eq(&self, other: &ColorChannelOrder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ColorChannelOrder
impl Eq for ColorChannelOrder
impl StructuralPartialEq for ColorChannelOrder
Auto Trait Implementations§
impl Freeze for ColorChannelOrder
impl RefUnwindSafe for ColorChannelOrder
impl Send for ColorChannelOrder
impl Sync for ColorChannelOrder
impl Unpin for ColorChannelOrder
impl UnwindSafe for ColorChannelOrder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)