pub type USegment = Segment<dyn AnyUFrameMeta>;Expand description
A contiguous range of homogeneous untyped physical memory frames that have any metadata.
In other words, the metadata of the frames are of the same type, and they
are untyped, but the type of metadata is not known at compile time. An
USegment as a parameter accepts any untyped segments.
The usage of this frame will not be changed while this object is alive.
Aliased Type§
#[repr(transparent)]pub struct USegment {
pub range: Range<usize>,
pub _marker: PhantomData<dyn AnyUFrameMeta>,
}Fields§
§range: Range<usize>The physical address range of the segment.
_marker: PhantomData<dyn AnyUFrameMeta>Marker for the metadata type.