Enum IngredientKeysError
#[non_exhaustive]pub enum IngredientKeysError {
NotEnumerable,
UnknownItem,
}Expand description
Why an ingredient cannot be retained as an exact, component-independent key set.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotEnumerable
A custom predicate may inspect components or context at match time.
UnknownItem
An ingredient name cannot be resolved in the completed item registry.
Trait Implementations§
§impl Clone for IngredientKeysError
impl Clone for IngredientKeysError
§fn clone(&self) -> IngredientKeysError
fn clone(&self) -> IngredientKeysError
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 moreimpl Copy for IngredientKeysError
§impl Debug for IngredientKeysError
impl Debug for IngredientKeysError
impl Eq for IngredientKeysError
§impl NoBackend for IngredientKeysError
impl NoBackend for IngredientKeysError
§fn no_backend() -> IngredientKeysError
fn no_backend() -> IngredientKeysError
The error for a host without a game.
§impl PartialEq for IngredientKeysError
impl PartialEq for IngredientKeysError
impl StructuralPartialEq for IngredientKeysError
Auto Trait Implementations§
impl Freeze for IngredientKeysError
impl RefUnwindSafe for IngredientKeysError
impl Send for IngredientKeysError
impl Sync for IngredientKeysError
impl Unpin for IngredientKeysError
impl UnsafeUnpin for IngredientKeysError
impl UnwindSafe for IngredientKeysError
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