pub struct Instance {
pub world0: [f32; 4],
pub world1: [f32; 4],
pub world2: [f32; 4],
pub color: [f32; 4],
pub mat_params: [f32; 4],
pub uv_range: [f32; 4],
}
Fields
world0: [f32; 4]
world1: [f32; 4]
world2: [f32; 4]
color: [f32; 4]
mat_params: [f32; 4]
uv_range: [f32; 4]
Trait Implementations
impl Copy for Instance
impl Pod for Instance
impl StructuralPartialEq for Instance
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.