pub struct DragPlan {
pub heights: Vec<f32>,
pub moved: 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
What a drag does (plan_drag).
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 after it, in the order given.
moved: 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
How far the boundary moved: down if positive. Less than asked when the stack stopped it; 0 when nothing could move.
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 left under the last section.
Trait Implementations§
impl StructuralPartialEq for DragPlan
Auto Trait Implementations§
impl Freeze for DragPlan
impl RefUnwindSafe for DragPlan
impl Send for DragPlan
impl Sync for DragPlan
impl Unpin for DragPlan
impl UnsafeUnpin for DragPlan
impl UnwindSafe for DragPlan
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