Reflect trait bound for Plugin trait

This commit is contained in:
Dmitry Stepanov
2024-05-15 11:12:43 +03:00
parent f31bbb3429
commit 5a54d1d3dc
4 changed files with 19 additions and 15 deletions
+2 -2
View File
@@ -10,12 +10,12 @@ pub mod camera;
///
/// ```rust
/// # use fyrox::{
/// # core::pool::Handle, core::visitor::prelude::*,
/// # core::pool::Handle, core::visitor::prelude::*, core::reflect::prelude::*,
/// # plugin::{Plugin, PluginContext, PluginRegistrationContext},
/// # scene::Scene,
/// # };
/// #
/// # #[derive(Visit)]
/// # #[derive(Visit, Reflect, Debug)]
/// # struct Game;
/// #
/// # impl Plugin for Game {