ComparisonConditionTypeHelper
struct · ferroui-xaml-interactivity · v0.5.0
struct ComparisonConditionTypeHelper
Compares the operands of a condition.
Members
compare
fn compare(left_operand: Option<&BoxedValue>, operator_type: ComparisonConditionType, right_operand: Option<&BoxedValue>) -> Result<bool, String>
Compares left_operand and right_operand with operator_type.
A text right operand is first converted to the type of the left operand. Two comparable
operands are compared by order (after converting the right one to the type of the left
one; operands that do not convert or compare are not equal); other operands support only
Equal and
NotEqual.
Errors
An ordering operator with an operand that is not comparable: the argument exception of the reference.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.