pub struct SwizzleSettings {
    pub bgra8_sampling_swizzle: Swizzle,
}Expand description
Swizzle settings of the texture cache.
Fields§
§bgra8_sampling_swizzle: SwizzleSwizzle required on sampling a texture with BGRA8 format.
Trait Implementations§
Source§impl Clone for SwizzleSettings
 
impl Clone for SwizzleSettings
Source§fn clone(&self) -> SwizzleSettings
 
fn clone(&self) -> SwizzleSettings
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 SwizzleSettings
 
impl Debug for SwizzleSettings
Source§impl Hash for SwizzleSettings
 
impl Hash for SwizzleSettings
Source§impl MallocSizeOf for SwizzleSettings
 
impl MallocSizeOf for SwizzleSettings
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
 
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl PartialEq for SwizzleSettings
 
impl PartialEq for SwizzleSettings
Source§impl Serialize for SwizzleSettings
 
impl Serialize for SwizzleSettings
impl Copy for SwizzleSettings
impl Eq for SwizzleSettings
impl StructuralPartialEq for SwizzleSettings
Auto Trait Implementations§
impl Freeze for SwizzleSettings
impl RefUnwindSafe for SwizzleSettings
impl Send for SwizzleSettings
impl Sync for SwizzleSettings
impl Unpin for SwizzleSettings
impl UnwindSafe for SwizzleSettings
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§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more