pub struct StackLayoutEntry {
pub component: Arc<dyn Component>,
pub basis: Option<usize>,
pub grow: usize,
pub shrink: usize,
pub min_size: usize,
pub max_size: usize,
pub visible: Option<fn(LayoutViewport) -> bool>,
}Expand description
A layout entry in a stack.
Fields§
§component: Arc<dyn Component>§basis: Option<usize>§grow: usize§shrink: usize§min_size: usize§max_size: usize§visible: Option<fn(LayoutViewport) -> bool>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StackLayoutEntry
impl !UnwindSafe for StackLayoutEntry
impl Freeze for StackLayoutEntry
impl Send for StackLayoutEntry
impl Sync for StackLayoutEntry
impl Unpin for StackLayoutEntry
impl UnsafeUnpin for StackLayoutEntry
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