pub struct Ring {
pub role: u8,
pub points: Vec<(i32, i32)>,
}Expand description
One closed ring, without its repeated closing vertex.
Fields§
§role: u8§points: Vec<(i32, i32)>Vertices as (longitude, latitude) in 1e-6 degrees.
Trait Implementations§
impl Eq for Ring
impl StructuralPartialEq for Ring
Auto Trait Implementations§
impl Freeze for Ring
impl RefUnwindSafe for Ring
impl Send for Ring
impl Sync for Ring
impl Unpin for Ring
impl UnwindSafe for Ring
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)