pub struct FrameChunk { /* private fields */ }Expand description
One coordinate-frame chunk retaining shared aligned storage.
Implementations§
Source§impl FrameChunk
impl FrameChunk
Retains a shared coordinate block and exposes one bounded range.
§Errors
Rejects invalid ranges and descriptor/payload length mismatches.
Sourcepub const fn descriptor(&self) -> ChunkDescriptor
pub const fn descriptor(&self) -> ChunkDescriptor
Stable chunk metadata.
Sourcepub fn positions(&self) -> &[[f32; 3]]
pub fn positions(&self) -> &[[f32; 3]]
Coordinates borrowed directly from shared aligned storage.
Sourcepub const fn coordinates(&self) -> &CoordinateBlock
pub const fn coordinates(&self) -> &CoordinateBlock
Shared backing block for another zero-copy adapter.
Trait Implementations§
Source§impl Clone for FrameChunk
impl Clone for FrameChunk
Auto Trait Implementations§
impl Freeze for FrameChunk
impl RefUnwindSafe for FrameChunk
impl Send for FrameChunk
impl Sync for FrameChunk
impl Unpin for FrameChunk
impl UnsafeUnpin for FrameChunk
impl UnwindSafe for FrameChunk
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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