Struct webrender::gpu_types::QuadInstance
source · pub struct QuadInstance {
pub dst_task_address: RenderTaskAddress,
pub prim_address_i: GpuBufferAddress,
pub prim_address_f: GpuBufferAddress,
pub quad_flags: u8,
pub edge_flags: u8,
pub part_index: u8,
pub segment_index: u8,
}
Fields§
§dst_task_address: RenderTaskAddress
§prim_address_i: GpuBufferAddress
§prim_address_f: GpuBufferAddress
§quad_flags: u8
§edge_flags: u8
§part_index: u8
§segment_index: u8
Trait Implementations§
source§impl Clone for QuadInstance
impl Clone for QuadInstance
source§fn clone(&self) -> QuadInstance
fn clone(&self) -> QuadInstance
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 From<QuadInstance> for PrimitiveInstanceData
impl From<QuadInstance> for PrimitiveInstanceData
source§fn from(instance: QuadInstance) -> Self
fn from(instance: QuadInstance) -> Self
Converts to this type from the input type.
source§impl Serialize for QuadInstance
impl Serialize for QuadInstance
impl Copy for QuadInstance
Auto Trait Implementations§
impl Freeze for QuadInstance
impl RefUnwindSafe for QuadInstance
impl Send for QuadInstance
impl Sync for QuadInstance
impl Unpin for QuadInstance
impl UnwindSafe for QuadInstance
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