#[repr(C)]pub struct SurfelSectionMiniHeader {
pub magic: [u8; 4],
pub version: u16,
pub flags: u16,
pub surfel_count: u32,
pub stride: u32,
pub sphere_center: [f32; 3],
pub sphere_radius: f32,
pub aabb_min: [f32; 3],
pub aabb_max: [f32; 3],
pub reserved: [u8; 8],
}Expand description
64-byte POD header encoding hierarchical surfel table in SectionType::HierarchicalSurfels (20).
Fields§
§magic: [u8; 4]§version: u16§flags: u16§surfel_count: u32§stride: u32§sphere_center: [f32; 3]§sphere_radius: f32§aabb_min: [f32; 3]§aabb_max: [f32; 3]§reserved: [u8; 8]Trait Implementations§
Source§impl Clone for SurfelSectionMiniHeader
impl Clone for SurfelSectionMiniHeader
impl Copy for SurfelSectionMiniHeader
Source§impl Debug for SurfelSectionMiniHeader
impl Debug for SurfelSectionMiniHeader
Source§impl PartialEq for SurfelSectionMiniHeader
impl PartialEq for SurfelSectionMiniHeader
impl Pod for SurfelSectionMiniHeader
impl StructuralPartialEq for SurfelSectionMiniHeader
Auto Trait Implementations§
impl Freeze for SurfelSectionMiniHeader
impl RefUnwindSafe for SurfelSectionMiniHeader
impl Send for SurfelSectionMiniHeader
impl Sync for SurfelSectionMiniHeader
impl Unpin for SurfelSectionMiniHeader
impl UnsafeUnpin for SurfelSectionMiniHeader
impl UnwindSafe for SurfelSectionMiniHeader
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§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.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
impl<T> Interleave for Twhere
T: Pod,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more