Struct qmc::sse::fast_op_alloc::SwitchableFastOpAllocator[][src]

pub struct SwitchableFastOpAllocator<ALLOC: FastOpAllocator = DefaultFastOpAllocator> { /* fields omitted */ }

An allocator which can either forward to another allocator or provide os memory management.

Implementations

impl<ALLOC: FastOpAllocator> SwitchableFastOpAllocator<ALLOC>[src]

pub fn new(alloc: Option<ALLOC>) -> Self[src]

Construct a new allocator with an optional forward to another allocator.

Trait Implementations

impl<ALLOC: Clone + FastOpAllocator> Clone for SwitchableFastOpAllocator<ALLOC>[src]

impl<ALLOC: Debug + FastOpAllocator> Debug for SwitchableFastOpAllocator<ALLOC>[src]

impl<ALLOC: Default + FastOpAllocator> Default for SwitchableFastOpAllocator<ALLOC>[src]

impl<ALLOC: FastOpAllocator> Factory<BinaryHeap<Reverse<usize>>> for SwitchableFastOpAllocator<ALLOC>[src]

impl<ALLOC: FastOpAllocator> Factory<BondContainer<VarPos>> for SwitchableFastOpAllocator<ALLOC>[src]

impl<ALLOC: FastOpAllocator> Factory<BondContainer<usize>> for SwitchableFastOpAllocator<ALLOC>[src]

impl<ALLOC: FastOpAllocator> Factory<Vec<(usize, OpSide), Global>> for SwitchableFastOpAllocator<ALLOC>[src]

impl<ALLOC: FastOpAllocator> Factory<Vec<OpSide, Global>> for SwitchableFastOpAllocator<ALLOC>[src]

impl<ALLOC: FastOpAllocator> Factory<Vec<Option<usize>, Global>> for SwitchableFastOpAllocator<ALLOC>[src]

impl<ALLOC: FastOpAllocator> Factory<Vec<bool, Global>> for SwitchableFastOpAllocator<ALLOC>[src]

impl<ALLOC: FastOpAllocator> Factory<Vec<f64, Global>> for SwitchableFastOpAllocator<ALLOC>[src]

impl<ALLOC: FastOpAllocator> Factory<Vec<usize, Global>> for SwitchableFastOpAllocator<ALLOC>[src]

impl<ALLOC: FastOpAllocator> FastOpAllocator for SwitchableFastOpAllocator<ALLOC>[src]

Auto Trait Implementations

impl<ALLOC> RefUnwindSafe for SwitchableFastOpAllocator<ALLOC> where
    ALLOC: RefUnwindSafe

impl<ALLOC> Send for SwitchableFastOpAllocator<ALLOC> where
    ALLOC: Send

impl<ALLOC> Sync for SwitchableFastOpAllocator<ALLOC> where
    ALLOC: Sync

impl<ALLOC> Unpin for SwitchableFastOpAllocator<ALLOC> where
    ALLOC: Unpin

impl<ALLOC> UnwindSafe for SwitchableFastOpAllocator<ALLOC> where
    ALLOC: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,