Type Alias AtomID

Source
pub type AtomID = NonZeroUsize;
Expand description

An abstract structural identifier serving as the common base of PortID, LinkID, ForkID and JoinID.

Since this is a numeric identifier, which is serial and one-based, it trivially maps into numeric codes of variables in the DIMACS SAT format.

See [ID] for more details.

Aliased Type§

pub struct AtomID(/* private fields */);

Trait Implementations§

Source§

impl From<ForkID> for AtomID

Source§

fn from(id: ForkID) -> Self

Converts to this type from the input type.
Source§

impl From<JoinID> for AtomID

Source§

fn from(id: JoinID) -> Self

Converts to this type from the input type.
Source§

impl From<LinkID> for AtomID

Source§

fn from(id: LinkID) -> Self

Converts to this type from the input type.
Source§

impl From<PortID> for AtomID

Source§

fn from(id: PortID) -> Self

Converts to this type from the input type.