pub struct InMemoryRasterSource { /* private fields */ }Expand description
In-memory raster source backed by a Vec<f32> for testing and small workloads.
This implementation stores raster data in a flat row-major Vec<f32> and
supports efficient sub-window reads with zero-padding for out-of-bounds pixels.
Implementations§
Trait Implementations§
Source§impl RasterSource for InMemoryRasterSource
impl RasterSource for InMemoryRasterSource
Auto Trait Implementations§
impl Freeze for InMemoryRasterSource
impl RefUnwindSafe for InMemoryRasterSource
impl Send for InMemoryRasterSource
impl Sync for InMemoryRasterSource
impl Unpin for InMemoryRasterSource
impl UnsafeUnpin for InMemoryRasterSource
impl UnwindSafe for InMemoryRasterSource
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