pub trait RasterBuilder<B: Backend> {
// Required methods
fn add_with_transform(
&mut self,
path: &B::Path,
transform: &Transform2D<f32>,
) -> &mut Self;
fn build(self) -> B::Raster;
// Provided method
fn add(
&mut self,
path: &B::Path,
transform: Option<&Transform2D<f32>>,
) -> &mut Self { ... }
}Expand description
Builds one Raster.
Required Methods§
Sourcefn add_with_transform(
&mut self,
path: &B::Path,
transform: &Transform2D<f32>,
) -> &mut Self
fn add_with_transform( &mut self, path: &B::Path, transform: &Transform2D<f32>, ) -> &mut Self
Add a path to the raster with transform.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".