Struct mapboxgl::LngLatBounds
source · pub struct LngLatBounds { /* private fields */ }
Implementations§
source§impl LngLatBounds
impl LngLatBounds
pub fn set_north_east(&self) -> LngLat
pub fn get_south_west(&self) -> LngLat
pub fn get_north_east(&self) -> LngLat
pub fn get_center(&self) -> LngLat
Trait Implementations§
source§impl Debug for LngLatBounds
impl Debug for LngLatBounds
source§impl From<LngLatBounds> for JsValue
impl From<LngLatBounds> for JsValue
source§fn from(value: LngLatBounds) -> Self
fn from(value: LngLatBounds) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for LngLatBounds
impl FromWasmAbi for LngLatBounds
source§impl IntoWasmAbi for LngLatBounds
impl IntoWasmAbi for LngLatBounds
source§impl LongRefFromWasmAbi for LngLatBounds
impl LongRefFromWasmAbi for LngLatBounds
source§impl OptionFromWasmAbi for LngLatBounds
impl OptionFromWasmAbi for LngLatBounds
source§impl OptionIntoWasmAbi for LngLatBounds
impl OptionIntoWasmAbi for LngLatBounds
source§impl RefFromWasmAbi for LngLatBounds
impl RefFromWasmAbi for LngLatBounds
§type Anchor = Ref<'static, LngLatBounds>
type Anchor = Ref<'static, LngLatBounds>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.source§impl RefMutFromWasmAbi for LngLatBounds
impl RefMutFromWasmAbi for LngLatBounds
Auto Trait Implementations§
impl RefUnwindSafe for LngLatBounds
impl !Send for LngLatBounds
impl !Sync for LngLatBounds
impl Unpin for LngLatBounds
impl UnwindSafe for LngLatBounds
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.