pub enum PrefabError {
CouldNotSerialize(String),
CouldNotDeserialize(String),
}
Expand description
An error that can occur while processing a Prefab
Variants§
Trait Implementations§
source§impl Clone for PrefabError
impl Clone for PrefabError
source§fn clone(&self) -> PrefabError
fn clone(&self) -> PrefabError
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 PrefabError
impl Debug for PrefabError
source§impl From<PrefabError> for ApplicationError
impl From<PrefabError> for ApplicationError
source§fn from(error: PrefabError) -> Self
fn from(error: PrefabError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrefabError
impl RefUnwindSafe for PrefabError
impl Send for PrefabError
impl Sync for PrefabError
impl Unpin for PrefabError
impl UnwindSafe for PrefabError
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)