Struct rustc_data_structures::sync::AppendOnlyIndexVec
source · pub struct AppendOnlyIndexVec<I: Idx, T: Copy> {
vec: FrozenVec<T>,
_marker: PhantomData<fn(_: &I)>,
}
Fields§
§vec: FrozenVec<T>
§_marker: PhantomData<fn(_: &I)>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<I, T> !RefUnwindSafe for AppendOnlyIndexVec<I, T>
impl<I, T> Send for AppendOnlyIndexVec<I, T>where T: Send,
impl<I, T> !Sync for AppendOnlyIndexVec<I, T>
impl<I, T> Unpin for AppendOnlyIndexVec<I, T>where T: Unpin,
impl<I, T> UnwindSafe for AppendOnlyIndexVec<I, T>where T: 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
impl<'a, T> Captures<'a> for Twhere T: ?Sized,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes