FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BindingChainError

    struct · ferroui-base · v0.5.0

    struct BindingChainError
    

    An error that signals that a binding chain is broken: the value could not be read at some point of the binding path.

    View source

    Members

    new

    fn new() -> Self
    

    Source

    with_message

    fn with_message(message: impl Into<String>) -> Self
    

    Source

    with_expression

    fn with_expression(message: impl Into<String>, expression: impl Into<String>, error_point: impl Into<String>) -> Self
    

    Source

    expression

    fn expression(self: &Self) -> Option<&str>
    

    The expression that could not be evaluated.

    Source

    set_expression

    fn set_expression(self: &mut Self, value: Option<String>)
    

    Sets the expression that could not be evaluated (the protected setter of Expression).

    Source

    expression_error_point

    fn expression_error_point(self: &Self) -> Option<&str>
    

    The point in the expression at which the error occurred.

    Source

    set_expression_error_point

    fn set_expression_error_point(self: &mut Self, value: Option<String>)
    

    Sets the point in the expression at which the error occurred (the protected setter of ExpressionErrorPoint).

    Source

    message

    fn message(self: &Self) -> String
    

    The full message, including the expression and error point.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ToString
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • Default
    • Display
    • Error

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.