pub trait SubsectionsNumber {
// Required methods
fn subsections_number(&self) -> &u16;
fn subsections_number_mut(&mut self) -> &mut u16;
fn subsections_number_offset_static() -> usize;
// Provided method
fn subsections_number_offset(&self) -> usize { ... }
}
Required Methods§
fn subsections_number(&self) -> &u16
fn subsections_number_mut(&mut self) -> &mut u16
fn subsections_number_offset_static() -> usize
Provided Methods§
fn subsections_number_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.