Struct oxygengine_core::ecs::components::Name
source · [−]Tuple Fields
0: Cow<'static, str>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Name
impl<'de> Deserialize<'de> for Name
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 Prefab for Name
impl Prefab for Name
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)
impl PrefabComponent for Name
Auto Trait Implementations
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnwindSafe for Name
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