pub struct PolylineLinkRoute<const N: usize> {
pub id: i32,
pub points: [(f32, f32); N],
}Expand description
An owned polyline route for orthogonal and other segmented custom links.
Fields§
§id: i32Stable application link identifier.
points: [(f32, f32); N]Ordered vertices of the rendered route.
Trait Implementations§
Source§impl<const N: usize> Clone for PolylineLinkRoute<N>
impl<const N: usize> Clone for PolylineLinkRoute<N>
Source§fn clone(&self) -> PolylineLinkRoute<N>
fn clone(&self) -> PolylineLinkRoute<N>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<const N: usize> Copy for PolylineLinkRoute<N>
Source§impl<const N: usize> Debug for PolylineLinkRoute<N>
impl<const N: usize> Debug for PolylineLinkRoute<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for PolylineLinkRoute<N>
impl<const N: usize> RefUnwindSafe for PolylineLinkRoute<N>
impl<const N: usize> Send for PolylineLinkRoute<N>
impl<const N: usize> Sync for PolylineLinkRoute<N>
impl<const N: usize> Unpin for PolylineLinkRoute<N>
impl<const N: usize> UnsafeUnpin for PolylineLinkRoute<N>
impl<const N: usize> UnwindSafe for PolylineLinkRoute<N>
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