pub struct Draw {
pub pass: GpuId,
pub vertices: u32,
pub instances: u32,
pub first_vertex: u32,
pub first_instance: u32,
}Fields§
§pass: GpuId§vertices: u32§instances: u32§first_vertex: u32§first_instance: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Draw
impl<'de> Deserialize<'de> for Draw
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Draw
impl RefUnwindSafe for Draw
impl Send for Draw
impl Sync for Draw
impl Unpin for Draw
impl UnwindSafe for Draw
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