pub struct SplitPaneResponse {
pub response: Response,
pub ratio: f64,
pub drag_active: bool,
}Expand description
Response from Context::split_pane and
Context::vsplit_pane.
Wraps the row-level Response of the outer container plus drag state.
Implements Deref<Target = Response> so r.hovered etc. work directly.
Fields§
§response: ResponseThe row/column-level interaction response.
ratio: f64Current ratio after this frame’s interaction (mirrors state.ratio).
drag_active: boolWhether the handle was actively being dragged this frame.
Trait Implementations§
Source§impl Clone for SplitPaneResponse
impl Clone for SplitPaneResponse
Source§fn clone(&self) -> SplitPaneResponse
fn clone(&self) -> SplitPaneResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SplitPaneResponse
impl Debug for SplitPaneResponse
Source§impl Default for SplitPaneResponse
impl Default for SplitPaneResponse
Source§fn default() -> SplitPaneResponse
fn default() -> SplitPaneResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SplitPaneResponse
impl RefUnwindSafe for SplitPaneResponse
impl Send for SplitPaneResponse
impl Sync for SplitPaneResponse
impl Unpin for SplitPaneResponse
impl UnsafeUnpin for SplitPaneResponse
impl UnwindSafe for SplitPaneResponse
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