Struct dyon::link::Link
[−]
[src]
pub struct Link { pub slices: Vec<Slice>, }
Fields
slices: Vec<Slice>
Methods
impl Link
[src]
pub fn new() -> Link
[src]
pub fn head(&self) -> Option<Box<Variable>>
[src]
pub fn tip(&self) -> Option<Box<Variable>>
[src]
pub fn tail(&self) -> Link
[src]
pub fn neck(&self) -> Link
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn add(&self, other: &Link) -> Link
[src]
pub fn push(&mut self, v: &Variable) -> Result<(), String>
[src]
Trait Implementations
impl Debug for Link
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more