Struct oxygengine_core::ecs::components::EventsPrefabProxy
source · pub struct EventsPrefabProxy<T>where
T: Send + Sync,{
pub capacity: Option<usize>,
pub auto_clear: bool,
/* private fields */
}
Fields§
§capacity: Option<usize>
§auto_clear: bool
Trait Implementations§
source§impl<T> Default for EventsPrefabProxy<T>where
T: Send + Sync + Default,
impl<T> Default for EventsPrefabProxy<T>where T: Send + Sync + Default,
source§fn default() -> EventsPrefabProxy<T>
fn default() -> EventsPrefabProxy<T>
Returns the “default value” for a type. Read more
source§impl<'de, T> Deserialize<'de> for EventsPrefabProxy<T>where
T: Send + Sync,
impl<'de, T> Deserialize<'de> for EventsPrefabProxy<T>where T: Send + Sync,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> Prefab for EventsPrefabProxy<T>where
T: Send + Sync,
impl<T> Prefab for EventsPrefabProxy<T>where T: Send + Sync,
fn from_prefab(data: &PrefabValue) -> Result<Self, PrefabError>
fn from_prefab_with_extras( data: &PrefabValue, _named_entities: &HashMap<String, Entity>, _state_token: StateToken ) -> Result<Self, PrefabError>
fn to_prefab(&self) -> Result<PrefabValue, PrefabError>
fn from_prefab_str(data: &str) -> Result<Self, PrefabError>
fn to_prefab_string(&self) -> Result<String, PrefabError>
fn post_from_prefab(&mut self)
source§impl<T> PrefabProxy<EventsPrefabProxy<T>> for Events<T>where
T: Send + Sync + 'static,
impl<T> PrefabProxy<EventsPrefabProxy<T>> for Events<T>where T: Send + Sync + 'static,
fn from_proxy_with_extras( proxy: EventsPrefabProxy<T>, _: &HashMap<String, Entity>, _: StateToken ) -> Result<Self, PrefabError>
Auto Trait Implementations§
impl<T> RefUnwindSafe for EventsPrefabProxy<T>
impl<T> Send for EventsPrefabProxy<T>
impl<T> Sync for EventsPrefabProxy<T>
impl<T> Unpin for EventsPrefabProxy<T>
impl<T> UnwindSafe for EventsPrefabProxy<T>
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more