#[repr(C)]pub struct TextureSwizzleChannels {
pub red: Swizzle,
pub green: Swizzle,
pub blue: Swizzle,
pub alpha: Swizzle,
}Fields§
§red: Swizzle§green: Swizzle§blue: Swizzle§alpha: SwizzleTrait Implementations§
Source§impl Clone for SwizzleChannels
impl Clone for SwizzleChannels
Source§fn clone(&self) -> SwizzleChannels
fn clone(&self) -> SwizzleChannels
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 SwizzleChannels
Source§impl Debug for SwizzleChannels
impl Debug for SwizzleChannels
Source§impl Default for SwizzleChannels
impl Default for SwizzleChannels
Source§fn default() -> SwizzleChannels
fn default() -> SwizzleChannels
Returns the “default value” for a type. Read more
impl Eq for SwizzleChannels
Source§impl PartialEq for SwizzleChannels
impl PartialEq for SwizzleChannels
Source§fn eq(&self, other: &SwizzleChannels) -> bool
fn eq(&self, other: &SwizzleChannels) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SwizzleChannels
Auto Trait Implementations§
impl Freeze for SwizzleChannels
impl RefUnwindSafe for SwizzleChannels
impl Send for SwizzleChannels
impl Sync for SwizzleChannels
impl Unpin for SwizzleChannels
impl UnsafeUnpin for SwizzleChannels
impl UnwindSafe for SwizzleChannels
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