#[repr(C)]pub struct SpatialOrderHeader {
pub point_count: u32,
pub curve_type: u8,
pub reserved: [u8; 3],
pub bbox_min: [f32; 3],
}Expand description
20-byte header for a spatial-order code stream.
Fields§
§point_count: u32Number of points.
curve_type: u8Curve type: 0 = Morton 2D, 1 = Hilbert 2D, 2 = Morton 3D.
reserved: [u8; 3]Reserved (must be zero).
bbox_min: [f32; 3]Bounding box minimum (2D: [x, y, 0], 3D: [x, y, z]).
Trait Implementations§
Source§impl Clone for SpatialOrderHeader
impl Clone for SpatialOrderHeader
Source§fn clone(&self) -> SpatialOrderHeader
fn clone(&self) -> SpatialOrderHeader
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 moreSource§impl Debug for SpatialOrderHeader
impl Debug for SpatialOrderHeader
Source§impl Default for SpatialOrderHeader
impl Default for SpatialOrderHeader
Source§impl PartialEq for SpatialOrderHeader
impl PartialEq for SpatialOrderHeader
Source§fn eq(&self, other: &SpatialOrderHeader) -> bool
fn eq(&self, other: &SpatialOrderHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SpatialOrderHeader
impl Pod for SpatialOrderHeader
impl StructuralPartialEq for SpatialOrderHeader
Auto Trait Implementations§
impl Freeze for SpatialOrderHeader
impl RefUnwindSafe for SpatialOrderHeader
impl Send for SpatialOrderHeader
impl Sync for SpatialOrderHeader
impl Unpin for SpatialOrderHeader
impl UnsafeUnpin for SpatialOrderHeader
impl UnwindSafe for SpatialOrderHeader
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.
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.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>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.