pub struct ArrayOffsets<I> { /* private fields */ }Expand description
The offsets of one array field within a vmctx.
Implementations§
Source§impl<I> ArrayOffsets<I>
impl<I> ArrayOffsets<I>
Sourcepub fn new(begin: u32, stride: u32, count: u32) -> Self
pub fn new(begin: u32, stride: u32, count: u32) -> Self
Create the offsets for an array of count elements which begins at
begin within its vmctx and whose elements are stride bytes apart.
Source§impl<I: VmctxArrayIndex> ArrayOffsets<I>
impl<I: VmctxArrayIndex> ArrayOffsets<I>
Trait Implementations§
Source§impl<I: Clone> Clone for ArrayOffsets<I>
impl<I: Clone> Clone for ArrayOffsets<I>
Source§fn clone(&self) -> ArrayOffsets<I>
fn clone(&self) -> ArrayOffsets<I>
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 moreimpl<I: Copy> Copy for ArrayOffsets<I>
Auto Trait Implementations§
impl<I> Freeze for ArrayOffsets<I>
impl<I> RefUnwindSafe for ArrayOffsets<I>where
I: RefUnwindSafe,
impl<I> Send for ArrayOffsets<I>where
I: Send,
impl<I> Sync for ArrayOffsets<I>where
I: Sync,
impl<I> Unpin for ArrayOffsets<I>where
I: Unpin,
impl<I> UnsafeUnpin for ArrayOffsets<I>
impl<I> UnwindSafe for ArrayOffsets<I>where
I: UnwindSafe,
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