Trait Cell

Source
pub trait Cell<T> {
    // Required methods
    fn init_cell(id: usize, parent_id: usize, s: T) -> DataCell;
    fn push_cell(parent: &mut DataCell, id: usize, s: T);
    fn add_cell(add_to: &mut DataCell, parent_id: usize, id: usize, text: T);
}

Required Methods§

Source

fn init_cell(id: usize, parent_id: usize, s: T) -> DataCell

Source

fn push_cell(parent: &mut DataCell, id: usize, s: T)

Source

fn add_cell(add_to: &mut DataCell, parent_id: usize, id: usize, text: T)

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§