pub struct GlobalSegments { /* private fields */ }Expand description
Immutable validated metadata for reusable embedded global segments.
Implementations§
Source§impl GlobalSegments
impl GlobalSegments
Sourcepub fn segment_count(&self) -> usize
pub fn segment_count(&self) -> usize
Number of global segments.
Trait Implementations§
Auto Trait Implementations§
impl Forget for GlobalSegments
impl Freeze for GlobalSegmentswhere
*const u8 is !null: Freeze,
PhantomData<(u32, SegmentType)>: Freeze,
PhantomData<(u32, u32)>: Freeze,
PhantomData<u8>: Freeze,
impl Move for GlobalSegments
impl RefUnwindSafe for GlobalSegments
impl Send for GlobalSegmentswhere
RawVecInner: Send,
impl Sync for GlobalSegmentswhere
RawVecInner: Sync,
impl Unpin for GlobalSegments
impl UnsafeUnpin for GlobalSegmentswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(u32, SegmentType)>: UnsafeUnpin,
PhantomData<(u32, u32)>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for GlobalSegmentswhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more