#[repr(C)]pub struct BvhNodeRecord {
pub min: [f32; 3],
pub _pad0: f32,
pub max: [f32; 3],
pub _pad1: f32,
pub left: u32,
pub right: u32,
pub leaf: u32,
pub _pad2: u32,
}Fields§
§min: [f32; 3]§_pad0: f32§max: [f32; 3]§_pad1: f32§left: u32§right: u32§leaf: u32§_pad2: u32Trait Implementations§
Source§impl Clone for BvhNodeRecord
impl Clone for BvhNodeRecord
Source§fn clone(&self) -> BvhNodeRecord
fn clone(&self) -> BvhNodeRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BvhNodeRecord
Source§impl Debug for BvhNodeRecord
impl Debug for BvhNodeRecord
Source§impl PartialEq for BvhNodeRecord
impl PartialEq for BvhNodeRecord
impl Pod for BvhNodeRecord
Source§impl StreamRecord for BvhNodeRecord
impl StreamRecord for BvhNodeRecord
impl StructuralPartialEq for BvhNodeRecord
Auto Trait Implementations§
impl Freeze for BvhNodeRecord
impl RefUnwindSafe for BvhNodeRecord
impl Send for BvhNodeRecord
impl Sync for BvhNodeRecord
impl Unpin for BvhNodeRecord
impl UnsafeUnpin for BvhNodeRecord
impl UnwindSafe for BvhNodeRecord
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§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.Source§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.