Skip to main content

FromMsg

Trait FromMsg 

Source
pub trait FromMsg {
    // Required method
    fn from_msg(msg: &SeaMessage<'_>, app: &App) -> Self;
}

Required Methods§

Source

fn from_msg(msg: &SeaMessage<'_>, app: &App) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> FromMsg for Component<T>
where T: Clone + Send + Sync + 'static,

Source§

fn from_msg(_msg: &SeaMessage<'_>, app: &App) -> Self

Source§

impl<T> FromMsg for Config<T>

Source§

fn from_msg(_msg: &SeaMessage<'_>, app: &App) -> Self

Implementors§