pub enum SplitPatch {
Axis(SplitAxis),
Fraction(f64),
}Expand description
Applied to a kinds::SPLIT node as its bound signals change.
Variants§
Axis(SplitAxis)
Turn the split the other way, keeping the share.
Fraction(f64)
Move the divider so the first pane takes this share. The programmatic-sync
direction: applying it must not re-emit crate::Event::ValueChanged.
Trait Implementations§
Source§impl Clone for SplitPatch
impl Clone for SplitPatch
Source§fn clone(&self) -> SplitPatch
fn clone(&self) -> SplitPatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SplitPatch
impl Debug for SplitPatch
Source§impl PartialEq for SplitPatch
impl PartialEq for SplitPatch
impl StructuralPartialEq for SplitPatch
Auto Trait Implementations§
impl Freeze for SplitPatch
impl RefUnwindSafe for SplitPatch
impl Send for SplitPatch
impl Sync for SplitPatch
impl Unpin for SplitPatch
impl UnsafeUnpin for SplitPatch
impl UnwindSafe for SplitPatch
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