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§impl Debug for PaneEdgeResizePlanError
impl Debug for PaneEdgeResizePlanError
Source§impl Display for PaneEdgeResizePlanError
impl Display for PaneEdgeResizePlanError
impl Eq 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 StructuralPartialEq for PaneEdgeResizePlanError
Auto Trait Implementations§
impl Forget for PaneEdgeResizePlanError
impl Freeze for PaneEdgeResizePlanError
impl Move 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