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: u8Trait Implementations§
Source§impl Clone for QuadInstance
impl Clone for QuadInstance
Source§fn clone(&self) -> QuadInstance
fn clone(&self) -> QuadInstance
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 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> 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