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 duplicate 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 Freeze for TileMatrixSets
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