StdLayout

Type Alias StdLayout 

Source
pub type StdLayout = Layout;
Expand description

A type alias for alloc::alloc::Layout.

Aliased Type§

pub struct StdLayout { /* private fields */ }

Trait Implementations§

Source§

impl From<Layout> for StdLayout

Source§

fn from(layout: Layout) -> StdLayout

Converts to this type from the input type.
Source§

impl PartialEq<Layout> for StdLayout

Source§

fn eq(&self, other: &Layout) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.