pub struct Link { /* private fields */ }
Implementations§
Source§impl Link
impl Link
pub fn new( start_node_id: u32, end_node_id: u32, start: Coordinates, end: Coordinates, kind: LinkType, ) -> Self
pub fn start_node_id(&self) -> u32
pub fn end_node_id(&self) -> u32
pub fn start(&self) -> Coordinates
pub fn end(&self) -> Coordinates
pub fn kind(&self) -> LinkType
Trait Implementations§
impl StructuralPartialEq for Link
Auto Trait Implementations§
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
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