Struct oxygengine_user_interface::raui::core::props::PropsRegistry [−][src]
pub struct PropsRegistry { /* fields omitted */ }Implementations
impl PropsRegistry[src]
impl PropsRegistry[src]pub fn register_factory<T>(&mut self, name: &str) where
T: 'static + Prefab + PropsData, [src]
T: 'static + Prefab + PropsData,
pub fn unregister_factory(&mut self, name: &str)[src]
pub fn serialize(&self, props: &Props) -> Result<Value, PrefabError>[src]
pub fn deserialize(&self, data: Value) -> Result<Props, PrefabError>[src]
Trait Implementations
impl Default for PropsRegistry[src]
impl Default for PropsRegistry[src]pub fn default() -> PropsRegistry[src]
Auto Trait Implementations
impl !RefUnwindSafe for PropsRegistry
impl !RefUnwindSafe for PropsRegistryimpl Send for PropsRegistry
impl Send for PropsRegistryimpl Sync for PropsRegistry
impl Sync for PropsRegistryimpl Unpin for PropsRegistry
impl Unpin for PropsRegistryimpl !UnwindSafe for PropsRegistry
impl !UnwindSafe for PropsRegistryBlanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any, pub fn get_type_id(&self) -> TypeId
impl<T> TryDefault for T where
T: Default,
impl<T> TryDefault for T where
T: Default,