Struct webrender::renderer::gpu_buffer::GpuBufferBlockI
source · pub struct GpuBufferBlockI {
data: [i32; 4],
}
Expand description
A single texel in RGBAI32 texture - 16 bytes.
Fields§
§data: [i32; 4]
Implementations§
Trait Implementations§
source§impl Clone for GpuBufferBlockI
impl Clone for GpuBufferBlockI
source§fn clone(&self) -> GpuBufferBlockI
fn clone(&self) -> GpuBufferBlockI
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 GpuBufferBlockI
impl Debug for GpuBufferBlockI
source§impl Default for GpuBufferBlockI
impl Default for GpuBufferBlockI
source§impl From<Box2D<i32, DevicePixel>> for GpuBufferBlockI
impl From<Box2D<i32, DevicePixel>> for GpuBufferBlockI
source§fn from(rect: DeviceIntRect) -> Self
fn from(rect: DeviceIntRect) -> Self
Converts to this type from the input type.
source§impl Into<GpuBufferBlockI> for [i32; 4]
impl Into<GpuBufferBlockI> for [i32; 4]
source§fn into(self) -> GpuBufferBlockI
fn into(self) -> GpuBufferBlockI
Converts this type into the (usually inferred) input type.
source§impl MallocSizeOf for GpuBufferBlockI
impl MallocSizeOf for GpuBufferBlockI
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 Serialize for GpuBufferBlockI
impl Serialize for GpuBufferBlockI
source§impl Texel for GpuBufferBlockI
impl Texel for GpuBufferBlockI
fn image_format() -> ImageFormat
impl Copy for GpuBufferBlockI
Auto Trait Implementations§
impl Freeze for GpuBufferBlockI
impl RefUnwindSafe for GpuBufferBlockI
impl Send for GpuBufferBlockI
impl Sync for GpuBufferBlockI
impl Unpin for GpuBufferBlockI
impl UnwindSafe for GpuBufferBlockI
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