pub trait SegmentDescriptorBuilder<Size> {
// Required methods
fn code_descriptor(base: Size, limit: Size, cst: CodeSegmentType) -> Self;
fn data_descriptor(base: Size, limit: Size, dst: DataSegmentType) -> Self;
}
Expand description
Trait to define functions that build architecture specific code and data descriptors.
Required Methods§
fn code_descriptor(base: Size, limit: Size, cst: CodeSegmentType) -> Self
fn data_descriptor(base: Size, limit: Size, dst: DataSegmentType) -> Self
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.