pub struct EntityHandle<S> { /* private fields */ }Implementations§
Source§impl<S> EntityHandle<S>
impl<S> EntityHandle<S>
Source§impl<S> EntityHandle<S>
impl<S> EntityHandle<S>
pub fn id(&self) -> &EntityId
pub fn rename(&self, name: impl Into<String>) -> bool
pub fn kind_name(&self) -> &'static str
pub fn entity_ref(&self) -> EntityRef
pub fn link_to(&self, target: &EntityRef, kind: EdgeKind)
pub fn link_to_handle<T>(&self, target: &EntityHandle<T>, kind: EdgeKind)
Source§impl<S> EntityHandle<S>where
S: EntityBodySlot,
impl<S> EntityHandle<S>where
S: EntityBodySlot,
Source§impl<S> EntityHandle<S>
impl<S> EntityHandle<S>
Source§impl<S> EntityHandle<S>
impl<S> EntityHandle<S>
pub fn downgrade(&self) -> WeakEntityHandle<S>
Source§impl<S> EntityHandle<S>
impl<S> EntityHandle<S>
pub fn link_to_owned( &self, target: &impl AsEntityRef, kind: EdgeKind, ) -> EdgeHandle
Trait Implementations§
Source§impl<S> AsEntityRef for EntityHandle<S>
impl<S> AsEntityRef for EntityHandle<S>
fn as_entity_ref(&self) -> EntityRef
Auto Trait Implementations§
impl<S> Freeze for EntityHandle<S>
impl<S> RefUnwindSafe for EntityHandle<S>where
S: RefUnwindSafe,
impl<S> Send for EntityHandle<S>where
S: Send,
impl<S> Sync for EntityHandle<S>where
S: Sync,
impl<S> Unpin for EntityHandle<S>where
S: Unpin,
impl<S> UnsafeUnpin for EntityHandle<S>
impl<S> UnwindSafe for EntityHandle<S>where
S: 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