Struct fixed_typed_arena::options::TypedOptions
source · pub struct TypedOptions<ChunkSize = Usize<16>, SupportsPositions = Bool<false>, Mutable = Bool<true>>(/* private fields */);
Expand description
Trait Implementations§
source§impl<T, ChunkSize: ChunkSize<T>, SupportsPositions: SupportsPositions, Mutable: Mutable> ArenaOptions<T> for TypedOptions<ChunkSize, SupportsPositions, Mutable>
impl<T, ChunkSize: ChunkSize<T>, SupportsPositions: SupportsPositions, Mutable: Mutable> ArenaOptions<T> for TypedOptions<ChunkSize, SupportsPositions, Mutable>
§type SupportsPositions = SupportsPositions
type SupportsPositions = SupportsPositions
If true, enables the use of
Position
s, allowing methods like
IterMut::as_position
and Arena::iter_mut_at
to be called, at
the cost of using slightly more memory. Read moreAuto Trait Implementations§
impl<ChunkSize, SupportsPositions, Mutable> RefUnwindSafe for TypedOptions<ChunkSize, SupportsPositions, Mutable>
impl<ChunkSize, SupportsPositions, Mutable> Send for TypedOptions<ChunkSize, SupportsPositions, Mutable>
impl<ChunkSize, SupportsPositions, Mutable> Sync for TypedOptions<ChunkSize, SupportsPositions, Mutable>
impl<ChunkSize, SupportsPositions, Mutable> Unpin for TypedOptions<ChunkSize, SupportsPositions, Mutable>
impl<ChunkSize, SupportsPositions, Mutable> UnwindSafe for TypedOptions<ChunkSize, SupportsPositions, Mutable>
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