pub struct BatchIndexBuilder { /* private fields */ }Expand description
Batch builder for creating multiple Index64 instances efficiently
Implementations§
Source§impl BatchIndexBuilder
impl BatchIndexBuilder
pub fn new() -> Self
pub fn with_simd(self, enabled: bool) -> Self
Sourcepub fn build(
&self,
frame_ids: &[u8],
dimension_ids: &[u8],
lods: &[u8],
x_coords: &[u16],
y_coords: &[u16],
z_coords: &[u16],
) -> BatchResult<Index64>
pub fn build( &self, frame_ids: &[u8], dimension_ids: &[u8], lods: &[u8], x_coords: &[u16], y_coords: &[u16], z_coords: &[u16], ) -> BatchResult<Index64>
Build multiple Index64 instances from coordinate arrays
§Arguments
frame_ids- Frame IDs (one per index)dimension_ids- Dimension IDs (one per index)lods- Level of detail values (one per index)x_coords- X coordinatesy_coords- Y coordinatesz_coords- Z coordinates
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BatchIndexBuilder
impl RefUnwindSafe for BatchIndexBuilder
impl Send for BatchIndexBuilder
impl Sync for BatchIndexBuilder
impl Unpin for BatchIndexBuilder
impl UnwindSafe for BatchIndexBuilder
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
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