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 moresourceimpl 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
Converts to this type from the input type.
sourceimpl Prefab for CompositeRenderable
impl Prefab for CompositeRenderable
fn from_prefab(data: &Intermediate) -> Result<Self, PrefabError>
fn from_prefab_with_extras(
data: &Intermediate,
_named_entities: &HashMap<String, Entity, RandomState>,
_state_token: ID<PhantomData<dyn State + Send + Sync + 'static>>
) -> Result<Self, PrefabError>
fn to_prefab(&self) -> Result<Intermediate, 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 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