Enum BlockEntityError
#[non_exhaustive]pub enum BlockEntityError {
Stale,
}Expand description
Why a block-entity operation could not resolve its target.
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.
Stale
The entity was removed, replaced, unloaded or belongs to another level epoch.
Trait Implementations§
§impl Clone for BlockEntityError
impl Clone for BlockEntityError
§fn clone(&self) -> BlockEntityError
fn clone(&self) -> BlockEntityError
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 BlockEntityError
§impl Debug for BlockEntityError
impl Debug for BlockEntityError
impl Eq for BlockEntityError
§impl NoBackend for BlockEntityError
impl NoBackend for BlockEntityError
§fn no_backend() -> BlockEntityError
fn no_backend() -> BlockEntityError
The error for a host without a game.
§impl PartialEq for BlockEntityError
impl PartialEq for BlockEntityError
impl StructuralPartialEq for BlockEntityError
Auto Trait Implementations§
impl Freeze for BlockEntityError
impl RefUnwindSafe for BlockEntityError
impl Send for BlockEntityError
impl Sync for BlockEntityError
impl Unpin for BlockEntityError
impl UnsafeUnpin for BlockEntityError
impl UnwindSafe for BlockEntityError
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