#[repr(C, u8)]pub enum ComponentError {
UselessFunctionArgument(UselessFunctionArgumentError),
UnknownComponent(AzString),
}Variants§
UselessFunctionArgument(UselessFunctionArgumentError)
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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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) -> Self
fn from(e: ComponentError) -> Self
Converts to this type from the input type.
Source§impl From<ComponentError> for RenderDomError
impl From<ComponentError> for RenderDomError
Source§fn from(e: ComponentError) -> Self
fn from(e: ComponentError) -> Self
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 (const: unstable) · 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§fn eq(&self, other: &ComponentError) -> bool
fn eq(&self, other: &ComponentError) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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