Type Alias ValId

Source
pub type ValId = Node<ValueData>;
Expand description

A value ID: a node pointing to value data

Aliased Type§

pub struct ValId { /* private fields */ }

Implementations§

Source§

impl ValId

Source

pub fn add_dependent(&self, dependent: WeakId)

Register a value dependent on this value

Trait Implementations§

Source§

impl From<Binary> for ValId

Source§

fn from(p: Binary) -> ValId

Converts to this type from the input type.
Source§

impl From<Bool> for ValId

Source§

fn from(p: Bool) -> ValId

Converts to this type from the input type.
Source§

impl From<Lambda> for ValId

Source§

fn from(lambda: Lambda) -> ValId

Converts to this type from the input type.
Source§

impl From<LogicalOp> for ValId

Source§

fn from(p: LogicalOp) -> ValId

Converts to this type from the input type.
Source§

impl From<Parameter> for ValId

Source§

fn from(param: Parameter) -> ValId

Converts to this type from the input type.
Source§

impl From<Unary> for ValId

Source§

fn from(p: Unary) -> ValId

Converts to this type from the input type.
Source§

impl From<Unit> for ValId

Source§

fn from(p: Unit) -> ValId

Converts to this type from the input type.
Source§

impl From<bool> for ValId

Source§

fn from(p: bool) -> ValId

Converts to this type from the input type.
Source§

impl JEq<Binary> for ValId

Source§

fn jeq(&self, v: &Binary) -> bool

Check whether two objects are judgementally equal
Source§

impl JEq<Bool> for ValId

Source§

fn jeq(&self, v: &Bool) -> bool

Check whether two objects are judgementally equal
Source§

impl JEq<Lambda> for ValId

Source§

fn jeq(&self, v: &Lambda) -> bool

Check whether two objects are judgementally equal
Source§

impl JEq<LogicalOp> for ValId

Source§

fn jeq(&self, v: &LogicalOp) -> bool

Check whether two objects are judgementally equal
Source§

impl JEq<Parameter> for ValId

Source§

fn jeq(&self, v: &Parameter) -> bool

Check whether two objects are judgementally equal
Source§

impl JEq<Sexpr> for ValId

Source§

fn jeq(&self, v: &Sexpr) -> bool

Check whether two objects are judgementally equal
Source§

impl JEq<Unary> for ValId

Source§

fn jeq(&self, v: &Unary) -> bool

Check whether two objects are judgementally equal
Source§

impl JEq<Unit> for ValId

Source§

fn jeq(&self, v: &Unit) -> bool

Check whether two objects are judgementally equal
Source§

impl JEq<ValueEnum> for ValId

Source§

fn jeq(&self, other: &ValueEnum) -> bool

Check whether two objects are judgementally equal
Source§

impl JEq<bool> for ValId

Source§

fn jeq(&self, v: &bool) -> bool

Check whether two objects are judgementally equal
Source§

impl JEq for ValId

Source§

fn jeq(&self, other: &ValId) -> bool

Check whether two objects are judgementally equal
Source§

impl TryFrom<Sexpr> for ValId

Source§

type Error = ValueError

The type returned in the event of a conversion error.
Source§

fn try_from(sexpr: Sexpr) -> Result<ValId, ValueError>

Performs the conversion.
Source§

impl TryFrom<SexprArgs> for ValId

Source§

type Error = ValueError

The type returned in the event of a conversion error.
Source§

fn try_from(args: SexprArgs) -> Result<ValId, ValueError>

Performs the conversion.
Source§

impl TryFrom<ValueEnum> for ValId

Source§

type Error = ValueError

The type returned in the event of a conversion error.
Source§

fn try_from(value: ValueEnum) -> Result<ValId, ValueError>

Performs the conversion.