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 = RcRef<LngLatBounds>
type Anchor = RcRef<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
source§impl TryFromJsValue for LngLatBounds
impl TryFromJsValue for LngLatBounds
source§impl VectorFromWasmAbi for LngLatBounds
impl VectorFromWasmAbi for LngLatBounds
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[LngLatBounds]>
source§impl VectorIntoJsValue for LngLatBounds
impl VectorIntoJsValue for LngLatBounds
fn vector_into_jsvalue(vector: Box<[LngLatBounds]>) -> JsValue
source§impl VectorIntoWasmAbi for LngLatBounds
impl VectorIntoWasmAbi for LngLatBounds
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[LngLatBounds]>) -> Self::Abi
source§impl WasmDescribeVector for LngLatBounds
impl WasmDescribeVector for LngLatBounds
Auto Trait Implementations§
impl Freeze for LngLatBounds
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
.