Struct boxcars::ActiveActor
source · pub struct ActiveActor {
pub active: bool,
pub actor: ActorId,
}
Fields§
§active: bool
§actor: ActorId
Trait Implementations§
source§impl Clone for ActiveActor
impl Clone for ActiveActor
source§fn clone(&self) -> ActiveActor
fn clone(&self) -> ActiveActor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ActiveActor
impl Debug for ActiveActor
source§impl PartialEq for ActiveActor
impl PartialEq for ActiveActor
source§fn eq(&self, other: &ActiveActor) -> bool
fn eq(&self, other: &ActiveActor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ActiveActor
impl Serialize for ActiveActor
impl Copy for ActiveActor
impl Eq for ActiveActor
impl StructuralPartialEq for ActiveActor
Auto Trait Implementations§
impl Freeze for ActiveActor
impl RefUnwindSafe for ActiveActor
impl Send for ActiveActor
impl Sync for ActiveActor
impl Unpin for ActiveActor
impl UnwindSafe for ActiveActor
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