pub struct EuvSplitterProps {
pub size: Signal<f64>,
pub min: f64,
pub max: f64,
}Expand description
Props for the euv_splitter component.
Defines the strongly-typed interface for a resizable split view: how much of the space the first pane takes, and the bounds the drag may move it within.
Fields§
§size: Signal<f64>The share of the width the first pane takes, in percent.
The caller owns the value, so the size survives re-renders and can be seeded from a stored preference.
min: f64The smallest share the first pane may take, in percent.
max: f64The largest share the first pane may take, in percent.
Trait Implementations§
Source§impl Clone for EuvSplitterProps
impl Clone for EuvSplitterProps
Source§impl Debug for EuvSplitterProps
impl Debug for EuvSplitterProps
Auto Trait Implementations§
impl Freeze for EuvSplitterProps
impl RefUnwindSafe for EuvSplitterProps
impl Send for EuvSplitterProps
impl Sync for EuvSplitterProps
impl Unpin for EuvSplitterProps
impl UnsafeUnpin for EuvSplitterProps
impl UnwindSafe for EuvSplitterProps
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