Struct executorch_sys::torch::executor::util::BufferDataLoader
source · #[repr(C, align(8))]pub struct BufferDataLoader {
pub _bindgen_opaque_blob: [u64; 3],
}Expand description
A DataLoader that wraps a pre-allocated buffer. The FreeableBuffers that it returns do not actually free any data.
This can be used to wrap data that is directly embedded into the firmware image, or to wrap data that was allocated elsewhere.
Fields§
§_bindgen_opaque_blob: [u64; 3]Trait Implementations§
Auto Trait Implementations§
impl Freeze for BufferDataLoader
impl RefUnwindSafe for BufferDataLoader
impl Send for BufferDataLoader
impl Sync for BufferDataLoader
impl Unpin for BufferDataLoader
impl UnwindSafe for BufferDataLoader
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