Docs.rs
zerometry-0.2.0
zerometry 0.2.0
Docs.rs crate page
Links
Repository
crates.io
Source
Owners
irevoire
Dependencies
bytemuck ^1.23.1
normal
byteorder ^1.4
normal
geo ^0.30.0
normal
geo-types ^0.7.16
normal
geojson ^0.24.2
dev
insta ^1.43.1
dev
proptest ^1.4
dev
Versions
20.37%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Coord
zerometry
0.2.0
Coord
Methods
from_bytes
from_slice
from_slice_mut
lat
lat_mut
lng
lng_mut
to_geo
x
y
Trait Implementations
Debug
RelationBetweenShapes<Coord>
RelationBetweenShapes<Coord>
Auto Trait Implementations
!Sized
Freeze
RefUnwindSafe
Send
Sync
Unpin
UnwindSafe
Blanket Implementations
Any
Borrow<T>
BorrowMut<T>
In crate zerometry
zerometry
Struct
Coord
Copy item path
Source
pub struct Coord {
/* private fields */
}
Implementations
§
Source
§
impl<'a>
Coord
Source
pub fn
from_bytes
(data: &'a [
u8
]) -> &'a Self
Source
pub fn
from_slice
(data: &[
f64
]) -> &Self
Source
pub fn
from_slice_mut
(data: &mut [
f64
]) -> &mut Self
Source
pub fn
lng
(&self) ->
f64
Source
pub fn
lng_mut
(&mut self) -> &mut
f64
Source
pub fn
lat
(&self) ->
f64
Source
pub fn
lat_mut
(&mut self) -> &mut
f64
Source
pub fn
x
(&self) ->
f64
Source
pub fn
y
(&self) ->
f64
Source
pub fn
to_geo
(&self) ->
Coord
<
f64
>
Trait Implementations
§
Source
§
impl
Debug
for
Coord
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more
Source
§
impl
RelationBetweenShapes
<
Coord
> for
BoundingBox
Source
§
fn
relation
(&self, other: &
Coord
, relation:
InputRelation
) ->
OutputRelation
Source
§
fn
all_relation
(&self, other:
&Other
) ->
OutputRelation
Source
§
fn
any_relation
(&self, other:
&Other
) ->
OutputRelation
Source
§
fn
contains
(&self, other:
&Other
) ->
bool
Source
§
fn
strict_contains
(&self, other:
&Other
) ->
bool
Source
§
fn
contained
(&self, other:
&Other
) ->
bool
Source
§
fn
strict_contained
(&self, other:
&Other
) ->
bool
Source
§
fn
intersects
(&self, other:
&Other
) ->
bool
Source
§
fn
disjoint
(&self, other:
&Other
) ->
bool
Source
§
impl<'a>
RelationBetweenShapes
<
Coord
> for
Zolygon
<'a>
Source
§
fn
relation
(&self, other: &
Coord
, relation:
InputRelation
) ->
OutputRelation
Source
§
fn
all_relation
(&self, other:
&Other
) ->
OutputRelation
Source
§
fn
any_relation
(&self, other:
&Other
) ->
OutputRelation
Source
§
fn
contains
(&self, other:
&Other
) ->
bool
Source
§
fn
strict_contains
(&self, other:
&Other
) ->
bool
Source
§
fn
contained
(&self, other:
&Other
) ->
bool
Source
§
fn
strict_contained
(&self, other:
&Other
) ->
bool
Source
§
fn
intersects
(&self, other:
&Other
) ->
bool
Source
§
fn
disjoint
(&self, other:
&Other
) ->
bool
Auto Trait Implementations
§
§
impl
Freeze
for
Coord
§
impl
RefUnwindSafe
for
Coord
§
impl
Send
for
Coord
§
impl !
Sized
for
Coord
§
impl
Sync
for
Coord
§
impl
Unpin
for
Coord
§
impl
UnwindSafe
for
Coord
Blanket Implementations
§
Source
§
impl<T>
Any
for T
where T: 'static + ?
Sized
,
Source
§
fn
type_id
(&self) ->
TypeId
Gets the
TypeId
of
self
.
Read more
Source
§
impl<T>
Borrow
<T> for T
where T: ?
Sized
,
Source
§
fn
borrow
(&self) ->
&T
Immutably borrows from an owned value.
Read more
Source
§
impl<T>
BorrowMut
<T> for T
where T: ?
Sized
,
Source
§
fn
borrow_mut
(&mut self) ->
&mut T
Mutably borrows from an owned value.
Read more