Trait AsQuadTreePluginConfig

Source
pub trait AsQuadTreePluginConfig:
    Send
    + Sync
    + 'static {
    // Required methods
    fn add_quadtree(app: &mut App);
    fn tree_id() -> TypeId;
}
Available on crate feature multi-quadtree only.
Expand description

Marker trait for quadtree plugin config

Required Methods§

Source

fn add_quadtree(app: &mut App)

add quadtree resource, systems to app

Source

fn tree_id() -> TypeId

Available on debug-assertions enabled only.

return the tree type id for duplicate checking

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<C0> AsQuadTreePluginConfig for (C0,)

Source§

fn add_quadtree(app: &mut App)

Source§

fn tree_id() -> TypeId

Available on debug-assertions enabled only.
Source§

impl<C0, C1> AsQuadTreePluginConfig for (C0, C1)

Source§

fn add_quadtree(app: &mut App)

Source§

fn tree_id() -> TypeId

Available on debug-assertions enabled only.
Source§

impl<C0, C1, C2> AsQuadTreePluginConfig for (C0, C1, C2)

Source§

fn add_quadtree(app: &mut App)

Source§

fn tree_id() -> TypeId

Available on debug-assertions enabled only.
Source§

impl<C0, C1, C2, C3> AsQuadTreePluginConfig for (C0, C1, C2, C3)

Source§

fn add_quadtree(app: &mut App)

Source§

fn tree_id() -> TypeId

Available on debug-assertions enabled only.
Source§

impl<C0, C1, C2, C3, C4> AsQuadTreePluginConfig for (C0, C1, C2, C3, C4)

Source§

fn add_quadtree(app: &mut App)

Source§

fn tree_id() -> TypeId

Available on debug-assertions enabled only.
Source§

impl<C0, C1, C2, C3, C4, C5> AsQuadTreePluginConfig for (C0, C1, C2, C3, C4, C5)

Source§

fn add_quadtree(app: &mut App)

Source§

fn tree_id() -> TypeId

Available on debug-assertions enabled only.
Source§

impl<C0, C1, C2, C3, C4, C5, C6> AsQuadTreePluginConfig for (C0, C1, C2, C3, C4, C5, C6)

Source§

fn add_quadtree(app: &mut App)

Source§

fn tree_id() -> TypeId

Available on debug-assertions enabled only.
Source§

impl<C0, C1, C2, C3, C4, C5, C6, C7> AsQuadTreePluginConfig for (C0, C1, C2, C3, C4, C5, C6, C7)

Source§

fn add_quadtree(app: &mut App)

Source§

fn tree_id() -> TypeId

Available on debug-assertions enabled only.
Source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8> AsQuadTreePluginConfig for (C0, C1, C2, C3, C4, C5, C6, C7, C8)

Source§

fn add_quadtree(app: &mut App)

Source§

fn tree_id() -> TypeId

Available on debug-assertions enabled only.

Implementors§

Source§

impl<P, const ID: usize, const N: usize, const D: usize, const W: usize, const H: usize, const X: usize, const Y: usize, const K: usize> AsQuadTreePluginConfig for QuadTreePluginConfig<P, ID, N, D, W, H, X, Y, K>
where P: TrackingPair,