pub struct RichBlockMap {
pub latitude: f64,
pub longitude: f64,
pub zoom: u8,
pub width: u32,
pub height: u32,
pub caption: Option<RichBlockCaption>,
}Expand description
An embedded map (<tg-map>).
Fields§
§latitude: f64Latitude of the map centre.
longitude: f64Longitude of the map centre.
zoom: u8Zoom level (13–20).
width: u32Expected rendered width in pixels.
height: u32Expected rendered height in pixels.
caption: Option<RichBlockCaption>Optional caption.
Trait Implementations§
Source§impl Clone for RichBlockMap
impl Clone for RichBlockMap
Source§fn clone(&self) -> RichBlockMap
fn clone(&self) -> RichBlockMap
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RichBlockMap
impl Debug for RichBlockMap
Source§impl<'de> Deserialize<'de> for RichBlockMap
impl<'de> Deserialize<'de> for RichBlockMap
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RichBlockMap
impl RefUnwindSafe for RichBlockMap
impl Send for RichBlockMap
impl Sync for RichBlockMap
impl Unpin for RichBlockMap
impl UnsafeUnpin for RichBlockMap
impl UnwindSafe for RichBlockMap
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