pub struct CompositeRenderable(pub Renderable<'static>);Tuple Fields
0: Renderable<'static>Trait Implementations
sourceimpl Clone for CompositeRenderable
impl Clone for CompositeRenderable
sourcefn clone(&self) -> CompositeRenderable
fn clone(&self) -> CompositeRenderable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CompositeRenderable
impl Debug for CompositeRenderable
sourceimpl Default for CompositeRenderable
impl Default for CompositeRenderable
sourceimpl<'de> Deserialize<'de> for CompositeRenderable
impl<'de> Deserialize<'de> for CompositeRenderable
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 From<Renderable<'static>> for CompositeRenderable
impl From<Renderable<'static>> for CompositeRenderable
sourcefn from(value: Renderable<'static>) -> Self
fn from(value: Renderable<'static>) -> Self
Performs the conversion.
sourceimpl Prefab for CompositeRenderable
impl Prefab for CompositeRenderable
fn from_prefab(data: Value) -> Result<Self, PrefabError>
fn from_prefab_with_extras(
data: Value,
_named_entities: &HashMap<String, Entity, RandomState>,
_state_token: ID<PhantomData<dyn State + Send + Sync + 'static>>
) -> Result<Self, PrefabError>
fn to_prefab(&self) -> Result<Value, 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 Serialize for CompositeRenderable
impl Serialize for CompositeRenderable
impl PrefabComponent for CompositeRenderable
Auto Trait Implementations
impl RefUnwindSafe for CompositeRenderable
impl Send for CompositeRenderable
impl Sync for CompositeRenderable
impl Unpin for CompositeRenderable
impl UnwindSafe for CompositeRenderable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more