Trait qecs_core::SubsystemBase [] [src]

pub trait SubsystemBase: Any + Send + Sync {
    fn on_before_frame(&mut self) { ... }
    fn on_after_frame(&mut self) { ... }
    fn on_before_pause(&mut self) { ... }
    fn on_after_pause(&mut self) { ... }
}

Provided Methods

fn on_before_frame(&mut self)

fn on_after_frame(&mut self)

fn on_before_pause(&mut self)

fn on_after_pause(&mut self)

Methods

impl SubsystemBase

fn is<__T>(&self) -> bool where __T: Any, Self: Downcast<__T>

unsafe fn unchecked_downcast_ref<__T>(&self) -> &__T where __T: Any, Self: Downcast<__T>

fn downcast_ref<__T>(&self) -> Option<&__T> where __T: Any, Self: Downcast<__T>

unsafe fn unchecked_downcast_mut<__T>(&mut self) -> &mut __T where __T: Any, Self: Downcast<__T>

fn downcast_mut<__T>(&mut self) -> Option<&mut __T> where __T: Any, Self: Downcast<__T>

fn downcast_boxed<__T>(self: Box<Self>) -> Result<Box<__T>, Box<Self>> where __T: Any, Self: Downcast<__T>

Trait Implementations

impl<__T> Downcast<__T> for SubsystemBase where __T: Any

fn is_type(&self) -> bool

unsafe fn unchecked_downcast_ref(&self) -> &__T

fn downcast_ref(&self) -> Option<&__T>

unsafe fn unchecked_downcast_mut(&mut self) -> &mut __T

fn downcast_mut(&mut self) -> Option<&mut __T>

fn downcast_boxed(self: Box<Self>) -> Result<Box<__T>, Box<Self>>

Implementors