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
sourceimpl<T: Default> Default for EventsPrefabProxy<T>where
T: Send + Sync,
impl<T: Default> Default for EventsPrefabProxy<T>where
T: Send + Sync,
sourcefn default() -> EventsPrefabProxy<T>
fn default() -> EventsPrefabProxy<T>
Returns the “default value” for a type. Read more
sourceimpl<'de, T> Deserialize<'de> for EventsPrefabProxy<T>where
T: Send + Sync,
impl<'de, T> Deserialize<'de> for EventsPrefabProxy<T>where
T: Send + Sync,
sourcefn 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
sourceimpl<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)
sourceimpl<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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more