[][src]Trait ascesis::Atomic

pub trait Atomic: Contextual + PartialEq<Self> + Eq + Ord + PartialOrd<Self> + Into<NonZeroUsize> + From<NonZeroUsize> + Copy {
    fn into_node_id(this: InContext<Self>) -> Option<NodeID>;
fn into_sat_literal(self, negated: bool) -> Literal; fn into_node_id_docked(this: InContext<Self>, _dock: Face) -> Option<NodeID> { ... } }

A trait of an identifier convertible into NodeID and into sat::Literal.

Required methods

fn into_node_id(this: InContext<Self>) -> Option<NodeID>

fn into_sat_literal(self, negated: bool) -> Literal

Loading content...

Provided methods

fn into_node_id_docked(this: InContext<Self>, _dock: Face) -> Option<NodeID>

Loading content...

Implementors

Loading content...