Skip to main content

TableInit

Trait TableInit 

Source
pub trait TableInit: Default {
    // Required method
    fn append_data_section(&mut self, section: &DataSection) -> Result<()>;

    // Provided methods
    fn from_data_section(section: &DataSection) -> Result<Self> { ... }
    fn from_data_sections(sections: &[DataSection]) -> Result<Self> { ... }
}
Expand description

Create Table from DataSection

Required Methods§

Source

fn append_data_section(&mut self, section: &DataSection) -> Result<()>

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§