pub struct Actor {
pub vehicle: Arc<Vehicle>,
pub driver: Arc<Driver>,
pub detail: ActorDetail,
}
Expand description
Represents an actor.
Fields
vehicle: Arc<Vehicle>
A vehicle associated within actor.
driver: Arc<Driver>
A driver associated within actor.
detail: ActorDetail
Specifies actor detail.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Actor
impl Send for Actor
impl Sync for Actor
impl Unpin for Actor
impl !UnwindSafe for Actor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more