pub struct Fit {
pub heights: Vec<f32>,
pub by_hand: Vec<bool>,
pub overflow: f32,
pub empty: f32,
}👎Deprecated since 0.5.0: moved to egui_stack::sections::plan, re-exported as egui_pop_core::sections::plan; this copy goes in the next release
Expand description
The heights a stack shows (fit).
Fields§
§heights: Vec<f32>👎Deprecated since 0.5.0: moved to egui_stack::sections::plan, re-exported as egui_pop_core::sections::plan; this copy goes in the next release
Every section’s height, in the order given (0 when folded).
by_hand: Vec<bool>👎Deprecated since 0.5.0: moved to egui_stack::sections::plan, re-exported as egui_pop_core::sections::plan; this copy goes in the next release
Whether each section’s height is its own, set by hand.
overflow: f32👎Deprecated since 0.5.0: moved to egui_stack::sections::plan, re-exported as egui_pop_core::sections::plan; this copy goes in the next release
What the least heights lack to fit in the room: the stack scrolls by this much. 0 when they fit.
empty: f32👎Deprecated since 0.5.0: moved to egui_stack::sections::plan, re-exported as egui_pop_core::sections::plan; this copy goes in the next release
The empty room shown under the last section: the room left when no section is open.
Trait Implementations§
impl StructuralPartialEq for Fit
Auto Trait Implementations§
impl Freeze for Fit
impl RefUnwindSafe for Fit
impl Send for Fit
impl Sync for Fit
impl Unpin for Fit
impl UnsafeUnpin for Fit
impl UnwindSafe for Fit
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