pub struct Shed { /* private fields */ }
Implementations§
Source§impl Shed
impl Shed
pub fn open<P: AsRef<Path>>(path: P) -> Result<Self>
pub fn paths(&self, context: &mut Context) -> Vec<(Path, Style)>
pub fn size(&self) -> Size
pub fn rasters( &self, context: &mut Context, transform: Option<&Transform2D<f32>>, ) -> Vec<(Raster, Style)>
pub fn layers( &self, context: &mut Context, transform: Option<&Transform2D<f32>>, ) -> Vec<Layer>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Shed
impl RefUnwindSafe for Shed
impl Send for Shed
impl Sync for Shed
impl Unpin for Shed
impl UnwindSafe for Shed
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