#[repr(C)]pub struct PointRecord {
pub position: [f32; 3],
pub radius_px: f32,
pub color: [f32; 4],
}Expand description
One point of a view in its image space with a radius in pixels; loam-render’s PointPass builds its mesh from these.
Fields§
§position: [f32; 3]§radius_px: f32§color: [f32; 4]Trait Implementations§
Source§impl Clone for PointRecord
impl Clone for PointRecord
Source§fn clone(&self) -> PointRecord
fn clone(&self) -> PointRecord
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 PointRecord
impl Debug for PointRecord
Source§impl Default for PointRecord
impl Default for PointRecord
Source§fn default() -> PointRecord
fn default() -> PointRecord
Returns the “default value” for a type. Read more
Source§impl PartialEq for PointRecord
impl PartialEq for PointRecord
impl Copy for PointRecord
impl Pod for PointRecord
impl StructuralPartialEq for PointRecord
Auto Trait Implementations§
impl Freeze for PointRecord
impl RefUnwindSafe for PointRecord
impl Send for PointRecord
impl Sync for PointRecord
impl Unpin for PointRecord
impl UnsafeUnpin for PointRecord
impl UnwindSafe for PointRecord
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.