pub struct ExpressionError {
pub exception: BindingError,
pub error_type: BindingErrorType,
}Expand description
The error state of a binding expression: the error and its kind.
(The managed counterpart is named like BindingError, which in this
port is the error object itself.)
Fields§
§exception: BindingError§error_type: BindingErrorTypeImplementations§
Source§impl ExpressionError
impl ExpressionError
pub fn new(exception: BindingError, error_type: BindingErrorType) -> Self
Trait Implementations§
Source§impl Clone for ExpressionError
impl Clone for ExpressionError
Auto Trait Implementations§
impl !RefUnwindSafe for ExpressionError
impl !Send for ExpressionError
impl !Sync for ExpressionError
impl !UnwindSafe for ExpressionError
impl Freeze for ExpressionError
impl Unpin for ExpressionError
impl UnsafeUnpin for ExpressionError
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more