Trait bevy_serialization_core::traits::Unwrap
source · pub trait Unwrap<T>: Sized {
// Required method
fn unwrap(value: T) -> Result<Self, String>;
}
Expand description
trait that explains how to take struct and unwrap it into a bevy thing.
Like From
, but returns either the Thing to be unwrapped or a filepath to thing.
Required Methods§
Object Safety§
This trait is not object safe.