#[repr(C)]pub struct PointInstance {
pub pos: [f32; 3],
pub radius_px: f32,
pub color: [f32; 4],
}Fields§
§pos: [f32; 3]§radius_px: f32§color: [f32; 4]Trait Implementations§
Source§impl Clone for PointInstance
impl Clone for PointInstance
Source§fn clone(&self) -> PointInstance
fn clone(&self) -> PointInstance
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 PointInstance
impl Debug for PointInstance
Source§impl Default for PointInstance
impl Default for PointInstance
Source§fn default() -> PointInstance
fn default() -> PointInstance
Returns the “default value” for a type. Read more
impl Copy for PointInstance
impl Pod for PointInstance
Auto Trait Implementations§
impl Freeze for PointInstance
impl RefUnwindSafe for PointInstance
impl Send for PointInstance
impl Sync for PointInstance
impl Unpin for PointInstance
impl UnsafeUnpin for PointInstance
impl UnwindSafe for PointInstance
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.