Enum 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
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§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
)