pub struct ArrayOfOffsets<'a, T: ReadArgs, O: Scalar = Offset16> { /* private fields */ }
Expand description
An array of offsets that can be resolved on access.
This bundles up the raw offsets with the data used to resolve them, along with any arguments needed to resolve those offsets; it provides a simple ergonomic interface that unburdens the user from needing to manually determine the appropriate input data and arguments for a raw offset.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T, O> Freeze for ArrayOfOffsets<'a, T, O>
impl<'a, T, O> RefUnwindSafe for ArrayOfOffsets<'a, T, O>
impl<'a, T, O> Send for ArrayOfOffsets<'a, T, O>
impl<'a, T, O> Sync for ArrayOfOffsets<'a, T, O>
impl<'a, T, O> Unpin for ArrayOfOffsets<'a, T, O>
impl<'a, T, O> UnwindSafe for ArrayOfOffsets<'a, T, O>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)