Struct ruma_events::location::ZoomLevel
source · pub struct ZoomLevel(/* private fields */);
Expand description
A zoom level.
This is an integer between 0 and 20 as defined in the OpenStreetMap Wiki.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ZoomLevel
impl<'de> Deserialize<'de> for ZoomLevel
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 ZoomLevel
impl RefUnwindSafe for ZoomLevel
impl Send for ZoomLevel
impl Sync for ZoomLevel
impl Unpin for ZoomLevel
impl UnwindSafe for ZoomLevel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)