Struct webrender::gpu_types::PrimitiveInstanceData
source · #[repr(C)]pub struct PrimitiveInstanceData {
data: [i32; 4],
}
Fields§
§data: [i32; 4]
Trait Implementations§
source§impl Clone for PrimitiveInstanceData
impl Clone for PrimitiveInstanceData
source§fn clone(&self) -> PrimitiveInstanceData
fn clone(&self) -> PrimitiveInstanceData
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 PrimitiveInstanceData
impl Debug for PrimitiveInstanceData
source§impl From<BrushInstance> for PrimitiveInstanceData
impl From<BrushInstance> for PrimitiveInstanceData
source§fn from(instance: BrushInstance) -> Self
fn from(instance: BrushInstance) -> Self
Converts to this type from the input type.
source§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 From<SplitCompositeInstance> for PrimitiveInstanceData
impl From<SplitCompositeInstance> for PrimitiveInstanceData
source§fn from(instance: SplitCompositeInstance) -> Self
fn from(instance: SplitCompositeInstance) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrimitiveInstanceData
impl RefUnwindSafe for PrimitiveInstanceData
impl Send for PrimitiveInstanceData
impl Sync for PrimitiveInstanceData
impl Unpin for PrimitiveInstanceData
impl UnwindSafe for PrimitiveInstanceData
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