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§
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>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".