#[repr(C)]pub struct LineRasterStaticR4Uniforms {
pub rotor_matrix: [[f32; 4]; 4],
pub view_projection: [[f32; 4]; 4],
pub viewport_size: [f32; 2],
pub focal_distance: f32,
pub _pad: f32,
}Expand description
Matches the WGSL TransformUniform.
Fields§
§rotor_matrix: [[f32; 4]; 4]§view_projection: [[f32; 4]; 4]§viewport_size: [f32; 2]§focal_distance: f32§_pad: f32Trait Implementations§
Source§impl Clone for LineRasterStaticR4Uniforms
impl Clone for LineRasterStaticR4Uniforms
Source§fn clone(&self) -> LineRasterStaticR4Uniforms
fn clone(&self) -> LineRasterStaticR4Uniforms
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LineRasterStaticR4Uniforms
impl Debug for LineRasterStaticR4Uniforms
Source§impl Default for LineRasterStaticR4Uniforms
impl Default for LineRasterStaticR4Uniforms
impl Copy for LineRasterStaticR4Uniforms
impl Pod for LineRasterStaticR4Uniforms
Auto Trait Implementations§
impl Freeze for LineRasterStaticR4Uniforms
impl RefUnwindSafe for LineRasterStaticR4Uniforms
impl Send for LineRasterStaticR4Uniforms
impl Sync for LineRasterStaticR4Uniforms
impl Unpin for LineRasterStaticR4Uniforms
impl UnsafeUnpin for LineRasterStaticR4Uniforms
impl UnwindSafe for LineRasterStaticR4Uniforms
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.