pub struct BufferRef {
pub offset: u64,
pub len: u64,
}Expand description
Where one Arrow buffer sits in the decoder’s memory.
Offsets are 64 bits wide even though a wasm32 guest cannot address more than four gigabytes,
because the width of a guest address is not something worth writing into a format that ossifies.
Fields§
§offset: u64Where the buffer starts in the decoder’s memory.
len: u64How many bytes long it is.
Implementations§
Trait Implementations§
impl Copy for BufferRef
impl Eq for BufferRef
impl StructuralPartialEq for BufferRef
Auto Trait Implementations§
impl Freeze for BufferRef
impl RefUnwindSafe for BufferRef
impl Send for BufferRef
impl Sync for BufferRef
impl Unpin for BufferRef
impl UnsafeUnpin for BufferRef
impl UnwindSafe for BufferRef
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