pub struct FnLayout<S, P> { /* private fields */ }Expand description
A LayoutAlgorithm made of two closures.
layout builds one of these. It exists as a named type rather than a
pair of boxes so that the trait has something to be implemented on — and
so a caller who wants to keep the layout around can name its type.
Trait Implementations§
Source§impl<S, P> LayoutAlgorithm for FnLayout<S, P>
impl<S, P> LayoutAlgorithm for FnLayout<S, P>
Auto Trait Implementations§
impl<S, P> Freeze for FnLayout<S, P>
impl<S, P> RefUnwindSafe for FnLayout<S, P>where
S: RefUnwindSafe,
P: RefUnwindSafe,
impl<S, P> Send for FnLayout<S, P>
impl<S, P> Sync for FnLayout<S, P>
impl<S, P> Unpin for FnLayout<S, P>
impl<S, P> UnsafeUnpin for FnLayout<S, P>where
S: UnsafeUnpin,
P: UnsafeUnpin,
impl<S, P> UnwindSafe for FnLayout<S, P>where
S: UnwindSafe,
P: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more