pub struct Link { /* private fields */ }Expand description
Representation of a link.
This is a fat link, if used on its own, or a thin link, if paired
with a Face. See CEStructure’s private field links, or
the implementation of CEStructure::check_coherence().
Implementations§
Source§impl Link
impl Link
pub fn new( tx_port_id: PortID, tx_node_id: NodeID, rx_port_id: PortID, rx_node_id: NodeID, ) -> Self
pub fn get_atom_id(&self) -> AtomID
pub fn get_link_id(&self) -> LinkID
pub fn get_port_id(&self, face: Face) -> PortID
pub fn get_node_id(&self, face: Face) -> NodeID
pub fn get_tx_port_id(&self) -> PortID
pub fn get_tx_node_id(&self) -> NodeID
pub fn get_rx_port_id(&self) -> PortID
pub fn get_rx_node_id(&self) -> NodeID
Trait Implementations§
Source§impl ExclusivelyContextual for Link
impl ExclusivelyContextual for Link
impl Eq 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