pub struct ChartPose {
pub chart: ChartId,
pub coordinates: [f32; 4],
pub frame: [[f32; 4]; 4],
}Expand description
Coordinates and a frame in one chart of the domain; unused entries are zero.
Fields§
§chart: ChartId§coordinates: [f32; 4]§frame: [[f32; 4]; 4]Column-major, matching glam’s Mat4 and WGSL’s mat4x4<f32>.
Trait Implementations§
impl Copy for ChartPose
impl StructuralPartialEq for ChartPose
Auto Trait Implementations§
impl Freeze for ChartPose
impl RefUnwindSafe for ChartPose
impl Send for ChartPose
impl Sync for ChartPose
impl Unpin for ChartPose
impl UnsafeUnpin for ChartPose
impl UnwindSafe for ChartPose
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