pub struct EntityLane {
pub entity: Rc<Entity>,
pub id: Id,
pub name: String,
/* private fields */
}Expand description
A child trace lane used to represent named activity intervals.
Fields§
§entity: Rc<Entity>Parent entity that owns this lane.
id: IdUnique simulation identifier used for trace events.
name: StringName of this lane.
Implementations§
Source§impl EntityLane
impl EntityLane
Sourcepub fn begin_in_group(&mut self, name: &str, group: &EntityGroup)
pub fn begin_in_group(&mut self, name: &str, group: &EntityGroup)
Begin the named activity as part of a group.
Trait Implementations§
Source§impl Drop for EntityLane
impl Drop for EntityLane
Auto Trait Implementations§
impl !RefUnwindSafe for EntityLane
impl !Send for EntityLane
impl !Sync for EntityLane
impl !UnwindSafe for EntityLane
impl Freeze for EntityLane
impl Unpin for EntityLane
impl UnsafeUnpin for EntityLane
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