pub struct String;
Available on crate feature
flecs_meta
only.Trait Implementations§
Source§impl ComponentId for String
impl ComponentId for String
Source§fn is_registered_with_world<'a>(_: impl WorldProvider<'a>) -> bool
fn is_registered_with_world<'a>(_: impl WorldProvider<'a>) -> bool
checks if the component is registered with a world.
Source§fn id<'a>(_world: impl WorldProvider<'a>) -> ecs_id_t
fn id<'a>(_world: impl WorldProvider<'a>) -> ecs_id_t
returns the component id registered with a particular world. If the component is not registered, it will register it. Read more
fn register_ctor_hook<'a>(world: impl WorldProvider<'a>)where
Self: Default,
Source§impl ComponentInfo for String
impl ComponentInfo for String
impl FlecsTrait for String
impl TagComponent for String
Auto Trait Implementations§
impl Freeze for String
impl RefUnwindSafe for String
impl Send for String
impl Sync for String
impl Unpin for String
impl UnwindSafe for String
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