pub struct SplitHit {
pub path: Vec<usize>,
pub grab: Rect,
pub track: Rect,
pub vertical: bool,
}Expand description
Splitter-Trefferzone: path führt vom Wurzelknoten zum Split
(0 = first, 1 = second), grab ist das Greifband, track die
Gesamtfläche des Splits (Zeiger → Verhältnis), vertical die Achse.
Fields§
§path: Vec<usize>§grab: Rect§track: Rect§vertical: boolTrait Implementations§
impl StructuralPartialEq for SplitHit
Auto Trait Implementations§
impl Freeze for SplitHit
impl RefUnwindSafe for SplitHit
impl Send for SplitHit
impl Sync for SplitHit
impl Unpin for SplitHit
impl UnsafeUnpin for SplitHit
impl UnwindSafe for SplitHit
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