Struct webrender::gpu_types::PrimitiveHeaders
source · #[repr(C)]pub struct PrimitiveHeaders {
pub headers_int: Vec<PrimitiveHeaderI>,
pub headers_float: Vec<PrimitiveHeaderF>,
}
Fields§
§headers_int: Vec<PrimitiveHeaderI>
§headers_float: Vec<PrimitiveHeaderF>
Implementations§
source§impl PrimitiveHeaders
impl PrimitiveHeaders
pub fn new() -> PrimitiveHeaders
pub fn push( &mut self, prim_header: &PrimitiveHeader, z: ZBufferId, render_task_address: RenderTaskAddress, user_data: [i32; 4], ) -> PrimitiveHeaderIndex
Trait Implementations§
source§impl Debug for PrimitiveHeaders
impl Debug for PrimitiveHeaders
Auto Trait Implementations§
impl Freeze for PrimitiveHeaders
impl RefUnwindSafe for PrimitiveHeaders
impl Send for PrimitiveHeaders
impl Sync for PrimitiveHeaders
impl Unpin for PrimitiveHeaders
impl UnwindSafe for PrimitiveHeaders
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