Struct webrender::internal_types::SwizzleSettings
source · pub struct SwizzleSettings {
pub bgra8_sampling_swizzle: Swizzle,
}
Expand description
Swizzle settings of the texture cache.
Fields§
§bgra8_sampling_swizzle: Swizzle
Swizzle 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 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 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§fn eq(&self, other: &SwizzleSettings) -> bool
fn eq(&self, other: &SwizzleSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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> 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