Struct catalyst_entities::SyncFragMap
source · pub struct SyncFragMap<T> { /* private fields */ }Implementations§
source§impl<T> SyncFragMap<T>
impl<T> SyncFragMap<T>
pub fn extend<I: IntoIterator<Item = T>>(&mut self, values: I) -> FragSlice<T>where I::IntoIter: ExactSizeIterator,
pub fn unextend(&mut self, slice: FragSlice<T>) -> impl Iterator<Item = T> + '_
pub fn push(&mut self, value: T) -> FragRef<T>
pub fn next(&self) -> FragRef<T>
sourcepub unsafe fn index_unchecked(&self, addr: FragRef<T>) -> &T
pub unsafe fn index_unchecked(&self, addr: FragRef<T>) -> &T
Safety
Ensure addr is vot out of bounds.
sourcepub unsafe fn slice_unchecked(&self, slice: FragSlice<T>) -> &[T] ⓘ
pub unsafe fn slice_unchecked(&self, slice: FragSlice<T>) -> &[T] ⓘ
Safety
Ensure slice is not out of bounds.
pub fn reference(&self, addr: FragRef<T>) -> SyncFragBorrow<T>where T: NoInteriorMutability,
Trait Implementations§
source§impl<T: NoInteriorMutability> Index<FragRef<T>> for SyncFragMap<T>
impl<T: NoInteriorMutability> Index<FragRef<T>> for SyncFragMap<T>
Auto Trait Implementations§
impl<T> !ArchiveCopy for SyncFragMap<T>
impl<T> !NoInteriorMutability for SyncFragMap<T>
impl<T> !RefUnwindSafe for SyncFragMap<T>
impl<T> Send for SyncFragMap<T>where T: Send + Sync,
impl<T> !Sync for SyncFragMap<T>
impl<T> Unpin for SyncFragMap<T>
impl<T> UnwindSafe for SyncFragMap<T>where T: RefUnwindSafe,
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.