Struct mcai_graph::Link
source · [−]pub struct Link { /* private fields */ }Implementations
sourceimpl Link
impl Link
pub fn new(
start_node_id: u32,
end_node_id: u32,
start: Coordinates,
end: Coordinates
) -> 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
Trait Implementations
sourceimpl PartialEq<Link> for Link
impl PartialEq<Link> for Link
impl StructuralPartialEq for Link
Auto Trait Implementations
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more