Struct tile_grid::TileMatrixSets
source · pub struct TileMatrixSets { /* private fields */ }Expand description
Registry of tile matrix sets
Implementations§
source§impl TileMatrixSets
impl TileMatrixSets
pub fn new() -> Self
pub fn get(&self, id: &str) -> Result<&TileMatrixSet, RegistryError>
pub fn lookup(&self, id: &str) -> Result<Tms, RegistryError>
pub fn list(&self) -> impl Iterator<Item = &String>
pub fn register( &mut self, custom_tms: Vec<TileMatrixSet>, overwrite: bool ) -> Result<(), RegistryError>
Trait Implementations§
source§impl Clone for TileMatrixSets
impl Clone for TileMatrixSets
source§fn clone(&self) -> TileMatrixSets
fn clone(&self) -> TileMatrixSets
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for TileMatrixSets
impl Send for TileMatrixSets
impl Sync for TileMatrixSets
impl Unpin for TileMatrixSets
impl UnwindSafe for TileMatrixSets
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