pub enum SemanticsValidationErrorKind {
Show 16 variants
MissingValueForTextRange {
field: SemanticsValidationField,
},
RangeOutOfBounds {
field: SemanticsValidationField,
start: u32,
end: u32,
len: u32,
},
RangeNotCharBoundary {
field: SemanticsValidationField,
offset: u32,
},
InvalidRangeOrder {
field: SemanticsValidationField,
start: u32,
end: u32,
},
DuplicateNodeId {
id: NodeId,
},
MissingReferencedNode {
field: SemanticsReferenceField,
referenced: NodeId,
},
InvalidCollectionMetadata {
pos_in_set: Option<u32>,
set_size: Option<u32>,
},
InvalidHierarchyLevel {
level: u32,
},
NonFiniteNumeric {
field: SemanticsNumericField,
value: f64,
},
InvalidNumericBounds {
min: f64,
max: f64,
},
NumericValueOutOfBounds {
value: f64,
min: f64,
max: f64,
},
InvalidNumericStep {
step: f64,
},
InvalidNumericJump {
jump: f64,
},
NonFiniteScroll {
field: SemanticsScrollField,
value: f64,
},
InvalidScrollBounds {
axis: SemanticsScrollAxis,
min: f64,
max: f64,
},
ScrollValueOutOfBounds {
axis: SemanticsScrollAxis,
value: f64,
min: f64,
max: f64,
},
}Variants§
MissingValueForTextRange
Fields
§
field: SemanticsValidationFieldRangeOutOfBounds
RangeNotCharBoundary
InvalidRangeOrder
DuplicateNodeId
MissingReferencedNode
InvalidCollectionMetadata
InvalidHierarchyLevel
NonFiniteNumeric
InvalidNumericBounds
NumericValueOutOfBounds
InvalidNumericStep
InvalidNumericJump
NonFiniteScroll
InvalidScrollBounds
ScrollValueOutOfBounds
Trait Implementations§
Source§impl Clone for SemanticsValidationErrorKind
impl Clone for SemanticsValidationErrorKind
Source§fn clone(&self) -> SemanticsValidationErrorKind
fn clone(&self) -> SemanticsValidationErrorKind
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 SemanticsValidationErrorKind
impl Debug for SemanticsValidationErrorKind
Source§impl PartialEq for SemanticsValidationErrorKind
impl PartialEq for SemanticsValidationErrorKind
Source§fn eq(&self, other: &SemanticsValidationErrorKind) -> bool
fn eq(&self, other: &SemanticsValidationErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SemanticsValidationErrorKind
Auto Trait Implementations§
impl Freeze for SemanticsValidationErrorKind
impl RefUnwindSafe for SemanticsValidationErrorKind
impl Send for SemanticsValidationErrorKind
impl Sync for SemanticsValidationErrorKind
impl Unpin for SemanticsValidationErrorKind
impl UnsafeUnpin for SemanticsValidationErrorKind
impl UnwindSafe for SemanticsValidationErrorKind
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