[−][src]Enum alloc_wg::alloc::ReallocPlacement
A placement constraint when growing or shrinking an existing allocation.
Variants
The allocator is allowed to move the allocation to a different memory address.
If the allocation does move, it's the responsibility of the allocator to also move the data from the previous location to the new location.
The address of the new memory must not change.
If the allocation would have to be moved to a new location to fit, the reallocation request will fail.
Trait Implementations
impl Clone for ReallocPlacement
[src]
fn clone(&self) -> ReallocPlacement
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ReallocPlacement
[src]
impl Debug for ReallocPlacement
[src]
impl Eq for ReallocPlacement
[src]
impl PartialEq<ReallocPlacement> for ReallocPlacement
[src]
fn eq(&self, other: &ReallocPlacement) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for ReallocPlacement
[src]
impl StructuralPartialEq for ReallocPlacement
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReallocPlacement
impl Send for ReallocPlacement
impl Sync for ReallocPlacement
impl Unpin for ReallocPlacement
impl UnwindSafe for ReallocPlacement
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,