Var

Trait Var 

Source
pub trait Var: Copy {
    // Required methods
    fn new(sort_idx: u8, deps: u64, bound: bool) -> Self;
    fn is_bound(&self) -> bool;
    fn depends_on(&self, t: u8) -> bool;
    fn depends_on_full(&self, other: u64) -> bool;
    fn dependencies(&self) -> u64;
    fn sort_idx(&self) -> u8;
    fn is_compatible_to(&self, other: &Self) -> bool;
}

Required Methods§

Source

fn new(sort_idx: u8, deps: u64, bound: bool) -> Self

Source

fn is_bound(&self) -> bool

Source

fn depends_on(&self, t: u8) -> bool

Source

fn depends_on_full(&self, other: u64) -> bool

Source

fn dependencies(&self) -> u64

Source

fn sort_idx(&self) -> u8

Source

fn is_compatible_to(&self, other: &Self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Var for Var_