Skip to main content

IntoTarget

Trait IntoTarget 

Source
pub trait IntoTarget {
    type Target;

    // Required method
    fn into_target(self) -> Self::Target;
}
Expand description

Trait for type to convert into a target type.

Required Associated Types§

Source

type Target

The target type

Required Methods§

Source

fn into_target(self) -> Self::Target

Convert Self into Self::Target

Implementations on Foreign Types§

Source§

impl IntoTarget for &Vec<Entity>

Source§

impl IntoTarget for &[Entity]

Source§

impl IntoTarget for Vec<Entity>

Source§

impl IntoTarget for Entity

Source§

impl<A> IntoTarget for Handle<A>
where A: Asset,

Available on crate feature bevy_asset only.
Source§

impl<A: Asset> IntoTarget for &Vec<Handle<A>>

Available on crate feature bevy_asset only.
Source§

impl<A: Asset> IntoTarget for &[Handle<A>]

Available on crate feature bevy_asset only.
Source§

impl<A: Asset> IntoTarget for Vec<Handle<A>>

Available on crate feature bevy_asset only.
Source§

impl<A: Asset, const N: usize> IntoTarget for &[Handle<A>; N]

Available on crate feature bevy_asset only.
Source§

impl<A: Asset, const N: usize> IntoTarget for [Handle<A>; N]

Available on crate feature bevy_asset only.
Source§

impl<const N: usize> IntoTarget for &[Entity; N]

Source§

impl<const N: usize> IntoTarget for [Entity; N]

Implementors§