pub struct ConnectionPoint {
pub x: f64,
pub y: f64,
}Expand description
Connection point on a shape where arrows can snap.
Fields§
§x: f64§y: f64Trait Implementations§
Source§impl Clone for ConnectionPoint
impl Clone for ConnectionPoint
Source§fn clone(&self) -> ConnectionPoint
fn clone(&self) -> ConnectionPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConnectionPoint
impl RefUnwindSafe for ConnectionPoint
impl Send for ConnectionPoint
impl Sync for ConnectionPoint
impl Unpin for ConnectionPoint
impl UnsafeUnpin for ConnectionPoint
impl UnwindSafe for ConnectionPoint
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