pub trait SectionItemLocation<T: ?Sized> {
// Required method
fn item_ptr(&self) -> *const T;
}Expand description
Argument to crate::TypedSection::offset_of and related section lookup APIs.
pub trait SectionItemLocation<T: ?Sized> {
// Required method
fn item_ptr(&self) -> *const T;
}Argument to crate::TypedSection::offset_of and related section lookup APIs.