Struct comfy_wgpu::Mesh
source · pub struct Mesh {
pub vertices: SmallVec<[SpriteVertex; 4]>,
pub indices: SmallVec<[u32; 6]>,
pub z_index: i32,
pub texture: Option<TextureHandle>,
}Fields§
§vertices: SmallVec<[SpriteVertex; 4]>§indices: SmallVec<[u32; 6]>§z_index: i32§texture: Option<TextureHandle>Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Mesh
impl Send for Mesh
impl Sync for Mesh
impl Unpin for Mesh
impl UnwindSafe for Mesh
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