pub enum PaneRepairAction {
ReparentNode {
node_id: PaneId,
before_parent: Option<PaneId>,
after_parent: Option<PaneId>,
},
NormalizeRatio {
node_id: PaneId,
before_numerator: u32,
before_denominator: u32,
after_numerator: u32,
after_denominator: u32,
},
RemoveOrphanNode {
node_id: PaneId,
},
BumpNextId {
before: PaneId,
after: PaneId,
},
}Expand description
One deterministic repair action.
Variants§
Trait Implementations§
Source§impl Clone for PaneRepairAction
impl Clone for PaneRepairAction
Source§fn clone(&self) -> PaneRepairAction
fn clone(&self) -> PaneRepairAction
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 PaneRepairAction
impl Debug for PaneRepairAction
Source§impl<'de> Deserialize<'de> for PaneRepairAction
impl<'de> Deserialize<'de> for PaneRepairAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PaneRepairAction
impl PartialEq for PaneRepairAction
Source§impl Serialize for PaneRepairAction
impl Serialize for PaneRepairAction
impl Eq for PaneRepairAction
impl StructuralPartialEq for PaneRepairAction
Auto Trait Implementations§
impl Freeze for PaneRepairAction
impl RefUnwindSafe for PaneRepairAction
impl Send for PaneRepairAction
impl Sync for PaneRepairAction
impl Unpin for PaneRepairAction
impl UnsafeUnpin for PaneRepairAction
impl UnwindSafe for PaneRepairAction
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