pub enum AllocLayout {
Linear,
Optimal,
}
Expand description
Layout of the object being allocated.
Variants
Linear
The object has a linear layout.
Optimal
The object has an optimal layout.
Trait Implementations
sourceimpl Clone for AllocLayout
impl Clone for AllocLayout
sourcefn clone(&self) -> AllocLayout
fn clone(&self) -> AllocLayout
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AllocLayout
impl Debug for AllocLayout
sourceimpl Hash for AllocLayout
impl Hash for AllocLayout
sourceimpl PartialEq<AllocLayout> for AllocLayout
impl PartialEq<AllocLayout> for AllocLayout
impl Copy for AllocLayout
impl Eq for AllocLayout
impl StructuralEq for AllocLayout
impl StructuralPartialEq for AllocLayout
Auto Trait Implementations
impl RefUnwindSafe for AllocLayout
impl Send for AllocLayout
impl Sync for AllocLayout
impl Unpin for AllocLayout
impl UnwindSafe for AllocLayout
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more