Struct comfy_wgpu::Instance
source · pub struct Instance {
pub position: Vec3,
pub rotation: f32,
pub scale: Vec2,
pub color: Vec4,
}Fields§
§position: Vec3§rotation: f32§scale: Vec2§color: Vec4Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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