Trait fyrox_resource::options::BaseImportOptions
source · pub trait BaseImportOptions: Reflect {
// Required methods
fn as_any(&self) -> &dyn Any;
fn as_any_mut(&mut self) -> &mut dyn Any;
fn save(&self, path: &Path) -> bool;
}
Expand description
Base type-agnostic trait for resource import options. This trait has automatic implementation
for everything that implements ImportOptions
trait.
Required Methods§
sourcefn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Returns self as any and used for downcasting to a particular type.
sourcefn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Returns self as any and used for downcasting to a particular type.