pub enum ComponentError {
UselessFunctionArgument(AzString, AzString, Vec<String>),
UnknownComponent(AzString),
}
Variants§
UselessFunctionArgument(AzString, AzString, Vec<String>)
While instantiating a component, a function argument was encountered that the component won’t use or react to.
UnknownComponent(AzString)
A certain node type can’t be rendered, because the renderer for this node is not available isn’t available
UnknownComponent(component_name)
Trait Implementations§
Source§impl Clone for ComponentError
impl Clone for ComponentError
Source§fn clone(&self) -> ComponentError
fn clone(&self) -> ComponentError
Returns a copy 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 ComponentError
impl Debug for ComponentError
Source§impl Display for ComponentError
impl Display for ComponentError
Source§impl From<ComponentError> for CompileError
impl From<ComponentError> for CompileError
Source§fn from(e: ComponentError) -> CompileError
fn from(e: ComponentError) -> CompileError
Converts to this type from the input type.
Source§impl From<ComponentError> for RenderDomError
impl From<ComponentError> for RenderDomError
Source§fn from(e: ComponentError) -> RenderDomError
fn from(e: ComponentError) -> RenderDomError
Converts to this type from the input type.
Source§impl Hash for ComponentError
impl Hash for ComponentError
Source§impl Ord for ComponentError
impl Ord for ComponentError
Source§fn cmp(&self, other: &ComponentError) -> Ordering
fn cmp(&self, other: &ComponentError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ComponentError
impl PartialEq for ComponentError
Source§impl PartialOrd for ComponentError
impl PartialOrd for ComponentError
impl Eq for ComponentError
impl StructuralPartialEq for ComponentError
Auto Trait Implementations§
impl Freeze for ComponentError
impl RefUnwindSafe for ComponentError
impl Send for ComponentError
impl Sync for ComponentError
impl Unpin for ComponentError
impl UnwindSafe for ComponentError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more