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
Coords
zerometry
0.2.0
Coords
Methods
consecutive_pairs
from_bytes
from_slice
from_slice_mut
is_empty
iter
len
Trait Implementations
Debug
Index<usize>
Auto Trait Implementations
!Sized
Freeze
RefUnwindSafe
Send
Sync
Unpin
UnwindSafe
Blanket Implementations
Any
Borrow<T>
BorrowMut<T>
In crate zerometry
zerometry
Struct
Coords
Copy item path
Source
pub struct Coords {
/* private fields */
}
Implementations
§
Source
§
impl<'a>
Coords
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
len
(&self) ->
usize
Source
pub fn
is_empty
(&self) ->
bool
Source
pub fn
iter
(&self) -> impl
Iterator
<Item = &
Coord
>
Source
pub fn
consecutive_pairs
(&self) -> impl
Iterator
<Item = &[
f64
]>
Trait Implementations
§
Source
§
impl
Debug
for
Coords
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more
Source
§
impl
Index
<
usize
> for
Coords
Source
§
type
Output
=
Coord
The returned type after indexing.
Source
§
fn
index
(&self, index:
usize
) -> &Self::
Output
Performs the indexing (
container[index]
) operation.
Read more
Auto Trait Implementations
§
§
impl
Freeze
for
Coords
§
impl
RefUnwindSafe
for
Coords
§
impl
Send
for
Coords
§
impl !
Sized
for
Coords
§
impl
Sync
for
Coords
§
impl
Unpin
for
Coords
§
impl
UnwindSafe
for
Coords
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