#[non_exhaustive]pub enum ExactResolution {
Present(ExactProperty),
Absent,
}Expand description
Exact lookup result.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Present(ExactProperty)
The property was found exactly once across occurrence and inherited sets.
Absent
No occurrence or inherited property set, quantity set or predefined set carried a matching property, quantity or attribute; this is a proven absence, not a lookup failure.
A predefined set’s attribute that is $ is not absent: it is
Present with ExactValue::Null.
Trait Implementations§
Source§impl Clone for ExactResolution
impl Clone for ExactResolution
Source§impl Debug for ExactResolution
impl Debug for ExactResolution
Source§impl PartialEq for ExactResolution
impl PartialEq for ExactResolution
impl StructuralPartialEq for ExactResolution
Auto Trait Implementations§
impl Freeze for ExactResolution
impl RefUnwindSafe for ExactResolution
impl Send for ExactResolution
impl Sync for ExactResolution
impl Unpin for ExactResolution
impl UnsafeUnpin for ExactResolution
impl UnwindSafe for ExactResolution
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