pub struct EntityMonitor {
pub entity: Rc<Entity>,
pub id: Id,
pub name: String,
}Expand description
A monitor entity that is only allowed to emit value events.
Fields§
§entity: Rc<Entity>The wrapped tracked entity.
id: IdUnique simulation identifier used for bin/log messages.
name: StringName of this monitor.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for EntityMonitor
impl !Send for EntityMonitor
impl !Sync for EntityMonitor
impl !UnwindSafe for EntityMonitor
impl Freeze for EntityMonitor
impl Unpin for EntityMonitor
impl UnsafeUnpin for EntityMonitor
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