A placement constraint when growing or shrinking an existing allocation.
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.
impl Clone for ReallocPlacement[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]
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
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.