[−][src]Struct ascesis::Link
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()
.
Methods
impl Link
[src]
pub fn new(
tx_port_id: PortID,
tx_node_id: NodeID,
rx_port_id: PortID,
rx_node_id: NodeID
) -> Link
[src]
tx_port_id: PortID,
tx_node_id: NodeID,
rx_port_id: PortID,
rx_node_id: NodeID
) -> Link
pub fn get_atom_id(&self) -> NonZeroUsize
[src]
pub fn get_link_id(&self) -> LinkID
[src]
pub fn get_port_id(&self, face: Face) -> PortID
[src]
pub fn get_node_id(&self, face: Face) -> NodeID
[src]
pub fn get_tx_port_id(&self) -> PortID
[src]
pub fn get_tx_node_id(&self) -> NodeID
[src]
pub fn get_rx_port_id(&self) -> PortID
[src]
pub fn get_rx_node_id(&self) -> NodeID
[src]
Trait Implementations
impl Clone for Link
[src]
impl Debug for Link
[src]
impl Eq for Link
[src]
impl ExclusivelyContextual for Link
[src]
impl Hash for Link
[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Link> for Link
[src]
impl StructuralEq for Link
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Contextual for T where
T: ExclusivelyContextual,
[src]
T: ExclusivelyContextual,
fn format(&self, ctx: &Arc<Mutex<Context>>) -> Result<String, AcesError>
[src]
fn with(&self, ctx: &Arc<Mutex<Context>>) -> InContext<Self>
[src]
fn with_mut(&mut self, ctx: &Arc<Mutex<Context>>) -> InContextMut<Self>
[src]
impl<T> From<T> for T
[src]
impl<Reference, Outer, OuterFieldType, Inner> HasPart<Nested<Outer, Inner>> for Reference where
Inner: Part,
Outer: Part<PartType = Field<OuterFieldType>>,
OuterFieldType: HasPart<Inner, RawTarget = OuterFieldType> + PartialRefTarget + ?Sized,
Reference: HasPart<Outer> + ?Sized,
Inner: Part,
Outer: Part<PartType = Field<OuterFieldType>>,
OuterFieldType: HasPart<Inner, RawTarget = OuterFieldType> + PartialRefTarget + ?Sized,
Reference: HasPart<Outer> + ?Sized,
unsafe fn part_ptr(
ptr: *const <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::Ptr
ptr: *const <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::Ptr
unsafe fn part_ptr_mut(
ptr: *mut <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::PtrMut
ptr: *mut <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::PtrMut
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,