IntoBevy

Trait IntoBevy 

Source
pub trait IntoBevy<T> {
    // Required method
    fn into_bevy(self) -> T;
}
Expand description

Trait for converting types similar to bevy into their bevy compatible versions.

Required Methods§

Source

fn into_bevy(self) -> T

Converts this type into its bevy compatible equivalent.

Implementations on Foreign Types§

Source§

impl IntoBevy<Color> for Color

Source§

fn into_bevy(self) -> Color

Source§

impl IntoBevy<Transform> for Transform

Source§

fn into_bevy(self) -> Transform

Source§

impl IntoBevy<Viewport> for Viewport

Source§

fn into_bevy(self) -> Viewport

Implementors§