[][src]Struct qframework::simulator::Context

pub struct Context<'a, T = i32> {
    pub simulator: *mut Simulator,
    pub servers: *mut Server,
    pub generator: *mut Generator,
    pub events: *mut EventQueue,
    pub queue: *mut Queue,
    pub _marker: PhantomData<&'a T>,
}

Fields

simulator: *mut Simulatorservers: *mut Servergenerator: *mut Generatorevents: *mut EventQueuequeue: *mut Queue_marker: PhantomData<&'a T>

Methods

impl<'a, T> Context<'a, T>[src]

pub fn get_simulator(&self) -> &'a mut Simulator[src]

pub fn get_servers(&self) -> &'a mut Server[src]

pub fn get_generator(&self) -> &'a mut Generator[src]

pub fn get_events(&self) -> &'a mut EventQueue[src]

pub fn get_queue(&self) -> &'a mut Queue[src]

Auto Trait Implementations

impl<'a, T> Unpin for Context<'a, T>

impl<'a, T = i32> !Sync for Context<'a, T>

impl<'a, T = i32> !Send for Context<'a, T>

impl<'a, T> UnwindSafe for Context<'a, T> where
    T: RefUnwindSafe

impl<'a, T> RefUnwindSafe for Context<'a, T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]