Skip to main content

Layout

Trait Layout 

Source
pub trait Layout<'d> {
    type ParkPlan;
}
Expand description

Application storage metadata independent of lifecycle eligibility.

Required Associated Types§

Source

type ParkPlan

Pre-park state selected once and retained with this pinned application.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'app, 'd, H, T> Layout<'d> for Bound<'app, 'd, H, T>
where Owner<Pin<&'app mut H>, H>: Layout<'d>, Owner<ManuallyDrop<T>, T>: Layout<'d>,

Source§

type ParkPlan = (Cursor<2>, Cursor<2>, Cursor<2>, <Owner<Pin<&'app mut H>, H> as Layout<'d>>::ParkPlan, <Owner<ManuallyDrop<T>, T> as Layout<'d>>::ParkPlan, Weights<2>)

Source§

impl<'d, A, B> Layout<'d> for Pair<'d, A, B>
where A: Layout<'d> + Root<'d>, B: Layout<'d> + Root<'d>,

Source§

type ParkPlan = (Cursor<2>, Cursor<2>, Cursor<2>, <A as Layout<'d>>::ParkPlan, <B as Layout<'d>>::ParkPlan, Weights<2>)

Source§

impl<'d, S, T> Layout<'d> for Owner<S, T>
where T: Layout<'d>,

Source§

type ParkPlan = <T as Layout<'d>>::ParkPlan