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§
Required Methods§
Sourcefn into_target(self) -> Self::Target
fn into_target(self) -> Self::Target
Convert Self into Self::Target
Implementations on Foreign Types§
Source§impl IntoTarget for &Vec<Entity>
impl IntoTarget for &Vec<Entity>
type Target = TargetComponent
fn into_target(self) -> Self::Target
Source§impl IntoTarget for &[Entity]
impl IntoTarget for &[Entity]
type Target = TargetComponent
fn into_target(self) -> Self::Target
Source§impl IntoTarget for Vec<Entity>
impl IntoTarget for Vec<Entity>
type Target = TargetComponent
fn into_target(self) -> Self::Target
Source§impl IntoTarget for Entity
impl IntoTarget for Entity
type Target = TargetComponent
fn into_target(self) -> Self::Target
Source§impl<A> IntoTarget for Handle<A>where
A: Asset,
Available on crate feature bevy_asset only.
impl<A> IntoTarget for Handle<A>where
A: Asset,
Available on crate feature
bevy_asset only.type Target = TargetAsset<A>
fn into_target(self) -> Self::Target
Source§impl<A: Asset> IntoTarget for &Vec<Handle<A>>
Available on crate feature bevy_asset only.
impl<A: Asset> IntoTarget for &Vec<Handle<A>>
Available on crate feature
bevy_asset only.type Target = TargetAsset<A>
fn into_target(self) -> Self::Target
Source§impl<A: Asset> IntoTarget for &[Handle<A>]
Available on crate feature bevy_asset only.
impl<A: Asset> IntoTarget for &[Handle<A>]
Available on crate feature
bevy_asset only.type Target = TargetAsset<A>
fn into_target(self) -> Self::Target
Source§impl<A: Asset> IntoTarget for Vec<Handle<A>>
Available on crate feature bevy_asset only.
impl<A: Asset> IntoTarget for Vec<Handle<A>>
Available on crate feature
bevy_asset only.type Target = TargetAsset<A>
fn into_target(self) -> Self::Target
Source§impl<A: Asset, const N: usize> IntoTarget for &[Handle<A>; N]
Available on crate feature bevy_asset only.
impl<A: Asset, const N: usize> IntoTarget for &[Handle<A>; N]
Available on crate feature
bevy_asset only.type Target = TargetAsset<A>
fn into_target(self) -> Self::Target
Source§impl<A: Asset, const N: usize> IntoTarget for [Handle<A>; N]
Available on crate feature bevy_asset only.
impl<A: Asset, const N: usize> IntoTarget for [Handle<A>; N]
Available on crate feature
bevy_asset only.