pub trait SubsectionIndex {
// Required methods
fn subsection_index(&self) -> &u16;
fn subsection_index_mut(&mut self) -> &mut u16;
fn subsection_index_offset_static() -> usize;
// Provided method
fn subsection_index_offset(&self) -> usize { ... }
}
Required Methods§
fn subsection_index(&self) -> &u16
fn subsection_index_mut(&mut self) -> &mut u16
fn subsection_index_offset_static() -> usize
Provided Methods§
fn subsection_index_offset(&self) -> usize
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.