You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/bevy_mod_scripting_bindings/src/reference.rs
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -354,11 +354,11 @@ impl ReflectReference {
354
354
})?
355
355
}
356
356
357
-
/// Attempts to create a [`Box<dyn PartialReflect>`] from the reference. This is possible using a few strategies:
358
-
/// - If the reference is to a world, a [`WorldCallbackAccess`] is created and boxed
357
+
/// Attempts to create a `Box<dyn PartialReflect>` from the reference. This is possible using a few strategies:
358
+
/// - If the reference is to a world, a [`crate::world::WorldCallbackAccess`] is created and boxed
359
359
/// - If the reference is to an allocation with no reflection path and references to it, the value is taken as is.
360
-
/// - If the reference has a [`bevy::reflect::ReflectFromReflect`] type data associated with it, the value is cloned using that impl.
361
-
/// - If all above fails, [`bevy::reflect::PartialReflect::clone_value`] is used to clone the value.
360
+
/// - If the reference has a [`bevy_reflect::ReflectFromReflect`] type data associated with it, the value is cloned using that impl.
361
+
/// - If all above fails, [`bevy_reflect::PartialReflect::clone_value`] is used to clone the value.
362
362
///
363
363
pubfnto_owned_value(
364
364
&self,
@@ -466,7 +466,7 @@ impl ReflectReference {
466
466
/// - The caller must ensure the cell has permission to access the underlying value
467
467
/// - The caller must ensure no aliasing references to the same value exist at all at the same time
468
468
///
469
-
/// To do this safely you need to use [`WorldAccessGuard::claim_read_access`] or [`WorldAccessGuard::claim_global_access`] to ensure nobody else is currently accessing the value.
469
+
/// To do this safely you need to use [`crate::world::WorldAccessGuard::claim_read_access`] or [`crate::world::WorldAccessGuard::claim_global_access`] to ensure nobody else is currently accessing the value.
470
470
pubunsafefnreflect_unsafe<'w>(
471
471
&self,
472
472
world:WorldGuard<'w>,
@@ -527,7 +527,7 @@ impl ReflectReference {
527
527
/// - The caller must ensure the cell has permission to access the underlying value
528
528
/// - The caller must ensure no other references to the same value exist at all at the same time (even if you have the correct access)
529
529
///
530
-
/// To do this safely you need to use [`WorldAccessGuard::claim_write_access`] or [`WorldAccessGuard::claim_global_access`] to ensure nobody else is currently accessing the value.
530
+
/// To do this safely you need to use [`crate::world::WorldAccessGuard::claim_write_access`] or [`crate::world::WorldAccessGuard::claim_global_access`] to ensure nobody else is currently accessing the value.
Copy file name to clipboardExpand all lines: crates/bevy_mod_scripting_core/src/lib.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ pub enum ScriptingSystemSet {
64
64
///
65
65
/// When implementing a new scripting plugin, also ensure the following implementations exist:
66
66
/// - [`Plugin`] for the plugin, both [`Plugin::build`] and [`Plugin::finish`] methods need to be dispatched to the underlying [`ScriptingPlugin`] struct
67
-
/// - [`AsMut<ScriptingPlugin<Self>`] for the plugin struct
67
+
/// - [`AsMut<ScriptingPlugin<Self>>`] for the plugin struct
0 commit comments