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§
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
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.