pub struct BufferSlot {
pub offset: usize,
pub size: usize,
}Expand description
A buffer slot in the memory arena.
Fields§
§offset: usizeOffset in bytes from the start of the arena.
size: usizeSize in bytes.
Trait Implementations§
Source§impl Clone for BufferSlot
impl Clone for BufferSlot
Source§fn clone(&self) -> BufferSlot
fn clone(&self) -> BufferSlot
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 moreAuto Trait Implementations§
impl Freeze for BufferSlot
impl RefUnwindSafe for BufferSlot
impl Send for BufferSlot
impl Sync for BufferSlot
impl Unpin for BufferSlot
impl UnsafeUnpin for BufferSlot
impl UnwindSafe for BufferSlot
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