Struct ambient_guest_bridge::ecs::Component
source · pub struct Component<T> { /* private fields */ }
Expand description
A component (piece of entity data). See entity::get_component and entity::set_component.
Trait Implementations§
source§impl<T> ComponentsTuple for Component<T>where
T: SupportedValue,
impl<T> ComponentsTuple for Component<T>where
T: SupportedValue,
source§impl<T: 'static> From<Component<T>> for ComponentDesc
impl<T: 'static> From<Component<T>> for ComponentDesc
source§impl<T> PartialEq for Component<T>
impl<T> PartialEq for Component<T>
impl<T> Copy for Component<T>
impl<T> UntypedComponent for Component<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Component<T>where
T: RefUnwindSafe,
impl<T> Send for Component<T>where
T: Send,
impl<T> Sync for Component<T>where
T: Sync,
impl<T> Unpin for Component<T>where
T: Unpin,
impl<T> UnwindSafe for Component<T>where
T: UnwindSafe,
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