pub struct Plan {
pub zoom: u32,
pub tiles: Vec<(String, i32, i32)>,
pub marker: Option<(i32, i32)>,
}Expand description
描画計画。座標は iframe の左上を原点とする px。
Fields§
§zoom: u32§tiles: Vec<(String, i32, i32)>(タイル URL, 左上 x, 左上 y)。
marker: Option<(i32, i32)>マーカーの位置(px)。
Trait Implementations§
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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