pub struct SimpleLinkGeometry {
pub id: i32,
pub start_x: f32,
pub start_y: f32,
pub end_x: f32,
pub end_y: f32,
}Expand description
Simple implementation of LinkGeometry
Fields§
§id: i32§start_x: f32§start_y: f32§end_x: f32§end_y: f32Trait Implementations§
Source§impl Clone for SimpleLinkGeometry
impl Clone for SimpleLinkGeometry
Source§fn clone(&self) -> SimpleLinkGeometry
fn clone(&self) -> SimpleLinkGeometry
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 Copy for SimpleLinkGeometry
Source§impl Debug for SimpleLinkGeometry
impl Debug for SimpleLinkGeometry
Auto Trait Implementations§
impl Freeze for SimpleLinkGeometry
impl RefUnwindSafe for SimpleLinkGeometry
impl Send for SimpleLinkGeometry
impl Sync for SimpleLinkGeometry
impl Unpin for SimpleLinkGeometry
impl UnsafeUnpin for SimpleLinkGeometry
impl UnwindSafe for SimpleLinkGeometry
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