pub enum DockLayoutValidationErrorKind {
UnsupportedVersion {
expected: u32,
found: u32,
},
DuplicateNodeId {
id: u32,
},
MissingNodeId {
id: u32,
},
CycleDetected {
id: u32,
},
EmptyTabs {
id: u32,
},
TabsActiveOutOfBounds {
id: u32,
active: usize,
len: usize,
},
EmptySplitChildren {
id: u32,
},
SplitFractionsLenMismatch {
id: u32,
children_len: usize,
fractions_len: usize,
},
SplitNonFiniteFraction {
id: u32,
index: usize,
value: f32,
},
SplitNegativeFraction {
id: u32,
index: usize,
value: f32,
},
WindowRootMissing {
logical_window_id: String,
root: u32,
},
FloatingRootMissing {
logical_window_id: String,
root: u32,
},
}Variants§
UnsupportedVersion
DuplicateNodeId
MissingNodeId
CycleDetected
EmptyTabs
TabsActiveOutOfBounds
EmptySplitChildren
SplitFractionsLenMismatch
SplitNonFiniteFraction
SplitNegativeFraction
WindowRootMissing
FloatingRootMissing
Trait Implementations§
Source§impl Clone for DockLayoutValidationErrorKind
impl Clone for DockLayoutValidationErrorKind
Source§fn clone(&self) -> DockLayoutValidationErrorKind
fn clone(&self) -> DockLayoutValidationErrorKind
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 PartialEq for DockLayoutValidationErrorKind
impl PartialEq for DockLayoutValidationErrorKind
Source§fn eq(&self, other: &DockLayoutValidationErrorKind) -> bool
fn eq(&self, other: &DockLayoutValidationErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DockLayoutValidationErrorKind
Auto Trait Implementations§
impl Freeze for DockLayoutValidationErrorKind
impl RefUnwindSafe for DockLayoutValidationErrorKind
impl Send for DockLayoutValidationErrorKind
impl Sync for DockLayoutValidationErrorKind
impl Unpin for DockLayoutValidationErrorKind
impl UnsafeUnpin for DockLayoutValidationErrorKind
impl UnwindSafe for DockLayoutValidationErrorKind
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