pub struct TileServer {
pub url: String,
pub attribution: String,
}Expand description
Um servidor de blocos pelo endereço: url com {z}, {x} e {y} (e {s}, trocado por
a, b ou c para dividir os pedidos), e o crédito que a licença dele pede. O padrão é
o OpenStreetMap, o que o MapView usa sem provedor ligado; o TileServerProvider é este
como componente (outro servidor é só outro endereço nele).
Fields§
§url: String§attribution: StringImplementations§
Trait Implementations§
Source§impl Clone for TileServer
impl Clone for TileServer
Source§impl Debug for TileServer
impl Debug for TileServer
Source§impl Default for TileServer
impl Default for TileServer
impl Eq for TileServer
Source§impl MapTileProvider for TileServer
impl MapTileProvider for TileServer
Source§impl PartialEq for TileServer
impl PartialEq for TileServer
impl StructuralPartialEq for TileServer
Auto Trait Implementations§
impl Forget for TileServer
impl Freeze for TileServer
impl Move for TileServer
impl RefUnwindSafe for TileServer
impl Send for TileServer
impl Sync for TileServer
impl Unpin for TileServer
impl UnsafeUnpin for TileServer
impl UnwindSafe for TileServer
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