pub struct FixedContainer { /* private fields */ }Expand description
A view wrapper that executes an arbitrary Layout
implementation.
Implementations§
Source§impl FixedContainer
impl FixedContainer
Sourcepub fn new(layout: impl Layout + 'static, contents: impl TupleViews) -> Self
pub fn new(layout: impl Layout + 'static, contents: impl TupleViews) -> Self
Wraps the supplied layout object and tuple of child views into a container view.
Trait Implementations§
Source§impl Debug for FixedContainer
impl Debug for FixedContainer
Source§impl NativeView for FixedContainer
impl NativeView for FixedContainer
Source§fn stretch_axis(&self) -> StretchAxis
fn stretch_axis(&self) -> StretchAxis
Which axis (or axes) this view stretches to fill available space.
Source§impl View for FixedContainer
impl View for FixedContainer
Auto Trait Implementations§
impl Freeze for FixedContainer
impl !RefUnwindSafe for FixedContainer
impl !Send for FixedContainer
impl !Sync for FixedContainer
impl Unpin for FixedContainer
impl !UnwindSafe for FixedContainer
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more