Struct qmc::sse::fast_op_alloc::SwitchableFastOpAllocator [−][src]
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]
fn clone(&self) -> SwitchableFastOpAllocator<ALLOC>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<ALLOC: Debug + FastOpAllocator> Debug for SwitchableFastOpAllocator<ALLOC>
[src]
impl<ALLOC: Default + FastOpAllocator> Default for SwitchableFastOpAllocator<ALLOC>
[src]
fn default() -> SwitchableFastOpAllocator<ALLOC>
[src]
impl<ALLOC: FastOpAllocator> Factory<BinaryHeap<Reverse<usize>>> for SwitchableFastOpAllocator<ALLOC>
[src]
fn get_instance(&mut self) -> BinaryHeap<Reverse<usize>>
[src]
fn return_instance(&mut self, t: BinaryHeap<Reverse<usize>>)
[src]
impl<ALLOC: FastOpAllocator> Factory<BondContainer<VarPos>> for SwitchableFastOpAllocator<ALLOC>
[src]
fn get_instance(&mut self) -> BondContainer<VarPos>
[src]
fn return_instance(&mut self, t: BondContainer<VarPos>)
[src]
impl<ALLOC: FastOpAllocator> Factory<BondContainer<usize>> for SwitchableFastOpAllocator<ALLOC>
[src]
fn get_instance(&mut self) -> BondContainer<usize>
[src]
fn return_instance(&mut self, t: BondContainer<usize>)
[src]
impl<ALLOC: FastOpAllocator> Factory<Vec<(usize, OpSide), Global>> for SwitchableFastOpAllocator<ALLOC>
[src]
fn get_instance(&mut self) -> Vec<(usize, OpSide)>
[src]
fn return_instance(&mut self, t: Vec<(usize, OpSide)>)
[src]
impl<ALLOC: FastOpAllocator> Factory<Vec<OpSide, Global>> for SwitchableFastOpAllocator<ALLOC>
[src]
fn get_instance(&mut self) -> Vec<OpSide>
[src]
fn return_instance(&mut self, t: Vec<OpSide>)
[src]
impl<ALLOC: FastOpAllocator> Factory<Vec<Option<usize>, Global>> for SwitchableFastOpAllocator<ALLOC>
[src]
fn get_instance(&mut self) -> Vec<Option<usize>>
[src]
fn return_instance(&mut self, t: Vec<Option<usize>>)
[src]
impl<ALLOC: FastOpAllocator> Factory<Vec<bool, Global>> for SwitchableFastOpAllocator<ALLOC>
[src]
fn get_instance(&mut self) -> Vec<bool>
[src]
fn return_instance(&mut self, t: Vec<bool>)
[src]
impl<ALLOC: FastOpAllocator> Factory<Vec<f64, Global>> for SwitchableFastOpAllocator<ALLOC>
[src]
fn get_instance(&mut self) -> Vec<f64>
[src]
fn return_instance(&mut self, t: Vec<f64>)
[src]
impl<ALLOC: FastOpAllocator> Factory<Vec<usize, Global>> for SwitchableFastOpAllocator<ALLOC>
[src]
fn get_instance(&mut self) -> Vec<usize>
[src]
fn return_instance(&mut self, t: Vec<usize>)
[src]
impl<ALLOC: FastOpAllocator> FastOpAllocator for SwitchableFastOpAllocator<ALLOC>
[src]
Auto Trait Implementations
impl<ALLOC> RefUnwindSafe for SwitchableFastOpAllocator<ALLOC> where
ALLOC: RefUnwindSafe,
ALLOC: RefUnwindSafe,
impl<ALLOC> Send for SwitchableFastOpAllocator<ALLOC> where
ALLOC: Send,
ALLOC: Send,
impl<ALLOC> Sync for SwitchableFastOpAllocator<ALLOC> where
ALLOC: Sync,
ALLOC: Sync,
impl<ALLOC> Unpin for SwitchableFastOpAllocator<ALLOC> where
ALLOC: Unpin,
ALLOC: Unpin,
impl<ALLOC> UnwindSafe for SwitchableFastOpAllocator<ALLOC> where
ALLOC: UnwindSafe,
ALLOC: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,