pub trait DerivedBSExtraData {
// Required methods
fn get_extra_data(&self) -> &BSExtraData;
fn get_extra_data_type() -> ExtraDataType;
}
Expand description
Trait indicating whether or not BSExtraData
is inherited in the C++ sense.
Used for downcast availability and linked list traversal.
Required Methods§
Sourcefn get_extra_data(&self) -> &BSExtraData
fn get_extra_data(&self) -> &BSExtraData
Type used for downcast-ing availability and linked list search.
Sourcefn get_extra_data_type() -> ExtraDataType
fn get_extra_data_type() -> ExtraDataType
Function for testing whether BSExtraData
is really inherited. It will not be called in practice.
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.