[][src]Struct aces::node::NodeID

#[repr(transparent)]
pub struct NodeID(_);

An identifier of a single node used in c-e structures.

In line with the theory, the set of nodes is a shared resource common to all c-e structures. On the other hand, properties of a node depend on a particular c-e structure, visualization method, etc.

Therefore, there is no type Node in aces. Instead, structural information is stored in CES objects and accessed through structural identifiers, PortID and LinkID. Remaining node-related data is retrieved through NodeIDs from Context instances (many such instances may coexist in the program).

Methods

impl NodeID[src]

pub const fn get(self) -> NonZeroUsize[src]

Trait Implementations

impl Atomic for NodeID[src]

impl Contextual for NodeID[src]

impl PartialOrd<NodeID> for NodeID[src]

impl PartialEq<NodeID> for NodeID[src]

impl Copy for NodeID[src]

impl Ord for NodeID[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Eq for NodeID[src]

impl From<NodeID> for NonZeroUsize[src]

impl Clone for NodeID[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for NodeID[src]

Auto Trait Implementations

impl Send for NodeID

impl Unpin for NodeID

impl Sync for NodeID

impl UnwindSafe for NodeID

impl RefUnwindSafe for NodeID

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[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