pub struct EventId {
pub simulation_address: SimulationAddress,
pub event_id: u16,
}Fields
simulation_address: SimulationAddressevent_id: u16Implementations
sourceimpl EventId
impl EventId
pub fn new(simulation_address: SimulationAddress, event_id: u16) -> Self
pub fn new_sim_address(
simulation_address: SimulationAddress,
event_id: u16
) -> Self
Trait Implementations
impl Copy for EventId
Auto Trait Implementations
impl RefUnwindSafe for EventId
impl Send for EventId
impl Sync for EventId
impl Unpin for EventId
impl UnwindSafe for EventId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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