pub enum PaneEdgeResizePlanError {
MissingLeaf {
leaf: PaneId,
},
NodeNotLeaf {
node: PaneId,
},
MissingLayoutRect {
node: PaneId,
},
NoAxisSplit {
leaf: PaneId,
axis: SplitAxis,
},
InvalidRatio {
numerator: u32,
denominator: u32,
},
}Expand description
Errors while deriving edge/corner resize plans.
Variants§
Trait Implementations§
Source§impl Clone for PaneEdgeResizePlanError
impl Clone for PaneEdgeResizePlanError
Source§fn clone(&self) -> PaneEdgeResizePlanError
fn clone(&self) -> PaneEdgeResizePlanError
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 PaneEdgeResizePlanError
impl Debug for PaneEdgeResizePlanError
Source§impl Display for PaneEdgeResizePlanError
impl Display for PaneEdgeResizePlanError
Source§impl Error for PaneEdgeResizePlanError
impl Error for PaneEdgeResizePlanError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for PaneEdgeResizePlanError
impl PartialEq for PaneEdgeResizePlanError
impl Eq for PaneEdgeResizePlanError
impl StructuralPartialEq for PaneEdgeResizePlanError
Auto Trait Implementations§
impl Freeze for PaneEdgeResizePlanError
impl RefUnwindSafe for PaneEdgeResizePlanError
impl Send for PaneEdgeResizePlanError
impl Sync for PaneEdgeResizePlanError
impl Unpin for PaneEdgeResizePlanError
impl UnsafeUnpin for PaneEdgeResizePlanError
impl UnwindSafe for PaneEdgeResizePlanError
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