pub struct Asked {
pub open: bool,
pub least: f32,
pub hand: Option<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
A section as a stack asks for it: what fit lays out.
Fields§
§open: 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 it is open; a folded section takes no height.
least: 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 height it never goes under.
hand: Option<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 height set by hand, if any. The last open section ignores its own: it takes what the others leave.
Trait Implementations§
impl Copy for Asked
impl StructuralPartialEq for Asked
Auto Trait Implementations§
impl Freeze for Asked
impl RefUnwindSafe for Asked
impl Send for Asked
impl Sync for Asked
impl Unpin for Asked
impl UnsafeUnpin for Asked
impl UnwindSafe for Asked
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