diff --git a/crates/bevy_mod_scripting_functions/src/bevy/bevy_core.rs b/crates/bevy_mod_scripting_functions/src/bevy/bevy_core.rs index 52cf3701e6..90af119c8a 100644 --- a/crates/bevy_mod_scripting_functions/src/bevy/bevy_core.rs +++ b/crates/bevy_mod_scripting_functions/src/bevy/bevy_core.rs @@ -13,14 +13,17 @@ pub struct BevyCoreScriptingPlugin; impl bevy::app::Plugin for BevyCoreScriptingPlugin { fn build(&self, app: &mut bevy::prelude::App) { let mut world = app.world_mut(); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::core::prelude::Name>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::core::prelude::Name::eq(_self, other) + let output: bool = ::bevy::core::prelude::Name::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -28,8 +31,8 @@ impl bevy::app::Plugin for BevyCoreScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::core::prelude::Name::clone( - _self, + let output: Val = ::bevy::core::prelude::Name::clone( + _self.into(), ) .into(); output diff --git a/crates/bevy_mod_scripting_functions/src/bevy/bevy_ecs.rs b/crates/bevy_mod_scripting_functions/src/bevy/bevy_ecs.rs index 2cf5225eba..89c947c828 100644 --- a/crates/bevy_mod_scripting_functions/src/bevy/bevy_ecs.rs +++ b/crates/bevy_mod_scripting_functions/src/bevy/bevy_ecs.rs @@ -12,12 +12,12 @@ pub struct BevyEcsScriptingPlugin; impl bevy::app::Plugin for BevyEcsScriptingPlugin { fn build(&self, app: &mut bevy::prelude::App) { let mut world = app.world_mut(); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::ecs::entity::Entity>::new(world) .overwrite_script_function( "from_raw", |index: u32| { - let output: Val = bevy::ecs::entity::Entity::from_raw( - index, + let output: Val = ::bevy::ecs::entity::Entity::from_raw( + index.into(), ) .into(); output @@ -26,15 +26,16 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "to_bits", |_self: Val| { - let output: u64 = bevy::ecs::entity::Entity::to_bits(_self).into(); + let output: u64 = ::bevy::ecs::entity::Entity::to_bits(_self.into()) + .into(); output }, ) .overwrite_script_function( "from_bits", |bits: u64| { - let output: Val = bevy::ecs::entity::Entity::from_bits( - bits, + let output: Val = ::bevy::ecs::entity::Entity::from_bits( + bits.into(), ) .into(); output @@ -43,14 +44,17 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "index", |_self: Val| { - let output: u32 = bevy::ecs::entity::Entity::index(_self).into(); + let output: u32 = ::bevy::ecs::entity::Entity::index(_self.into()) + .into(); output }, ) .overwrite_script_function( "generation", |_self: Val| { - let output: u32 = bevy::ecs::entity::Entity::generation(_self) + let output: u32 = ::bevy::ecs::entity::Entity::generation( + _self.into(), + ) .into(); output }, @@ -61,7 +65,10 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::ecs::entity::Entity::eq(_self, other) + let output: bool = ::bevy::ecs::entity::Entity::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -69,27 +76,27 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::ecs::entity::Entity::clone( - _self, + let output: Val = ::bevy::ecs::entity::Entity::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world); - NamespaceBuilder::::new(world); - NamespaceBuilder::::new(world); - NamespaceBuilder::::new(world); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::ecs::world::OnAdd>::new(world); + NamespaceBuilder::<::bevy::ecs::world::OnInsert>::new(world); + NamespaceBuilder::<::bevy::ecs::world::OnRemove>::new(world); + NamespaceBuilder::<::bevy::ecs::world::OnReplace>::new(world); + NamespaceBuilder::<::bevy::ecs::component::ComponentId>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::ecs::component::ComponentId::eq( - _self, - other, + let output: bool = ::bevy::ecs::component::ComponentId::eq( + _self.into(), + other.into(), ) .into(); output @@ -98,8 +105,8 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::ecs::component::ComponentId::clone( - _self, + let output: Val = ::bevy::ecs::component::ComponentId::clone( + _self.into(), ) .into(); output @@ -108,8 +115,8 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "new", |index: usize| { - let output: Val = bevy::ecs::component::ComponentId::new( - index, + let output: Val = ::bevy::ecs::component::ComponentId::new( + index.into(), ) .into(); output @@ -118,7 +125,9 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "index", |_self: Val| { - let output: usize = bevy::ecs::component::ComponentId::index(_self) + let output: usize = ::bevy::ecs::component::ComponentId::index( + _self.into(), + ) .into(); output }, @@ -126,19 +135,19 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::ecs::component::ComponentId::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::ecs::component::ComponentId::assert_receiver_is_total_eq( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::ecs::component::Tick>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::ecs::component::Tick::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::ecs::component::Tick::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -150,7 +159,10 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::ecs::component::Tick::eq(_self, other) + let output: bool = ::bevy::ecs::component::Tick::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -158,8 +170,8 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::ecs::component::Tick::clone( - _self, + let output: Val = ::bevy::ecs::component::Tick::clone( + _self.into(), ) .into(); output @@ -168,8 +180,8 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "new", |tick: u32| { - let output: Val = bevy::ecs::component::Tick::new( - tick, + let output: Val = ::bevy::ecs::component::Tick::new( + tick.into(), ) .into(); output @@ -178,14 +190,19 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "get", |_self: Val| { - let output: u32 = bevy::ecs::component::Tick::get(_self).into(); + let output: u32 = ::bevy::ecs::component::Tick::get(_self.into()) + .into(); output }, ) .overwrite_script_function( "set", |_self: Mut, tick: u32| { - let output: () = bevy::ecs::component::Tick::set(_self, tick).into(); + let output: () = ::bevy::ecs::component::Tick::set( + _self.into(), + tick.into(), + ) + .into(); output }, ) @@ -196,21 +213,21 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { last_run: Val, this_run: Val| { - let output: bool = bevy::ecs::component::Tick::is_newer_than( - _self, - last_run, - this_run, + let output: bool = ::bevy::ecs::component::Tick::is_newer_than( + _self.into(), + last_run.into(), + this_run.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::ecs::component::ComponentTicks>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::ecs::component::ComponentTicks::clone( - _self, + let output: Val = ::bevy::ecs::component::ComponentTicks::clone( + _self.into(), ) .into(); output @@ -223,10 +240,10 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { last_run: Val, this_run: Val| { - let output: bool = bevy::ecs::component::ComponentTicks::is_added( - _self, - last_run, - this_run, + let output: bool = ::bevy::ecs::component::ComponentTicks::is_added( + _self.into(), + last_run.into(), + this_run.into(), ) .into(); output @@ -239,10 +256,10 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { last_run: Val, this_run: Val| { - let output: bool = bevy::ecs::component::ComponentTicks::is_changed( - _self, - last_run, - this_run, + let output: bool = ::bevy::ecs::component::ComponentTicks::is_changed( + _self.into(), + last_run.into(), + this_run.into(), ) .into(); output @@ -251,8 +268,8 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "new", |change_tick: Val| { - let output: Val = bevy::ecs::component::ComponentTicks::new( - change_tick, + let output: Val = ::bevy::ecs::component::ComponentTicks::new( + change_tick.into(), ) .into(); output @@ -264,20 +281,20 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { _self: Mut, change_tick: Val| { - let output: () = bevy::ecs::component::ComponentTicks::set_changed( - _self, - change_tick, + let output: () = ::bevy::ecs::component::ComponentTicks::set_changed( + _self.into(), + change_tick.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::ecs::identifier::Identifier>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::ecs::identifier::Identifier::clone( - _self, + let output: Val = ::bevy::ecs::identifier::Identifier::clone( + _self.into(), ) .into(); output @@ -286,7 +303,9 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "low", |_self: Val| { - let output: u32 = bevy::ecs::identifier::Identifier::low(_self) + let output: u32 = ::bevy::ecs::identifier::Identifier::low( + _self.into(), + ) .into(); output }, @@ -294,8 +313,8 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "masked_high", |_self: Val| { - let output: u32 = bevy::ecs::identifier::Identifier::masked_high( - _self, + let output: u32 = ::bevy::ecs::identifier::Identifier::masked_high( + _self.into(), ) .into(); output @@ -304,7 +323,9 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "to_bits", |_self: Val| { - let output: u64 = bevy::ecs::identifier::Identifier::to_bits(_self) + let output: u64 = ::bevy::ecs::identifier::Identifier::to_bits( + _self.into(), + ) .into(); output }, @@ -312,8 +333,8 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { .overwrite_script_function( "from_bits", |value: u64| { - let output: Val = bevy::ecs::identifier::Identifier::from_bits( - value, + let output: Val = ::bevy::ecs::identifier::Identifier::from_bits( + value.into(), ) .into(); output @@ -325,40 +346,40 @@ impl bevy::app::Plugin for BevyEcsScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::ecs::identifier::Identifier::eq( - _self, - other, + let output: bool = ::bevy::ecs::identifier::Identifier::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::ecs::entity::EntityHash>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::ecs::entity::EntityHash::clone( - _self, + let output: Val = ::bevy::ecs::entity::EntityHash::clone( + _self.into(), ) .into(); output }, ); NamespaceBuilder::< - bevy::ecs::removal_detection::RemovedComponentEntity, + ::bevy::ecs::removal_detection::RemovedComponentEntity, >::new(world) .overwrite_script_function( "clone", |_self: Ref| { let output: Val< bevy::ecs::removal_detection::RemovedComponentEntity, - > = bevy::ecs::removal_detection::RemovedComponentEntity::clone( - _self, + > = ::bevy::ecs::removal_detection::RemovedComponentEntity::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world); + NamespaceBuilder::<::bevy::ecs::system::SystemIdMarker>::new(world); } } diff --git a/crates/bevy_mod_scripting_functions/src/bevy/bevy_hierarchy.rs b/crates/bevy_mod_scripting_functions/src/bevy/bevy_hierarchy.rs index cf1b816993..c6f89ceef2 100644 --- a/crates/bevy_mod_scripting_functions/src/bevy/bevy_hierarchy.rs +++ b/crates/bevy_mod_scripting_functions/src/bevy/bevy_hierarchy.rs @@ -14,7 +14,7 @@ pub struct BevyHierarchyScriptingPlugin; impl bevy::app::Plugin for BevyHierarchyScriptingPlugin { fn build(&self, app: &mut bevy::prelude::App) { let mut world = app.world_mut(); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::hierarchy::prelude::Children>::new(world) .overwrite_script_function( "swap", | @@ -22,21 +22,21 @@ impl bevy::app::Plugin for BevyHierarchyScriptingPlugin { a_index: usize, b_index: usize| { - let output: () = bevy::hierarchy::prelude::Children::swap( - _self, - a_index, - b_index, + let output: () = ::bevy::hierarchy::prelude::Children::swap( + _self.into(), + a_index.into(), + b_index.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::hierarchy::prelude::Parent>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::hierarchy::prelude::Parent::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::hierarchy::prelude::Parent::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -48,17 +48,20 @@ impl bevy::app::Plugin for BevyHierarchyScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::hierarchy::prelude::Parent::eq(_self, other) + let output: bool = ::bevy::hierarchy::prelude::Parent::eq( + _self.into(), + other.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::hierarchy::HierarchyEvent>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::hierarchy::HierarchyEvent::clone( - _self, + let output: Val = ::bevy::hierarchy::HierarchyEvent::clone( + _self.into(), ) .into(); output @@ -70,7 +73,10 @@ impl bevy::app::Plugin for BevyHierarchyScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::hierarchy::HierarchyEvent::eq(_self, other) + let output: bool = ::bevy::hierarchy::HierarchyEvent::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -78,8 +84,8 @@ impl bevy::app::Plugin for BevyHierarchyScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::hierarchy::HierarchyEvent::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::hierarchy::HierarchyEvent::assert_receiver_is_total_eq( + _self.into(), ) .into(); output diff --git a/crates/bevy_mod_scripting_functions/src/bevy/bevy_input.rs b/crates/bevy_mod_scripting_functions/src/bevy/bevy_input.rs index 1b1b08576f..b825240bc5 100644 --- a/crates/bevy_mod_scripting_functions/src/bevy/bevy_input.rs +++ b/crates/bevy_mod_scripting_functions/src/bevy/bevy_input.rs @@ -15,12 +15,12 @@ pub struct BevyInputScriptingPlugin; impl bevy::app::Plugin for BevyInputScriptingPlugin { fn build(&self, app: &mut bevy::prelude::App) { let mut world = app.world_mut(); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::Gamepad>::new(world) .overwrite_script_function( "vendor_id", |_self: Ref| { - let output: std::option::Option = bevy::input::gamepad::Gamepad::vendor_id( - _self, + let output: std::option::Option = ::bevy::input::gamepad::Gamepad::vendor_id( + _self.into(), ) .into(); output @@ -29,8 +29,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "product_id", |_self: Ref| { - let output: std::option::Option = bevy::input::gamepad::Gamepad::product_id( - _self, + let output: std::option::Option = ::bevy::input::gamepad::Gamepad::product_id( + _self.into(), ) .into(); output @@ -42,9 +42,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, button_type: Val| { - let output: bool = bevy::input::gamepad::Gamepad::pressed( - _self, - button_type, + let output: bool = ::bevy::input::gamepad::Gamepad::pressed( + _self.into(), + button_type.into(), ) .into(); output @@ -56,9 +56,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, button_type: Val| { - let output: bool = bevy::input::gamepad::Gamepad::just_pressed( - _self, - button_type, + let output: bool = ::bevy::input::gamepad::Gamepad::just_pressed( + _self.into(), + button_type.into(), ) .into(); output @@ -70,20 +70,20 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, button_type: Val| { - let output: bool = bevy::input::gamepad::Gamepad::just_released( - _self, - button_type, + let output: bool = ::bevy::input::gamepad::Gamepad::just_released( + _self.into(), + button_type.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::GamepadAxis>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::gamepad::GamepadAxis::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::gamepad::GamepadAxis::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -95,9 +95,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::GamepadAxis::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::GamepadAxis::eq( + _self.into(), + other.into(), ) .into(); output @@ -106,23 +106,23 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::GamepadAxis::clone( - _self, + let output: Val = ::bevy::input::gamepad::GamepadAxis::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::GamepadButton>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::GamepadButton::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::GamepadButton::eq( + _self.into(), + other.into(), ) .into(); output @@ -131,8 +131,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::GamepadButton::clone( - _self, + let output: Val = ::bevy::input::gamepad::GamepadButton::clone( + _self.into(), ) .into(); output @@ -141,32 +141,35 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::gamepad::GamepadButton::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::gamepad::GamepadButton::assert_receiver_is_total_eq( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::GamepadSettings>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::GamepadSettings::clone( - _self, + let output: Val = ::bevy::input::gamepad::GamepadSettings::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::keyboard::KeyCode>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::keyboard::KeyCode::eq(_self, other) + let output: bool = ::bevy::input::keyboard::KeyCode::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -174,8 +177,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::keyboard::KeyCode::clone( - _self, + let output: Val = ::bevy::input::keyboard::KeyCode::clone( + _self.into(), ) .into(); output @@ -184,19 +187,19 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::keyboard::KeyCode::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::keyboard::KeyCode::assert_receiver_is_total_eq( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::mouse::MouseButton>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::mouse::MouseButton::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::mouse::MouseButton::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -208,7 +211,10 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::mouse::MouseButton::eq(_self, other) + let output: bool = ::bevy::input::mouse::MouseButton::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -216,19 +222,19 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::mouse::MouseButton::clone( - _self, + let output: Val = ::bevy::input::mouse::MouseButton::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::touch::TouchInput>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::touch::TouchInput::clone( - _self, + let output: Val = ::bevy::input::touch::TouchInput::clone( + _self.into(), ) .into(); output @@ -240,17 +246,20 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::touch::TouchInput::eq(_self, other) + let output: bool = ::bevy::input::touch::TouchInput::eq( + _self.into(), + other.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::keyboard::KeyboardFocusLost>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::keyboard::KeyboardFocusLost::clone( - _self, + let output: Val = ::bevy::input::keyboard::KeyboardFocusLost::clone( + _self.into(), ) .into(); output @@ -259,8 +268,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::keyboard::KeyboardFocusLost::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::keyboard::KeyboardFocusLost::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -272,24 +281,24 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::keyboard::KeyboardFocusLost::eq( - _self, - other, + let output: bool = ::bevy::input::keyboard::KeyboardFocusLost::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::keyboard::KeyboardInput>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::keyboard::KeyboardInput::eq( - _self, - other, + let output: bool = ::bevy::input::keyboard::KeyboardInput::eq( + _self.into(), + other.into(), ) .into(); output @@ -298,8 +307,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::keyboard::KeyboardInput::clone( - _self, + let output: Val = ::bevy::input::keyboard::KeyboardInput::clone( + _self.into(), ) .into(); output @@ -308,23 +317,23 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::keyboard::KeyboardInput::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::keyboard::KeyboardInput::assert_receiver_is_total_eq( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::mouse::AccumulatedMouseMotion>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::mouse::AccumulatedMouseMotion::eq( - _self, - other, + let output: bool = ::bevy::input::mouse::AccumulatedMouseMotion::eq( + _self.into(), + other.into(), ) .into(); output @@ -333,19 +342,19 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::mouse::AccumulatedMouseMotion::clone( - _self, + let output: Val = ::bevy::input::mouse::AccumulatedMouseMotion::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::mouse::AccumulatedMouseScroll>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::mouse::AccumulatedMouseScroll::clone( - _self, + let output: Val = ::bevy::input::mouse::AccumulatedMouseScroll::clone( + _self.into(), ) .into(); output @@ -357,24 +366,24 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::mouse::AccumulatedMouseScroll::eq( - _self, - other, + let output: bool = ::bevy::input::mouse::AccumulatedMouseScroll::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::mouse::MouseButtonInput>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::mouse::MouseButtonInput::eq( - _self, - other, + let output: bool = ::bevy::input::mouse::MouseButtonInput::eq( + _self.into(), + other.into(), ) .into(); output @@ -383,8 +392,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::mouse::MouseButtonInput::clone( - _self, + let output: Val = ::bevy::input::mouse::MouseButtonInput::clone( + _self.into(), ) .into(); output @@ -393,21 +402,24 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::mouse::MouseButtonInput::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::mouse::MouseButtonInput::assert_receiver_is_total_eq( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::mouse::MouseMotion>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::mouse::MouseMotion::eq(_self, other) + let output: bool = ::bevy::input::mouse::MouseMotion::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -415,19 +427,19 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::mouse::MouseMotion::clone( - _self, + let output: Val = ::bevy::input::mouse::MouseMotion::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::mouse::MouseWheel>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::mouse::MouseWheel::clone( - _self, + let output: Val = ::bevy::input::mouse::MouseWheel::clone( + _self.into(), ) .into(); output @@ -439,17 +451,20 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::mouse::MouseWheel::eq(_self, other) + let output: bool = ::bevy::input::mouse::MouseWheel::eq( + _self.into(), + other.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::GamepadAxisChangedEvent>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::GamepadAxisChangedEvent::clone( - _self, + let output: Val = ::bevy::input::gamepad::GamepadAxisChangedEvent::clone( + _self.into(), ) .into(); output @@ -461,20 +476,20 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::GamepadAxisChangedEvent::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::GamepadAxisChangedEvent::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::GamepadButtonChangedEvent>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::GamepadButtonChangedEvent::clone( - _self, + let output: Val = ::bevy::input::gamepad::GamepadButtonChangedEvent::clone( + _self.into(), ) .into(); output @@ -486,24 +501,24 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::GamepadButtonChangedEvent::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::GamepadButtonChangedEvent::eq( + _self.into(), + other.into(), ) .into(); output }, ); NamespaceBuilder::< - bevy::input::gamepad::GamepadButtonStateChangedEvent, + ::bevy::input::gamepad::GamepadButtonStateChangedEvent, >::new(world) .overwrite_script_function( "clone", |_self: Ref| { let output: Val< bevy::input::gamepad::GamepadButtonStateChangedEvent, - > = bevy::input::gamepad::GamepadButtonStateChangedEvent::clone( - _self, + > = ::bevy::input::gamepad::GamepadButtonStateChangedEvent::clone( + _self.into(), ) .into(); output @@ -515,9 +530,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::GamepadButtonStateChangedEvent::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::GamepadButtonStateChangedEvent::eq( + _self.into(), + other.into(), ) .into(); output @@ -526,23 +541,23 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::gamepad::GamepadButtonStateChangedEvent::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::gamepad::GamepadButtonStateChangedEvent::assert_receiver_is_total_eq( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::GamepadConnection>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::GamepadConnection::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::GamepadConnection::eq( + _self.into(), + other.into(), ) .into(); output @@ -551,19 +566,19 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::GamepadConnection::clone( - _self, + let output: Val = ::bevy::input::gamepad::GamepadConnection::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::GamepadConnectionEvent>::new(world) .overwrite_script_function( "connected", |_self: Ref| { - let output: bool = bevy::input::gamepad::GamepadConnectionEvent::connected( - _self, + let output: bool = ::bevy::input::gamepad::GamepadConnectionEvent::connected( + _self.into(), ) .into(); output @@ -572,8 +587,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "disconnected", |_self: Ref| { - let output: bool = bevy::input::gamepad::GamepadConnectionEvent::disconnected( - _self, + let output: bool = ::bevy::input::gamepad::GamepadConnectionEvent::disconnected( + _self.into(), ) .into(); output @@ -585,9 +600,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::GamepadConnectionEvent::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::GamepadConnectionEvent::eq( + _self.into(), + other.into(), ) .into(); output @@ -596,23 +611,23 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::GamepadConnectionEvent::clone( - _self, + let output: Val = ::bevy::input::gamepad::GamepadConnectionEvent::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::GamepadEvent>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::GamepadEvent::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::GamepadEvent::eq( + _self.into(), + other.into(), ) .into(); output @@ -621,19 +636,19 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::GamepadEvent::clone( - _self, + let output: Val = ::bevy::input::gamepad::GamepadEvent::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::GamepadInput>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::gamepad::GamepadInput::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::gamepad::GamepadInput::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -642,8 +657,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::GamepadInput::clone( - _self, + let output: Val = ::bevy::input::gamepad::GamepadInput::clone( + _self.into(), ) .into(); output @@ -655,35 +670,37 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::GamepadInput::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::GamepadInput::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::GamepadRumbleRequest>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::GamepadRumbleRequest::clone( - _self, + let output: Val = ::bevy::input::gamepad::GamepadRumbleRequest::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::< + ::bevy::input::gamepad::RawGamepadAxisChangedEvent, + >::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::RawGamepadAxisChangedEvent::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::RawGamepadAxisChangedEvent::eq( + _self.into(), + other.into(), ) .into(); output @@ -692,22 +709,24 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::RawGamepadAxisChangedEvent::clone( - _self, + let output: Val = ::bevy::input::gamepad::RawGamepadAxisChangedEvent::clone( + _self.into(), ) .into(); output }, ); NamespaceBuilder::< - bevy::input::gamepad::RawGamepadButtonChangedEvent, + ::bevy::input::gamepad::RawGamepadButtonChangedEvent, >::new(world) .overwrite_script_function( "clone", |_self: Ref| { let output: Val< bevy::input::gamepad::RawGamepadButtonChangedEvent, - > = bevy::input::gamepad::RawGamepadButtonChangedEvent::clone(_self) + > = ::bevy::input::gamepad::RawGamepadButtonChangedEvent::clone( + _self.into(), + ) .into(); output }, @@ -718,20 +737,20 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::RawGamepadButtonChangedEvent::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::RawGamepadButtonChangedEvent::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::RawGamepadEvent>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::RawGamepadEvent::clone( - _self, + let output: Val = ::bevy::input::gamepad::RawGamepadEvent::clone( + _self.into(), ) .into(); output @@ -743,20 +762,20 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::RawGamepadEvent::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::RawGamepadEvent::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gestures::PinchGesture>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gestures::PinchGesture::clone( - _self, + let output: Val = ::bevy::input::gestures::PinchGesture::clone( + _self.into(), ) .into(); output @@ -768,20 +787,20 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::gestures::PinchGesture::eq( - _self, - other, + let output: bool = ::bevy::input::gestures::PinchGesture::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gestures::RotationGesture>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gestures::RotationGesture::clone( - _self, + let output: Val = ::bevy::input::gestures::RotationGesture::clone( + _self.into(), ) .into(); output @@ -793,24 +812,24 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::gestures::RotationGesture::eq( - _self, - other, + let output: bool = ::bevy::input::gestures::RotationGesture::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gestures::DoubleTapGesture>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::gestures::DoubleTapGesture::eq( - _self, - other, + let output: bool = ::bevy::input::gestures::DoubleTapGesture::eq( + _self.into(), + other.into(), ) .into(); output @@ -819,19 +838,19 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gestures::DoubleTapGesture::clone( - _self, + let output: Val = ::bevy::input::gestures::DoubleTapGesture::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gestures::PanGesture>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gestures::PanGesture::clone( - _self, + let output: Val = ::bevy::input::gestures::PanGesture::clone( + _self.into(), ) .into(); output @@ -843,29 +862,35 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::gestures::PanGesture::eq( - _self, - other, + let output: bool = ::bevy::input::gestures::PanGesture::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::ButtonState>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::ButtonState::eq(_self, other).into(); + let output: bool = ::bevy::input::ButtonState::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "is_pressed", |_self: Ref| { - let output: bool = bevy::input::ButtonState::is_pressed(_self) + let output: bool = ::bevy::input::ButtonState::is_pressed( + _self.into(), + ) .into(); output }, @@ -873,8 +898,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::ButtonState::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::ButtonState::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -883,23 +908,23 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::ButtonState::clone( - _self, + let output: Val = ::bevy::input::ButtonState::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::ButtonSettings>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::ButtonSettings::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::ButtonSettings::eq( + _self.into(), + other.into(), ) .into(); output @@ -908,8 +933,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::ButtonSettings::clone( - _self, + let output: Val = ::bevy::input::gamepad::ButtonSettings::clone( + _self.into(), ) .into(); output @@ -918,9 +943,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "is_pressed", |_self: Ref, value: f32| { - let output: bool = bevy::input::gamepad::ButtonSettings::is_pressed( - _self, - value, + let output: bool = ::bevy::input::gamepad::ButtonSettings::is_pressed( + _self.into(), + value.into(), ) .into(); output @@ -929,9 +954,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "is_released", |_self: Ref, value: f32| { - let output: bool = bevy::input::gamepad::ButtonSettings::is_released( - _self, - value, + let output: bool = ::bevy::input::gamepad::ButtonSettings::is_released( + _self.into(), + value.into(), ) .into(); output @@ -940,8 +965,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "press_threshold", |_self: Ref| { - let output: f32 = bevy::input::gamepad::ButtonSettings::press_threshold( - _self, + let output: f32 = ::bevy::input::gamepad::ButtonSettings::press_threshold( + _self.into(), ) .into(); output @@ -950,9 +975,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "set_press_threshold", |_self: Mut, value: f32| { - let output: f32 = bevy::input::gamepad::ButtonSettings::set_press_threshold( - _self, - value, + let output: f32 = ::bevy::input::gamepad::ButtonSettings::set_press_threshold( + _self.into(), + value.into(), ) .into(); output @@ -961,8 +986,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "release_threshold", |_self: Ref| { - let output: f32 = bevy::input::gamepad::ButtonSettings::release_threshold( - _self, + let output: f32 = ::bevy::input::gamepad::ButtonSettings::release_threshold( + _self.into(), ) .into(); output @@ -971,24 +996,24 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "set_release_threshold", |_self: Mut, value: f32| { - let output: f32 = bevy::input::gamepad::ButtonSettings::set_release_threshold( - _self, - value, + let output: f32 = ::bevy::input::gamepad::ButtonSettings::set_release_threshold( + _self.into(), + value.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::AxisSettings>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::AxisSettings::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::AxisSettings::eq( + _self.into(), + other.into(), ) .into(); output @@ -997,8 +1022,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "livezone_upperbound", |_self: Ref| { - let output: f32 = bevy::input::gamepad::AxisSettings::livezone_upperbound( - _self, + let output: f32 = ::bevy::input::gamepad::AxisSettings::livezone_upperbound( + _self.into(), ) .into(); output @@ -1007,9 +1032,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "set_livezone_upperbound", |_self: Mut, value: f32| { - let output: f32 = bevy::input::gamepad::AxisSettings::set_livezone_upperbound( - _self, - value, + let output: f32 = ::bevy::input::gamepad::AxisSettings::set_livezone_upperbound( + _self.into(), + value.into(), ) .into(); output @@ -1018,8 +1043,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "deadzone_upperbound", |_self: Ref| { - let output: f32 = bevy::input::gamepad::AxisSettings::deadzone_upperbound( - _self, + let output: f32 = ::bevy::input::gamepad::AxisSettings::deadzone_upperbound( + _self.into(), ) .into(); output @@ -1028,9 +1053,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "set_deadzone_upperbound", |_self: Mut, value: f32| { - let output: f32 = bevy::input::gamepad::AxisSettings::set_deadzone_upperbound( - _self, - value, + let output: f32 = ::bevy::input::gamepad::AxisSettings::set_deadzone_upperbound( + _self.into(), + value.into(), ) .into(); output @@ -1039,8 +1064,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "livezone_lowerbound", |_self: Ref| { - let output: f32 = bevy::input::gamepad::AxisSettings::livezone_lowerbound( - _self, + let output: f32 = ::bevy::input::gamepad::AxisSettings::livezone_lowerbound( + _self.into(), ) .into(); output @@ -1049,9 +1074,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "set_livezone_lowerbound", |_self: Mut, value: f32| { - let output: f32 = bevy::input::gamepad::AxisSettings::set_livezone_lowerbound( - _self, - value, + let output: f32 = ::bevy::input::gamepad::AxisSettings::set_livezone_lowerbound( + _self.into(), + value.into(), ) .into(); output @@ -1060,8 +1085,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "deadzone_lowerbound", |_self: Ref| { - let output: f32 = bevy::input::gamepad::AxisSettings::deadzone_lowerbound( - _self, + let output: f32 = ::bevy::input::gamepad::AxisSettings::deadzone_lowerbound( + _self.into(), ) .into(); output @@ -1070,9 +1095,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "set_deadzone_lowerbound", |_self: Mut, value: f32| { - let output: f32 = bevy::input::gamepad::AxisSettings::set_deadzone_lowerbound( - _self, - value, + let output: f32 = ::bevy::input::gamepad::AxisSettings::set_deadzone_lowerbound( + _self.into(), + value.into(), ) .into(); output @@ -1081,8 +1106,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "threshold", |_self: Ref| { - let output: f32 = bevy::input::gamepad::AxisSettings::threshold( - _self, + let output: f32 = ::bevy::input::gamepad::AxisSettings::threshold( + _self.into(), ) .into(); output @@ -1091,9 +1116,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "set_threshold", |_self: Mut, value: f32| { - let output: f32 = bevy::input::gamepad::AxisSettings::set_threshold( - _self, - value, + let output: f32 = ::bevy::input::gamepad::AxisSettings::set_threshold( + _self.into(), + value.into(), ) .into(); output @@ -1102,9 +1127,9 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clamp", |_self: Ref, new_value: f32| { - let output: f32 = bevy::input::gamepad::AxisSettings::clamp( - _self, - new_value, + let output: f32 = ::bevy::input::gamepad::AxisSettings::clamp( + _self.into(), + new_value.into(), ) .into(); output @@ -1117,10 +1142,10 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { new_value: f32, old_value: std::option::Option| { - let output: std::option::Option = bevy::input::gamepad::AxisSettings::filter( - _self, - new_value, - old_value, + let output: std::option::Option = ::bevy::input::gamepad::AxisSettings::filter( + _self.into(), + new_value.into(), + old_value.into(), ) .into(); output @@ -1129,14 +1154,14 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::AxisSettings::clone( - _self, + let output: Val = ::bevy::input::gamepad::AxisSettings::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::ButtonAxisSettings>::new(world) .overwrite_script_function( "filter", | @@ -1144,10 +1169,10 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { new_value: f32, old_value: std::option::Option| { - let output: std::option::Option = bevy::input::gamepad::ButtonAxisSettings::filter( - _self, - new_value, - old_value, + let output: std::option::Option = ::bevy::input::gamepad::ButtonAxisSettings::filter( + _self.into(), + new_value.into(), + old_value.into(), ) .into(); output @@ -1156,19 +1181,19 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::ButtonAxisSettings::clone( - _self, + let output: Val = ::bevy::input::gamepad::ButtonAxisSettings::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::gamepad::GamepadRumbleIntensity>::new(world) .overwrite_script_function( "weak_motor", |intensity: f32| { - let output: Val = bevy::input::gamepad::GamepadRumbleIntensity::weak_motor( - intensity, + let output: Val = ::bevy::input::gamepad::GamepadRumbleIntensity::weak_motor( + intensity.into(), ) .into(); output @@ -1177,8 +1202,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "strong_motor", |intensity: f32| { - let output: Val = bevy::input::gamepad::GamepadRumbleIntensity::strong_motor( - intensity, + let output: Val = ::bevy::input::gamepad::GamepadRumbleIntensity::strong_motor( + intensity.into(), ) .into(); output @@ -1187,8 +1212,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::gamepad::GamepadRumbleIntensity::clone( - _self, + let output: Val = ::bevy::input::gamepad::GamepadRumbleIntensity::clone( + _self.into(), ) .into(); output @@ -1200,20 +1225,20 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::gamepad::GamepadRumbleIntensity::eq( - _self, - other, + let output: bool = ::bevy::input::gamepad::GamepadRumbleIntensity::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::keyboard::Key>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::keyboard::Key::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::keyboard::Key::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -1222,8 +1247,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::keyboard::Key::clone( - _self, + let output: Val = ::bevy::input::keyboard::Key::clone( + _self.into(), ) .into(); output @@ -1235,21 +1260,24 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::keyboard::Key::eq(_self, other) + let output: bool = ::bevy::input::keyboard::Key::eq( + _self.into(), + other.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::keyboard::NativeKeyCode>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::keyboard::NativeKeyCode::eq( - _self, - other, + let output: bool = ::bevy::input::keyboard::NativeKeyCode::eq( + _self.into(), + other.into(), ) .into(); output @@ -1258,8 +1286,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::keyboard::NativeKeyCode::clone( - _self, + let output: Val = ::bevy::input::keyboard::NativeKeyCode::clone( + _self.into(), ) .into(); output @@ -1268,21 +1296,24 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::keyboard::NativeKeyCode::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::keyboard::NativeKeyCode::assert_receiver_is_total_eq( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::keyboard::NativeKey>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::input::keyboard::NativeKey::eq(_self, other) + let output: bool = ::bevy::input::keyboard::NativeKey::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -1290,8 +1321,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::keyboard::NativeKey::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::keyboard::NativeKey::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -1300,19 +1331,19 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::keyboard::NativeKey::clone( - _self, + let output: Val = ::bevy::input::keyboard::NativeKey::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::mouse::MouseScrollUnit>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::mouse::MouseScrollUnit::clone( - _self, + let output: Val = ::bevy::input::mouse::MouseScrollUnit::clone( + _self.into(), ) .into(); output @@ -1321,8 +1352,8 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::mouse::MouseScrollUnit::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::mouse::MouseScrollUnit::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -1334,20 +1365,20 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::mouse::MouseScrollUnit::eq( - _self, - other, + let output: bool = ::bevy::input::mouse::MouseScrollUnit::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::touch::TouchPhase>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::input::touch::TouchPhase::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::input::touch::TouchPhase::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -1359,7 +1390,10 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::touch::TouchPhase::eq(_self, other) + let output: bool = ::bevy::input::touch::TouchPhase::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -1367,19 +1401,19 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::touch::TouchPhase::clone( - _self, + let output: Val = ::bevy::input::touch::TouchPhase::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::input::touch::ForceTouch>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::input::touch::ForceTouch::clone( - _self, + let output: Val = ::bevy::input::touch::ForceTouch::clone( + _self.into(), ) .into(); output @@ -1391,7 +1425,10 @@ impl bevy::app::Plugin for BevyInputScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::input::touch::ForceTouch::eq(_self, other) + let output: bool = ::bevy::input::touch::ForceTouch::eq( + _self.into(), + other.into(), + ) .into(); output }, diff --git a/crates/bevy_mod_scripting_functions/src/bevy/bevy_math.rs b/crates/bevy_mod_scripting_functions/src/bevy/bevy_math.rs index b6e75cfcc3..540ed8dd48 100644 --- a/crates/bevy_mod_scripting_functions/src/bevy/bevy_math.rs +++ b/crates/bevy_mod_scripting_functions/src/bevy/bevy_math.rs @@ -12,29 +12,34 @@ pub struct BevyMathScriptingPlugin; impl bevy::app::Plugin for BevyMathScriptingPlugin { fn build(&self, app: &mut bevy::prelude::App) { let mut world = app.world_mut(); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::AspectRatio>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::AspectRatio::eq(_self, other).into(); + let output: bool = ::bevy::math::AspectRatio::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "ratio", |_self: Ref| { - let output: f32 = bevy::math::AspectRatio::ratio(_self).into(); + let output: f32 = ::bevy::math::AspectRatio::ratio(_self.into()) + .into(); output }, ) .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::AspectRatio::inverse( - _self, + let output: Val = ::bevy::math::AspectRatio::inverse( + _self.into(), ) .into(); output @@ -43,7 +48,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_landscape", |_self: Ref| { - let output: bool = bevy::math::AspectRatio::is_landscape(_self) + let output: bool = ::bevy::math::AspectRatio::is_landscape( + _self.into(), + ) .into(); output }, @@ -51,7 +58,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_portrait", |_self: Ref| { - let output: bool = bevy::math::AspectRatio::is_portrait(_self) + let output: bool = ::bevy::math::AspectRatio::is_portrait( + _self.into(), + ) .into(); output }, @@ -59,26 +68,27 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_square", |_self: Ref| { - let output: bool = bevy::math::AspectRatio::is_square(_self).into(); + let output: bool = ::bevy::math::AspectRatio::is_square(_self.into()) + .into(); output }, ) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::AspectRatio::clone( - _self, + let output: Val = ::bevy::math::AspectRatio::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::CompassOctant>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::CompassOctant::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::CompassOctant::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -87,8 +97,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::CompassOctant::clone( - _self, + let output: Val = ::bevy::math::CompassOctant::clone( + _self.into(), ) .into(); output @@ -100,17 +110,20 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::CompassOctant::eq(_self, other) + let output: bool = ::bevy::math::CompassOctant::eq( + _self.into(), + other.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::CompassQuadrant>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::CompassQuadrant::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::CompassQuadrant::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -122,7 +135,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::CompassQuadrant::eq(_self, other) + let output: bool = ::bevy::math::CompassQuadrant::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -130,23 +146,23 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::CompassQuadrant::clone( - _self, + let output: Val = ::bevy::math::CompassQuadrant::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Isometry2d>::new(world) .overwrite_script_function( "mul", | _self: Val, rhs: Val| { - let output: Val = bevy::math::Isometry2d::mul( - _self, - rhs, + let output: Val = ::bevy::math::Isometry2d::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -155,8 +171,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_rotation", |rotation: Val| { - let output: Val = bevy::math::Isometry2d::from_rotation( - rotation, + let output: Val = ::bevy::math::Isometry2d::from_rotation( + rotation.into(), ) .into(); output @@ -165,9 +181,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_xy", |x: f32, y: f32| { - let output: Val = bevy::math::Isometry2d::from_xy( - x, - y, + let output: Val = ::bevy::math::Isometry2d::from_xy( + x.into(), + y.into(), ) .into(); output @@ -176,8 +192,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::Isometry2d::inverse( - _self, + let output: Val = ::bevy::math::Isometry2d::inverse( + _self.into(), ) .into(); output @@ -186,9 +202,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "inverse_mul", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Isometry2d::inverse_mul( - _self, - rhs, + let output: Val = ::bevy::math::Isometry2d::inverse_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -197,8 +213,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Isometry2d::clone( - _self, + let output: Val = ::bevy::math::Isometry2d::clone( + _self.into(), ) .into(); output @@ -207,9 +223,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Isometry2d::mul( - _self, - rhs, + let output: Val = ::bevy::math::Isometry2d::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -218,18 +234,22 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::Isometry2d::eq(_self, other).into(); + let output: bool = ::bevy::math::Isometry2d::eq( + _self.into(), + other.into(), + ) + .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Isometry3d>::new(world) .overwrite_script_function( "from_xyz", |x: f32, y: f32, z: f32| { - let output: Val = bevy::math::Isometry3d::from_xyz( - x, - y, - z, + let output: Val = ::bevy::math::Isometry3d::from_xyz( + x.into(), + y.into(), + z.into(), ) .into(); output @@ -238,8 +258,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::Isometry3d::inverse( - _self, + let output: Val = ::bevy::math::Isometry3d::inverse( + _self.into(), ) .into(); output @@ -248,9 +268,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "inverse_mul", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Isometry3d::inverse_mul( - _self, - rhs, + let output: Val = ::bevy::math::Isometry3d::inverse_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -259,8 +279,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Isometry3d::clone( - _self, + let output: Val = ::bevy::math::Isometry3d::clone( + _self.into(), ) .into(); output @@ -269,9 +289,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Isometry3d::mul( - _self, - rhs, + let output: Val = ::bevy::math::Isometry3d::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -283,9 +303,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Val, rhs: Val| { - let output: Val = bevy::math::Isometry3d::mul( - _self, - rhs, + let output: Val = ::bevy::math::Isometry3d::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -294,15 +314,21 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::Isometry3d::eq(_self, other).into(); + let output: bool = ::bevy::math::Isometry3d::eq( + _self.into(), + other.into(), + ) + .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Ray2d>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Ray2d::clone(_self) + let output: Val = ::bevy::math::Ray2d::clone( + _self.into(), + ) .into(); output }, @@ -310,31 +336,44 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::Ray2d::eq(_self, other).into(); + let output: bool = ::bevy::math::Ray2d::eq( + _self.into(), + other.into(), + ) + .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Ray3d>::new(world) .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::Ray3d::eq(_self, other).into(); + let output: bool = ::bevy::math::Ray3d::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Ray3d::clone(_self) + let output: Val = ::bevy::math::Ray3d::clone( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Rot2>::new(world) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Rot2::mul(_self, rhs) + let output: Val = ::bevy::math::Rot2::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -342,8 +381,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "radians", |radians: f32| { - let output: Val = bevy::math::Rot2::radians( - radians, + let output: Val = ::bevy::math::Rot2::radians( + radians.into(), ) .into(); output @@ -352,8 +391,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "degrees", |degrees: f32| { - let output: Val = bevy::math::Rot2::degrees( - degrees, + let output: Val = ::bevy::math::Rot2::degrees( + degrees.into(), ) .into(); output @@ -362,8 +401,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "turn_fraction", |fraction: f32| { - let output: Val = bevy::math::Rot2::turn_fraction( - fraction, + let output: Val = ::bevy::math::Rot2::turn_fraction( + fraction.into(), ) .into(); output @@ -372,9 +411,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_sin_cos", |sin: f32, cos: f32| { - let output: Val = bevy::math::Rot2::from_sin_cos( - sin, - cos, + let output: Val = ::bevy::math::Rot2::from_sin_cos( + sin.into(), + cos.into(), ) .into(); output @@ -383,57 +422,63 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "as_radians", |_self: Val| { - let output: f32 = bevy::math::Rot2::as_radians(_self).into(); + let output: f32 = ::bevy::math::Rot2::as_radians(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_degrees", |_self: Val| { - let output: f32 = bevy::math::Rot2::as_degrees(_self).into(); + let output: f32 = ::bevy::math::Rot2::as_degrees(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_turn_fraction", |_self: Val| { - let output: f32 = bevy::math::Rot2::as_turn_fraction(_self).into(); + let output: f32 = ::bevy::math::Rot2::as_turn_fraction(_self.into()) + .into(); output }, ) .overwrite_script_function( "sin_cos", |_self: Val| { - let output: (f32, f32) = bevy::math::Rot2::sin_cos(_self).into(); + let output: (f32, f32) = ::bevy::math::Rot2::sin_cos(_self.into()) + .into(); output }, ) .overwrite_script_function( "length", |_self: Val| { - let output: f32 = bevy::math::Rot2::length(_self).into(); + let output: f32 = ::bevy::math::Rot2::length(_self.into()).into(); output }, ) .overwrite_script_function( "length_squared", |_self: Val| { - let output: f32 = bevy::math::Rot2::length_squared(_self).into(); + let output: f32 = ::bevy::math::Rot2::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "length_recip", |_self: Val| { - let output: f32 = bevy::math::Rot2::length_recip(_self).into(); + let output: f32 = ::bevy::math::Rot2::length_recip(_self.into()) + .into(); output }, ) .overwrite_script_function( "normalize", |_self: Val| { - let output: Val = bevy::math::Rot2::normalize( - _self, + let output: Val = ::bevy::math::Rot2::normalize( + _self.into(), ) .into(); output @@ -442,8 +487,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "fast_renormalize", |_self: Val| { - let output: Val = bevy::math::Rot2::fast_renormalize( - _self, + let output: Val = ::bevy::math::Rot2::fast_renormalize( + _self.into(), ) .into(); output @@ -452,35 +497,41 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Val| { - let output: bool = bevy::math::Rot2::is_finite(_self).into(); + let output: bool = ::bevy::math::Rot2::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Val| { - let output: bool = bevy::math::Rot2::is_nan(_self).into(); + let output: bool = ::bevy::math::Rot2::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "is_normalized", |_self: Val| { - let output: bool = bevy::math::Rot2::is_normalized(_self).into(); + let output: bool = ::bevy::math::Rot2::is_normalized(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_near_identity", |_self: Val| { - let output: bool = bevy::math::Rot2::is_near_identity(_self).into(); + let output: bool = ::bevy::math::Rot2::is_near_identity(_self.into()) + .into(); output }, ) .overwrite_script_function( "angle_between", |_self: Val, other: Val| { - let output: f32 = bevy::math::Rot2::angle_between(_self, other) + let output: f32 = ::bevy::math::Rot2::angle_between( + _self.into(), + other.into(), + ) .into(); output }, @@ -488,14 +539,20 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "angle_to", |_self: Val, other: Val| { - let output: f32 = bevy::math::Rot2::angle_to(_self, other).into(); + let output: f32 = ::bevy::math::Rot2::angle_to( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "inverse", |_self: Val| { - let output: Val = bevy::math::Rot2::inverse(_self) + let output: Val = ::bevy::math::Rot2::inverse( + _self.into(), + ) .into(); output }, @@ -503,10 +560,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "nlerp", |_self: Val, end: Val, s: f32| { - let output: Val = bevy::math::Rot2::nlerp( - _self, - end, - s, + let output: Val = ::bevy::math::Rot2::nlerp( + _self.into(), + end.into(), + s.into(), ) .into(); output @@ -515,10 +572,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "slerp", |_self: Val, end: Val, s: f32| { - let output: Val = bevy::math::Rot2::slerp( - _self, - end, - s, + let output: Val = ::bevy::math::Rot2::slerp( + _self.into(), + end.into(), + s.into(), ) .into(); output @@ -530,9 +587,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Val, direction: Val| { - let output: Val = bevy::math::Rot2::mul( - _self, - direction, + let output: Val = ::bevy::math::Rot2::mul( + _self.into(), + direction.into(), ) .into(); output @@ -541,24 +598,27 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::Rot2::eq(_self, other).into(); + let output: bool = ::bevy::math::Rot2::eq(_self.into(), other.into()) + .into(); output }, ) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Rot2::clone(_self) + let output: Val = ::bevy::math::Rot2::clone( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::prelude::Dir2>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::prelude::Dir2::clone( - _self, + let output: Val = ::bevy::math::prelude::Dir2::clone( + _self.into(), ) .into(); output @@ -567,9 +627,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_xy_unchecked", |x: f32, y: f32| { - let output: Val = bevy::math::prelude::Dir2::from_xy_unchecked( - x, - y, + let output: Val = ::bevy::math::prelude::Dir2::from_xy_unchecked( + x.into(), + y.into(), ) .into(); output @@ -582,10 +642,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { rhs: Val, s: f32| { - let output: Val = bevy::math::prelude::Dir2::slerp( - _self, - rhs, - s, + let output: Val = ::bevy::math::prelude::Dir2::slerp( + _self.into(), + rhs.into(), + s.into(), ) .into(); output @@ -597,9 +657,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Val, other: Val| { - let output: Val = bevy::math::prelude::Dir2::rotation_to( - _self, - other, + let output: Val = ::bevy::math::prelude::Dir2::rotation_to( + _self.into(), + other.into(), ) .into(); output @@ -611,9 +671,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Val, other: Val| { - let output: Val = bevy::math::prelude::Dir2::rotation_from( - _self, - other, + let output: Val = ::bevy::math::prelude::Dir2::rotation_from( + _self.into(), + other.into(), ) .into(); output @@ -622,8 +682,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "rotation_from_x", |_self: Val| { - let output: Val = bevy::math::prelude::Dir2::rotation_from_x( - _self, + let output: Val = ::bevy::math::prelude::Dir2::rotation_from_x( + _self.into(), ) .into(); output @@ -632,8 +692,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "rotation_to_x", |_self: Val| { - let output: Val = bevy::math::prelude::Dir2::rotation_to_x( - _self, + let output: Val = ::bevy::math::prelude::Dir2::rotation_to_x( + _self.into(), ) .into(); output @@ -642,8 +702,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "rotation_from_y", |_self: Val| { - let output: Val = bevy::math::prelude::Dir2::rotation_from_y( - _self, + let output: Val = ::bevy::math::prelude::Dir2::rotation_from_y( + _self.into(), ) .into(); output @@ -652,8 +712,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "rotation_to_y", |_self: Val| { - let output: Val = bevy::math::prelude::Dir2::rotation_to_y( - _self, + let output: Val = ::bevy::math::prelude::Dir2::rotation_to_y( + _self.into(), ) .into(); output @@ -662,8 +722,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "fast_renormalize", |_self: Val| { - let output: Val = bevy::math::prelude::Dir2::fast_renormalize( - _self, + let output: Val = ::bevy::math::prelude::Dir2::fast_renormalize( + _self.into(), ) .into(); output @@ -675,7 +735,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::prelude::Dir2::eq(_self, other) + let output: bool = ::bevy::math::prelude::Dir2::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -683,19 +746,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::prelude::Dir2::neg( - _self, + let output: Val = ::bevy::math::prelude::Dir2::neg( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::prelude::Dir3>::new(world) .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::prelude::Dir3::neg( - _self, + let output: Val = ::bevy::math::prelude::Dir3::neg( + _self.into(), ) .into(); output @@ -704,8 +767,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::prelude::Dir3::clone( - _self, + let output: Val = ::bevy::math::prelude::Dir3::clone( + _self.into(), ) .into(); output @@ -717,7 +780,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::prelude::Dir3::eq(_self, other) + let output: bool = ::bevy::math::prelude::Dir3::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -725,10 +791,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_xyz_unchecked", |x: f32, y: f32, z: f32| { - let output: Val = bevy::math::prelude::Dir3::from_xyz_unchecked( - x, - y, - z, + let output: Val = ::bevy::math::prelude::Dir3::from_xyz_unchecked( + x.into(), + y.into(), + z.into(), ) .into(); output @@ -741,10 +807,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { rhs: Val, s: f32| { - let output: Val = bevy::math::prelude::Dir3::slerp( - _self, - rhs, - s, + let output: Val = ::bevy::math::prelude::Dir3::slerp( + _self.into(), + rhs.into(), + s.into(), ) .into(); output @@ -753,19 +819,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "fast_renormalize", |_self: Val| { - let output: Val = bevy::math::prelude::Dir3::fast_renormalize( - _self, + let output: Val = ::bevy::math::prelude::Dir3::fast_renormalize( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::prelude::Dir3A>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::prelude::Dir3A::clone( - _self, + let output: Val = ::bevy::math::prelude::Dir3A::clone( + _self.into(), ) .into(); output @@ -774,8 +840,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::prelude::Dir3A::neg( - _self, + let output: Val = ::bevy::math::prelude::Dir3A::neg( + _self.into(), ) .into(); output @@ -787,7 +853,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::prelude::Dir3A::eq(_self, other) + let output: bool = ::bevy::math::prelude::Dir3A::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -795,10 +864,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_xyz_unchecked", |x: f32, y: f32, z: f32| { - let output: Val = bevy::math::prelude::Dir3A::from_xyz_unchecked( - x, - y, - z, + let output: Val = ::bevy::math::prelude::Dir3A::from_xyz_unchecked( + x.into(), + y.into(), + z.into(), ) .into(); output @@ -811,10 +880,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { rhs: Val, s: f32| { - let output: Val = bevy::math::prelude::Dir3A::slerp( - _self, - rhs, - s, + let output: Val = ::bevy::math::prelude::Dir3A::slerp( + _self.into(), + rhs.into(), + s.into(), ) .into(); output @@ -823,21 +892,24 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "fast_renormalize", |_self: Val| { - let output: Val = bevy::math::prelude::Dir3A::fast_renormalize( - _self, + let output: Val = ::bevy::math::prelude::Dir3A::fast_renormalize( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::prelude::IRect>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::prelude::IRect::eq(_self, other) + let output: bool = ::bevy::math::prelude::IRect::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -845,8 +917,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::prelude::IRect::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::prelude::IRect::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -855,8 +927,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::prelude::IRect::clone( - _self, + let output: Val = ::bevy::math::prelude::IRect::clone( + _self.into(), ) .into(); output @@ -865,11 +937,11 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |x0: i32, y0: i32, x1: i32, y1: i32| { - let output: Val = bevy::math::prelude::IRect::new( - x0, - y0, - x1, - y1, + let output: Val = ::bevy::math::prelude::IRect::new( + x0.into(), + y0.into(), + x1.into(), + y1.into(), ) .into(); output @@ -878,7 +950,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_empty", |_self: Ref| { - let output: bool = bevy::math::prelude::IRect::is_empty(_self) + let output: bool = ::bevy::math::prelude::IRect::is_empty( + _self.into(), + ) .into(); output }, @@ -886,14 +960,16 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "width", |_self: Ref| { - let output: i32 = bevy::math::prelude::IRect::width(_self).into(); + let output: i32 = ::bevy::math::prelude::IRect::width(_self.into()) + .into(); output }, ) .overwrite_script_function( "height", |_self: Ref| { - let output: i32 = bevy::math::prelude::IRect::height(_self).into(); + let output: i32 = ::bevy::math::prelude::IRect::height(_self.into()) + .into(); output }, ) @@ -903,9 +979,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Val| { - let output: Val = bevy::math::prelude::IRect::union( - _self, - other, + let output: Val = ::bevy::math::prelude::IRect::union( + _self.into(), + other.into(), ) .into(); output @@ -917,9 +993,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Val| { - let output: Val = bevy::math::prelude::IRect::intersect( - _self, - other, + let output: Val = ::bevy::math::prelude::IRect::intersect( + _self.into(), + other.into(), ) .into(); output @@ -928,9 +1004,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "inflate", |_self: Ref, expansion: i32| { - let output: Val = bevy::math::prelude::IRect::inflate( - _self, - expansion, + let output: Val = ::bevy::math::prelude::IRect::inflate( + _self.into(), + expansion.into(), ) .into(); output @@ -939,8 +1015,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "as_rect", |_self: Ref| { - let output: Val = bevy::math::prelude::IRect::as_rect( - _self, + let output: Val = ::bevy::math::prelude::IRect::as_rect( + _self.into(), ) .into(); output @@ -949,21 +1025,24 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "as_urect", |_self: Ref| { - let output: Val = bevy::math::prelude::IRect::as_urect( - _self, + let output: Val = ::bevy::math::prelude::IRect::as_urect( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::prelude::Rect>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::prelude::Rect::eq(_self, other) + let output: bool = ::bevy::math::prelude::Rect::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -971,11 +1050,11 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |x0: f32, y0: f32, x1: f32, y1: f32| { - let output: Val = bevy::math::prelude::Rect::new( - x0, - y0, - x1, - y1, + let output: Val = ::bevy::math::prelude::Rect::new( + x0.into(), + y0.into(), + x1.into(), + y1.into(), ) .into(); output @@ -984,21 +1063,26 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_empty", |_self: Ref| { - let output: bool = bevy::math::prelude::Rect::is_empty(_self).into(); + let output: bool = ::bevy::math::prelude::Rect::is_empty( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "width", |_self: Ref| { - let output: f32 = bevy::math::prelude::Rect::width(_self).into(); + let output: f32 = ::bevy::math::prelude::Rect::width(_self.into()) + .into(); output }, ) .overwrite_script_function( "height", |_self: Ref| { - let output: f32 = bevy::math::prelude::Rect::height(_self).into(); + let output: f32 = ::bevy::math::prelude::Rect::height(_self.into()) + .into(); output }, ) @@ -1008,9 +1092,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Val| { - let output: Val = bevy::math::prelude::Rect::union( - _self, - other, + let output: Val = ::bevy::math::prelude::Rect::union( + _self.into(), + other.into(), ) .into(); output @@ -1022,9 +1106,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Val| { - let output: Val = bevy::math::prelude::Rect::intersect( - _self, - other, + let output: Val = ::bevy::math::prelude::Rect::intersect( + _self.into(), + other.into(), ) .into(); output @@ -1033,9 +1117,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "inflate", |_self: Ref, expansion: f32| { - let output: Val = bevy::math::prelude::Rect::inflate( - _self, - expansion, + let output: Val = ::bevy::math::prelude::Rect::inflate( + _self.into(), + expansion.into(), ) .into(); output @@ -1047,9 +1131,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Val| { - let output: Val = bevy::math::prelude::Rect::normalize( - _self, - other, + let output: Val = ::bevy::math::prelude::Rect::normalize( + _self.into(), + other.into(), ) .into(); output @@ -1058,8 +1142,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "as_irect", |_self: Ref| { - let output: Val = bevy::math::prelude::Rect::as_irect( - _self, + let output: Val = ::bevy::math::prelude::Rect::as_irect( + _self.into(), ) .into(); output @@ -1068,8 +1152,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "as_urect", |_self: Ref| { - let output: Val = bevy::math::prelude::Rect::as_urect( - _self, + let output: Val = ::bevy::math::prelude::Rect::as_urect( + _self.into(), ) .into(); output @@ -1078,21 +1162,24 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::prelude::Rect::clone( - _self, + let output: Val = ::bevy::math::prelude::Rect::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::prelude::URect>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::prelude::URect::eq(_self, other) + let output: bool = ::bevy::math::prelude::URect::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -1100,11 +1187,11 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |x0: u32, y0: u32, x1: u32, y1: u32| { - let output: Val = bevy::math::prelude::URect::new( - x0, - y0, - x1, - y1, + let output: Val = ::bevy::math::prelude::URect::new( + x0.into(), + y0.into(), + x1.into(), + y1.into(), ) .into(); output @@ -1113,7 +1200,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_empty", |_self: Ref| { - let output: bool = bevy::math::prelude::URect::is_empty(_self) + let output: bool = ::bevy::math::prelude::URect::is_empty( + _self.into(), + ) .into(); output }, @@ -1121,14 +1210,16 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "width", |_self: Ref| { - let output: u32 = bevy::math::prelude::URect::width(_self).into(); + let output: u32 = ::bevy::math::prelude::URect::width(_self.into()) + .into(); output }, ) .overwrite_script_function( "height", |_self: Ref| { - let output: u32 = bevy::math::prelude::URect::height(_self).into(); + let output: u32 = ::bevy::math::prelude::URect::height(_self.into()) + .into(); output }, ) @@ -1138,9 +1229,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Val| { - let output: Val = bevy::math::prelude::URect::union( - _self, - other, + let output: Val = ::bevy::math::prelude::URect::union( + _self.into(), + other.into(), ) .into(); output @@ -1152,9 +1243,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Val| { - let output: Val = bevy::math::prelude::URect::intersect( - _self, - other, + let output: Val = ::bevy::math::prelude::URect::intersect( + _self.into(), + other.into(), ) .into(); output @@ -1163,9 +1254,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "inflate", |_self: Ref, expansion: i32| { - let output: Val = bevy::math::prelude::URect::inflate( - _self, - expansion, + let output: Val = ::bevy::math::prelude::URect::inflate( + _self.into(), + expansion.into(), ) .into(); output @@ -1174,8 +1265,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "as_rect", |_self: Ref| { - let output: Val = bevy::math::prelude::URect::as_rect( - _self, + let output: Val = ::bevy::math::prelude::URect::as_rect( + _self.into(), ) .into(); output @@ -1184,8 +1275,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "as_irect", |_self: Ref| { - let output: Val = bevy::math::prelude::URect::as_irect( - _self, + let output: Val = ::bevy::math::prelude::URect::as_irect( + _self.into(), ) .into(); output @@ -1194,8 +1285,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::prelude::URect::clone( - _self, + let output: Val = ::bevy::math::prelude::URect::clone( + _self.into(), ) .into(); output @@ -1204,20 +1295,20 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::prelude::URect::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::prelude::URect::assert_receiver_is_total_eq( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Affine3>::new(world); + NamespaceBuilder::<::bevy::math::bounding::Aabb2d>::new(world) .overwrite_script_function( "bounding_circle", |_self: Ref| { - let output: Val = bevy::math::bounding::Aabb2d::bounding_circle( - _self, + let output: Val = ::bevy::math::bounding::Aabb2d::bounding_circle( + _self.into(), ) .into(); output @@ -1226,18 +1317,20 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::bounding::Aabb2d::clone( - _self, + let output: Val = ::bevy::math::bounding::Aabb2d::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::bounding::BoundingCircle>::new(world) .overwrite_script_function( "radius", |_self: Ref| { - let output: f32 = bevy::math::bounding::BoundingCircle::radius(_self) + let output: f32 = ::bevy::math::bounding::BoundingCircle::radius( + _self.into(), + ) .into(); output }, @@ -1245,8 +1338,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "aabb_2d", |_self: Ref| { - let output: Val = bevy::math::bounding::BoundingCircle::aabb_2d( - _self, + let output: Val = ::bevy::math::bounding::BoundingCircle::aabb_2d( + _self.into(), ) .into(); output @@ -1255,21 +1348,24 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::bounding::BoundingCircle::clone( - _self, + let output: Val = ::bevy::math::bounding::BoundingCircle::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Circle>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Circle::eq(_self, other) + let output: bool = ::bevy::math::primitives::Circle::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -1277,8 +1373,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |radius: f32| { - let output: Val = bevy::math::primitives::Circle::new( - radius, + let output: Val = ::bevy::math::primitives::Circle::new( + radius.into(), ) .into(); output @@ -1287,7 +1383,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "diameter", |_self: Ref| { - let output: f32 = bevy::math::primitives::Circle::diameter(_self) + let output: f32 = ::bevy::math::primitives::Circle::diameter( + _self.into(), + ) .into(); output }, @@ -1295,19 +1393,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Circle::clone( - _self, + let output: Val = ::bevy::math::primitives::Circle::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Annulus>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Annulus::clone( - _self, + let output: Val = ::bevy::math::primitives::Annulus::clone( + _self.into(), ) .into(); output @@ -1319,7 +1417,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Annulus::eq(_self, other) + let output: bool = ::bevy::math::primitives::Annulus::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -1327,9 +1428,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |inner_radius: f32, outer_radius: f32| { - let output: Val = bevy::math::primitives::Annulus::new( - inner_radius, - outer_radius, + let output: Val = ::bevy::math::primitives::Annulus::new( + inner_radius.into(), + outer_radius.into(), ) .into(); output @@ -1338,7 +1439,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "diameter", |_self: Ref| { - let output: f32 = bevy::math::primitives::Annulus::diameter(_self) + let output: f32 = ::bevy::math::primitives::Annulus::diameter( + _self.into(), + ) .into(); output }, @@ -1346,18 +1449,20 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "thickness", |_self: Ref| { - let output: f32 = bevy::math::primitives::Annulus::thickness(_self) + let output: f32 = ::bevy::math::primitives::Annulus::thickness( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Arc2d>::new(world) .overwrite_script_function( "new", |radius: f32, half_angle: f32| { - let output: Val = bevy::math::primitives::Arc2d::new( - radius, - half_angle, + let output: Val = ::bevy::math::primitives::Arc2d::new( + radius.into(), + half_angle.into(), ) .into(); output @@ -1366,9 +1471,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_radians", |radius: f32, angle: f32| { - let output: Val = bevy::math::primitives::Arc2d::from_radians( - radius, - angle, + let output: Val = ::bevy::math::primitives::Arc2d::from_radians( + radius.into(), + angle.into(), ) .into(); output @@ -1377,9 +1482,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_degrees", |radius: f32, angle: f32| { - let output: Val = bevy::math::primitives::Arc2d::from_degrees( - radius, - angle, + let output: Val = ::bevy::math::primitives::Arc2d::from_degrees( + radius.into(), + angle.into(), ) .into(); output @@ -1388,9 +1493,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_turns", |radius: f32, fraction: f32| { - let output: Val = bevy::math::primitives::Arc2d::from_turns( - radius, - fraction, + let output: Val = ::bevy::math::primitives::Arc2d::from_turns( + radius.into(), + fraction.into(), ) .into(); output @@ -1399,14 +1504,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "angle", |_self: Ref| { - let output: f32 = bevy::math::primitives::Arc2d::angle(_self).into(); + let output: f32 = ::bevy::math::primitives::Arc2d::angle( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "length", |_self: Ref| { - let output: f32 = bevy::math::primitives::Arc2d::length(_self) + let output: f32 = ::bevy::math::primitives::Arc2d::length( + _self.into(), + ) .into(); output }, @@ -1414,8 +1524,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "half_chord_length", |_self: Ref| { - let output: f32 = bevy::math::primitives::Arc2d::half_chord_length( - _self, + let output: f32 = ::bevy::math::primitives::Arc2d::half_chord_length( + _self.into(), ) .into(); output @@ -1424,7 +1534,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "chord_length", |_self: Ref| { - let output: f32 = bevy::math::primitives::Arc2d::chord_length(_self) + let output: f32 = ::bevy::math::primitives::Arc2d::chord_length( + _self.into(), + ) .into(); output }, @@ -1432,7 +1544,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "apothem", |_self: Ref| { - let output: f32 = bevy::math::primitives::Arc2d::apothem(_self) + let output: f32 = ::bevy::math::primitives::Arc2d::apothem( + _self.into(), + ) .into(); output }, @@ -1440,7 +1554,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "sagitta", |_self: Ref| { - let output: f32 = bevy::math::primitives::Arc2d::sagitta(_self) + let output: f32 = ::bevy::math::primitives::Arc2d::sagitta( + _self.into(), + ) .into(); output }, @@ -1448,7 +1564,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_minor", |_self: Ref| { - let output: bool = bevy::math::primitives::Arc2d::is_minor(_self) + let output: bool = ::bevy::math::primitives::Arc2d::is_minor( + _self.into(), + ) .into(); output }, @@ -1456,7 +1574,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_major", |_self: Ref| { - let output: bool = bevy::math::primitives::Arc2d::is_major(_self) + let output: bool = ::bevy::math::primitives::Arc2d::is_major( + _self.into(), + ) .into(); output }, @@ -1464,8 +1584,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Arc2d::clone( - _self, + let output: Val = ::bevy::math::primitives::Arc2d::clone( + _self.into(), ) .into(); output @@ -1477,18 +1597,21 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Arc2d::eq(_self, other) + let output: bool = ::bevy::math::primitives::Arc2d::eq( + _self.into(), + other.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Capsule2d>::new(world) .overwrite_script_function( "new", |radius: f32, length: f32| { - let output: Val = bevy::math::primitives::Capsule2d::new( - radius, - length, + let output: Val = ::bevy::math::primitives::Capsule2d::new( + radius.into(), + length.into(), ) .into(); output @@ -1497,8 +1620,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "to_inner_rectangle", |_self: Ref| { - let output: Val = bevy::math::primitives::Capsule2d::to_inner_rectangle( - _self, + let output: Val = ::bevy::math::primitives::Capsule2d::to_inner_rectangle( + _self.into(), ) .into(); output @@ -1510,9 +1633,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Capsule2d::eq( - _self, - other, + let output: bool = ::bevy::math::primitives::Capsule2d::eq( + _self.into(), + other.into(), ) .into(); output @@ -1521,23 +1644,23 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Capsule2d::clone( - _self, + let output: Val = ::bevy::math::primitives::Capsule2d::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::CircularSector>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::CircularSector::eq( - _self, - other, + let output: bool = ::bevy::math::primitives::CircularSector::eq( + _self.into(), + other.into(), ) .into(); output @@ -1546,9 +1669,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |radius: f32, angle: f32| { - let output: Val = bevy::math::primitives::CircularSector::new( - radius, - angle, + let output: Val = ::bevy::math::primitives::CircularSector::new( + radius.into(), + angle.into(), ) .into(); output @@ -1557,9 +1680,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_radians", |radius: f32, angle: f32| { - let output: Val = bevy::math::primitives::CircularSector::from_radians( - radius, - angle, + let output: Val = ::bevy::math::primitives::CircularSector::from_radians( + radius.into(), + angle.into(), ) .into(); output @@ -1568,9 +1691,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_degrees", |radius: f32, angle: f32| { - let output: Val = bevy::math::primitives::CircularSector::from_degrees( - radius, - angle, + let output: Val = ::bevy::math::primitives::CircularSector::from_degrees( + radius.into(), + angle.into(), ) .into(); output @@ -1579,9 +1702,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_turns", |radius: f32, fraction: f32| { - let output: Val = bevy::math::primitives::CircularSector::from_turns( - radius, - fraction, + let output: Val = ::bevy::math::primitives::CircularSector::from_turns( + radius.into(), + fraction.into(), ) .into(); output @@ -1590,8 +1713,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "half_angle", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSector::half_angle( - _self, + let output: f32 = ::bevy::math::primitives::CircularSector::half_angle( + _self.into(), ) .into(); output @@ -1600,8 +1723,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "angle", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSector::angle( - _self, + let output: f32 = ::bevy::math::primitives::CircularSector::angle( + _self.into(), ) .into(); output @@ -1610,8 +1733,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "radius", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSector::radius( - _self, + let output: f32 = ::bevy::math::primitives::CircularSector::radius( + _self.into(), ) .into(); output @@ -1620,8 +1743,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "arc_length", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSector::arc_length( - _self, + let output: f32 = ::bevy::math::primitives::CircularSector::arc_length( + _self.into(), ) .into(); output @@ -1630,8 +1753,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "half_chord_length", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSector::half_chord_length( - _self, + let output: f32 = ::bevy::math::primitives::CircularSector::half_chord_length( + _self.into(), ) .into(); output @@ -1640,8 +1763,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "chord_length", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSector::chord_length( - _self, + let output: f32 = ::bevy::math::primitives::CircularSector::chord_length( + _self.into(), ) .into(); output @@ -1650,8 +1773,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "apothem", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSector::apothem( - _self, + let output: f32 = ::bevy::math::primitives::CircularSector::apothem( + _self.into(), ) .into(); output @@ -1660,8 +1783,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "sagitta", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSector::sagitta( - _self, + let output: f32 = ::bevy::math::primitives::CircularSector::sagitta( + _self.into(), ) .into(); output @@ -1670,20 +1793,20 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::CircularSector::clone( - _self, + let output: Val = ::bevy::math::primitives::CircularSector::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::CircularSegment>::new(world) .overwrite_script_function( "new", |radius: f32, angle: f32| { - let output: Val = bevy::math::primitives::CircularSegment::new( - radius, - angle, + let output: Val = ::bevy::math::primitives::CircularSegment::new( + radius.into(), + angle.into(), ) .into(); output @@ -1692,9 +1815,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_radians", |radius: f32, angle: f32| { - let output: Val = bevy::math::primitives::CircularSegment::from_radians( - radius, - angle, + let output: Val = ::bevy::math::primitives::CircularSegment::from_radians( + radius.into(), + angle.into(), ) .into(); output @@ -1703,9 +1826,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_degrees", |radius: f32, angle: f32| { - let output: Val = bevy::math::primitives::CircularSegment::from_degrees( - radius, - angle, + let output: Val = ::bevy::math::primitives::CircularSegment::from_degrees( + radius.into(), + angle.into(), ) .into(); output @@ -1714,9 +1837,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_turns", |radius: f32, fraction: f32| { - let output: Val = bevy::math::primitives::CircularSegment::from_turns( - radius, - fraction, + let output: Val = ::bevy::math::primitives::CircularSegment::from_turns( + radius.into(), + fraction.into(), ) .into(); output @@ -1725,8 +1848,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "half_angle", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSegment::half_angle( - _self, + let output: f32 = ::bevy::math::primitives::CircularSegment::half_angle( + _self.into(), ) .into(); output @@ -1735,8 +1858,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "angle", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSegment::angle( - _self, + let output: f32 = ::bevy::math::primitives::CircularSegment::angle( + _self.into(), ) .into(); output @@ -1745,8 +1868,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "radius", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSegment::radius( - _self, + let output: f32 = ::bevy::math::primitives::CircularSegment::radius( + _self.into(), ) .into(); output @@ -1755,8 +1878,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "arc_length", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSegment::arc_length( - _self, + let output: f32 = ::bevy::math::primitives::CircularSegment::arc_length( + _self.into(), ) .into(); output @@ -1765,8 +1888,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "half_chord_length", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSegment::half_chord_length( - _self, + let output: f32 = ::bevy::math::primitives::CircularSegment::half_chord_length( + _self.into(), ) .into(); output @@ -1775,8 +1898,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "chord_length", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSegment::chord_length( - _self, + let output: f32 = ::bevy::math::primitives::CircularSegment::chord_length( + _self.into(), ) .into(); output @@ -1785,8 +1908,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "apothem", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSegment::apothem( - _self, + let output: f32 = ::bevy::math::primitives::CircularSegment::apothem( + _self.into(), ) .into(); output @@ -1795,8 +1918,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "sagitta", |_self: Ref| { - let output: f32 = bevy::math::primitives::CircularSegment::sagitta( - _self, + let output: f32 = ::bevy::math::primitives::CircularSegment::sagitta( + _self.into(), ) .into(); output @@ -1805,8 +1928,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::CircularSegment::clone( - _self, + let output: Val = ::bevy::math::primitives::CircularSegment::clone( + _self.into(), ) .into(); output @@ -1818,22 +1941,25 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::CircularSegment::eq( - _self, - other, + let output: bool = ::bevy::math::primitives::CircularSegment::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Ellipse>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Ellipse::eq(_self, other) + let output: bool = ::bevy::math::primitives::Ellipse::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -1841,9 +1967,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |half_width: f32, half_height: f32| { - let output: Val = bevy::math::primitives::Ellipse::new( - half_width, - half_height, + let output: Val = ::bevy::math::primitives::Ellipse::new( + half_width.into(), + half_height.into(), ) .into(); output @@ -1852,8 +1978,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "eccentricity", |_self: Ref| { - let output: f32 = bevy::math::primitives::Ellipse::eccentricity( - _self, + let output: f32 = ::bevy::math::primitives::Ellipse::eccentricity( + _self.into(), ) .into(); output @@ -1862,8 +1988,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "focal_length", |_self: Ref| { - let output: f32 = bevy::math::primitives::Ellipse::focal_length( - _self, + let output: f32 = ::bevy::math::primitives::Ellipse::focal_length( + _self.into(), ) .into(); output @@ -1872,7 +1998,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "semi_major", |_self: Ref| { - let output: f32 = bevy::math::primitives::Ellipse::semi_major(_self) + let output: f32 = ::bevy::math::primitives::Ellipse::semi_major( + _self.into(), + ) .into(); output }, @@ -1880,7 +2008,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "semi_minor", |_self: Ref| { - let output: f32 = bevy::math::primitives::Ellipse::semi_minor(_self) + let output: f32 = ::bevy::math::primitives::Ellipse::semi_minor( + _self.into(), + ) .into(); output }, @@ -1888,19 +2018,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Ellipse::clone( - _self, + let output: Val = ::bevy::math::primitives::Ellipse::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Line2d>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Line2d::clone( - _self, + let output: Val = ::bevy::math::primitives::Line2d::clone( + _self.into(), ) .into(); output @@ -1912,17 +2042,20 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Line2d::eq(_self, other) + let output: bool = ::bevy::math::primitives::Line2d::eq( + _self.into(), + other.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Plane2d>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Plane2d::clone( - _self, + let output: Val = ::bevy::math::primitives::Plane2d::clone( + _self.into(), ) .into(); output @@ -1934,21 +2067,24 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Plane2d::eq(_self, other) + let output: bool = ::bevy::math::primitives::Plane2d::eq( + _self.into(), + other.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Rectangle>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Rectangle::eq( - _self, - other, + let output: bool = ::bevy::math::primitives::Rectangle::eq( + _self.into(), + other.into(), ) .into(); output @@ -1957,9 +2093,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |width: f32, height: f32| { - let output: Val = bevy::math::primitives::Rectangle::new( - width, - height, + let output: Val = ::bevy::math::primitives::Rectangle::new( + width.into(), + height.into(), ) .into(); output @@ -1968,8 +2104,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_length", |length: f32| { - let output: Val = bevy::math::primitives::Rectangle::from_length( - length, + let output: Val = ::bevy::math::primitives::Rectangle::from_length( + length.into(), ) .into(); output @@ -1978,19 +2114,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Rectangle::clone( - _self, + let output: Val = ::bevy::math::primitives::Rectangle::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::RegularPolygon>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::RegularPolygon::clone( - _self, + let output: Val = ::bevy::math::primitives::RegularPolygon::clone( + _self.into(), ) .into(); output @@ -1999,9 +2135,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |circumradius: f32, sides: u32| { - let output: Val = bevy::math::primitives::RegularPolygon::new( - circumradius, - sides, + let output: Val = ::bevy::math::primitives::RegularPolygon::new( + circumradius.into(), + sides.into(), ) .into(); output @@ -2010,8 +2146,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "circumradius", |_self: Ref| { - let output: f32 = bevy::math::primitives::RegularPolygon::circumradius( - _self, + let output: f32 = ::bevy::math::primitives::RegularPolygon::circumradius( + _self.into(), ) .into(); output @@ -2020,8 +2156,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "inradius", |_self: Ref| { - let output: f32 = bevy::math::primitives::RegularPolygon::inradius( - _self, + let output: f32 = ::bevy::math::primitives::RegularPolygon::inradius( + _self.into(), ) .into(); output @@ -2030,8 +2166,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "side_length", |_self: Ref| { - let output: f32 = bevy::math::primitives::RegularPolygon::side_length( - _self, + let output: f32 = ::bevy::math::primitives::RegularPolygon::side_length( + _self.into(), ) .into(); output @@ -2040,8 +2176,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "internal_angle_degrees", |_self: Ref| { - let output: f32 = bevy::math::primitives::RegularPolygon::internal_angle_degrees( - _self, + let output: f32 = ::bevy::math::primitives::RegularPolygon::internal_angle_degrees( + _self.into(), ) .into(); output @@ -2050,8 +2186,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "internal_angle_radians", |_self: Ref| { - let output: f32 = bevy::math::primitives::RegularPolygon::internal_angle_radians( - _self, + let output: f32 = ::bevy::math::primitives::RegularPolygon::internal_angle_radians( + _self.into(), ) .into(); output @@ -2060,8 +2196,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "external_angle_degrees", |_self: Ref| { - let output: f32 = bevy::math::primitives::RegularPolygon::external_angle_degrees( - _self, + let output: f32 = ::bevy::math::primitives::RegularPolygon::external_angle_degrees( + _self.into(), ) .into(); output @@ -2070,8 +2206,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "external_angle_radians", |_self: Ref| { - let output: f32 = bevy::math::primitives::RegularPolygon::external_angle_radians( - _self, + let output: f32 = ::bevy::math::primitives::RegularPolygon::external_angle_radians( + _self.into(), ) .into(); output @@ -2083,22 +2219,25 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::RegularPolygon::eq( - _self, - other, + let output: bool = ::bevy::math::primitives::RegularPolygon::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Rhombus>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Rhombus::eq(_self, other) + let output: bool = ::bevy::math::primitives::Rhombus::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -2106,9 +2245,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |horizontal_diagonal: f32, vertical_diagonal: f32| { - let output: Val = bevy::math::primitives::Rhombus::new( - horizontal_diagonal, - vertical_diagonal, + let output: Val = ::bevy::math::primitives::Rhombus::new( + horizontal_diagonal.into(), + vertical_diagonal.into(), ) .into(); output @@ -2117,8 +2256,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_side", |side: f32| { - let output: Val = bevy::math::primitives::Rhombus::from_side( - side, + let output: Val = ::bevy::math::primitives::Rhombus::from_side( + side.into(), ) .into(); output @@ -2127,8 +2266,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_inradius", |inradius: f32| { - let output: Val = bevy::math::primitives::Rhombus::from_inradius( - inradius, + let output: Val = ::bevy::math::primitives::Rhombus::from_inradius( + inradius.into(), ) .into(); output @@ -2137,7 +2276,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "side", |_self: Ref| { - let output: f32 = bevy::math::primitives::Rhombus::side(_self) + let output: f32 = ::bevy::math::primitives::Rhombus::side( + _self.into(), + ) .into(); output }, @@ -2145,8 +2286,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "circumradius", |_self: Ref| { - let output: f32 = bevy::math::primitives::Rhombus::circumradius( - _self, + let output: f32 = ::bevy::math::primitives::Rhombus::circumradius( + _self.into(), ) .into(); output @@ -2155,7 +2296,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "inradius", |_self: Ref| { - let output: f32 = bevy::math::primitives::Rhombus::inradius(_self) + let output: f32 = ::bevy::math::primitives::Rhombus::inradius( + _self.into(), + ) .into(); output }, @@ -2163,23 +2306,23 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Rhombus::clone( - _self, + let output: Val = ::bevy::math::primitives::Rhombus::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Segment2d>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Segment2d::eq( - _self, - other, + let output: bool = ::bevy::math::primitives::Segment2d::eq( + _self.into(), + other.into(), ) .into(); output @@ -2188,9 +2331,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |direction: Val, length: f32| { - let output: Val = bevy::math::primitives::Segment2d::new( - direction, - length, + let output: Val = ::bevy::math::primitives::Segment2d::new( + direction.into(), + length.into(), ) .into(); output @@ -2199,19 +2342,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Segment2d::clone( - _self, + let output: Val = ::bevy::math::primitives::Segment2d::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Triangle2d>::new(world) .overwrite_script_function( "is_degenerate", |_self: Ref| { - let output: bool = bevy::math::primitives::Triangle2d::is_degenerate( - _self, + let output: bool = ::bevy::math::primitives::Triangle2d::is_degenerate( + _self.into(), ) .into(); output @@ -2220,8 +2363,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_acute", |_self: Ref| { - let output: bool = bevy::math::primitives::Triangle2d::is_acute( - _self, + let output: bool = ::bevy::math::primitives::Triangle2d::is_acute( + _self.into(), ) .into(); output @@ -2230,8 +2373,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_obtuse", |_self: Ref| { - let output: bool = bevy::math::primitives::Triangle2d::is_obtuse( - _self, + let output: bool = ::bevy::math::primitives::Triangle2d::is_obtuse( + _self.into(), ) .into(); output @@ -2240,7 +2383,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "reverse", |_self: Mut| { - let output: () = bevy::math::primitives::Triangle2d::reverse(_self) + let output: () = ::bevy::math::primitives::Triangle2d::reverse( + _self.into(), + ) .into(); output }, @@ -2248,8 +2393,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "reversed", |_self: Val| { - let output: Val = bevy::math::primitives::Triangle2d::reversed( - _self, + let output: Val = ::bevy::math::primitives::Triangle2d::reversed( + _self.into(), ) .into(); output @@ -2258,8 +2403,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Triangle2d::clone( - _self, + let output: Val = ::bevy::math::primitives::Triangle2d::clone( + _self.into(), ) .into(); output @@ -2271,20 +2416,20 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Triangle2d::eq( - _self, - other, + let output: bool = ::bevy::math::primitives::Triangle2d::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::bounding::Aabb3d>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::bounding::Aabb3d::clone( - _self, + let output: Val = ::bevy::math::bounding::Aabb3d::clone( + _self.into(), ) .into(); output @@ -2293,18 +2438,20 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "bounding_sphere", |_self: Ref| { - let output: Val = bevy::math::bounding::Aabb3d::bounding_sphere( - _self, + let output: Val = ::bevy::math::bounding::Aabb3d::bounding_sphere( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::bounding::BoundingSphere>::new(world) .overwrite_script_function( "radius", |_self: Ref| { - let output: f32 = bevy::math::bounding::BoundingSphere::radius(_self) + let output: f32 = ::bevy::math::bounding::BoundingSphere::radius( + _self.into(), + ) .into(); output }, @@ -2312,8 +2459,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "aabb_3d", |_self: Ref| { - let output: Val = bevy::math::bounding::BoundingSphere::aabb_3d( - _self, + let output: Val = ::bevy::math::bounding::BoundingSphere::aabb_3d( + _self.into(), ) .into(); output @@ -2322,21 +2469,24 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::bounding::BoundingSphere::clone( - _self, + let output: Val = ::bevy::math::bounding::BoundingSphere::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Sphere>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Sphere::eq(_self, other) + let output: bool = ::bevy::math::primitives::Sphere::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -2344,8 +2494,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Sphere::clone( - _self, + let output: Val = ::bevy::math::primitives::Sphere::clone( + _self.into(), ) .into(); output @@ -2354,8 +2504,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |radius: f32| { - let output: Val = bevy::math::primitives::Sphere::new( - radius, + let output: Val = ::bevy::math::primitives::Sphere::new( + radius.into(), ) .into(); output @@ -2364,17 +2514,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "diameter", |_self: Ref| { - let output: f32 = bevy::math::primitives::Sphere::diameter(_self) + let output: f32 = ::bevy::math::primitives::Sphere::diameter( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Cuboid>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Cuboid::clone( - _self, + let output: Val = ::bevy::math::primitives::Cuboid::clone( + _self.into(), ) .into(); output @@ -2386,7 +2538,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Cuboid::eq(_self, other) + let output: bool = ::bevy::math::primitives::Cuboid::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -2394,10 +2549,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |x_length: f32, y_length: f32, z_length: f32| { - let output: Val = bevy::math::primitives::Cuboid::new( - x_length, - y_length, - z_length, + let output: Val = ::bevy::math::primitives::Cuboid::new( + x_length.into(), + y_length.into(), + z_length.into(), ) .into(); output @@ -2406,19 +2561,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_length", |length: f32| { - let output: Val = bevy::math::primitives::Cuboid::from_length( - length, + let output: Val = ::bevy::math::primitives::Cuboid::from_length( + length.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Cylinder>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Cylinder::clone( - _self, + let output: Val = ::bevy::math::primitives::Cylinder::clone( + _self.into(), ) .into(); output @@ -2430,7 +2585,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Cylinder::eq(_self, other) + let output: bool = ::bevy::math::primitives::Cylinder::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -2438,9 +2596,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |radius: f32, height: f32| { - let output: Val = bevy::math::primitives::Cylinder::new( - radius, - height, + let output: Val = ::bevy::math::primitives::Cylinder::new( + radius.into(), + height.into(), ) .into(); output @@ -2449,8 +2607,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "base", |_self: Ref| { - let output: Val = bevy::math::primitives::Cylinder::base( - _self, + let output: Val = ::bevy::math::primitives::Cylinder::base( + _self.into(), ) .into(); output @@ -2459,8 +2617,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "lateral_area", |_self: Ref| { - let output: f32 = bevy::math::primitives::Cylinder::lateral_area( - _self, + let output: f32 = ::bevy::math::primitives::Cylinder::lateral_area( + _self.into(), ) .into(); output @@ -2469,17 +2627,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "base_area", |_self: Ref| { - let output: f32 = bevy::math::primitives::Cylinder::base_area(_self) + let output: f32 = ::bevy::math::primitives::Cylinder::base_area( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Capsule3d>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Capsule3d::clone( - _self, + let output: Val = ::bevy::math::primitives::Capsule3d::clone( + _self.into(), ) .into(); output @@ -2491,9 +2651,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Capsule3d::eq( - _self, - other, + let output: bool = ::bevy::math::primitives::Capsule3d::eq( + _self.into(), + other.into(), ) .into(); output @@ -2502,9 +2662,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |radius: f32, length: f32| { - let output: Val = bevy::math::primitives::Capsule3d::new( - radius, - length, + let output: Val = ::bevy::math::primitives::Capsule3d::new( + radius.into(), + length.into(), ) .into(); output @@ -2513,20 +2673,20 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "to_cylinder", |_self: Ref| { - let output: Val = bevy::math::primitives::Capsule3d::to_cylinder( - _self, + let output: Val = ::bevy::math::primitives::Capsule3d::to_cylinder( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Cone>::new(world) .overwrite_script_function( "new", |radius: f32, height: f32| { - let output: Val = bevy::math::primitives::Cone::new( - radius, - height, + let output: Val = ::bevy::math::primitives::Cone::new( + radius.into(), + height.into(), ) .into(); output @@ -2535,8 +2695,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "base", |_self: Ref| { - let output: Val = bevy::math::primitives::Cone::base( - _self, + let output: Val = ::bevy::math::primitives::Cone::base( + _self.into(), ) .into(); output @@ -2545,7 +2705,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "slant_height", |_self: Ref| { - let output: f32 = bevy::math::primitives::Cone::slant_height(_self) + let output: f32 = ::bevy::math::primitives::Cone::slant_height( + _self.into(), + ) .into(); output }, @@ -2553,7 +2715,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "lateral_area", |_self: Ref| { - let output: f32 = bevy::math::primitives::Cone::lateral_area(_self) + let output: f32 = ::bevy::math::primitives::Cone::lateral_area( + _self.into(), + ) .into(); output }, @@ -2561,7 +2725,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "base_area", |_self: Ref| { - let output: f32 = bevy::math::primitives::Cone::base_area(_self) + let output: f32 = ::bevy::math::primitives::Cone::base_area( + _self.into(), + ) .into(); output }, @@ -2569,8 +2735,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Cone::clone( - _self, + let output: Val = ::bevy::math::primitives::Cone::clone( + _self.into(), ) .into(); output @@ -2582,21 +2748,24 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Cone::eq(_self, other) + let output: bool = ::bevy::math::primitives::Cone::eq( + _self.into(), + other.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::ConicalFrustum>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::ConicalFrustum::eq( - _self, - other, + let output: bool = ::bevy::math::primitives::ConicalFrustum::eq( + _self.into(), + other.into(), ) .into(); output @@ -2605,19 +2774,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::ConicalFrustum::clone( - _self, + let output: Val = ::bevy::math::primitives::ConicalFrustum::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::InfinitePlane3d>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::InfinitePlane3d::clone( - _self, + let output: Val = ::bevy::math::primitives::InfinitePlane3d::clone( + _self.into(), ) .into(); output @@ -2629,20 +2798,20 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::InfinitePlane3d::eq( - _self, - other, + let output: bool = ::bevy::math::primitives::InfinitePlane3d::eq( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Line3d>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Line3d::clone( - _self, + let output: Val = ::bevy::math::primitives::Line3d::clone( + _self.into(), ) .into(); output @@ -2654,18 +2823,21 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Line3d::eq(_self, other) + let output: bool = ::bevy::math::primitives::Line3d::eq( + _self.into(), + other.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Segment3d>::new(world) .overwrite_script_function( "new", |direction: Val, length: f32| { - let output: Val = bevy::math::primitives::Segment3d::new( - direction, - length, + let output: Val = ::bevy::math::primitives::Segment3d::new( + direction.into(), + length.into(), ) .into(); output @@ -2677,9 +2849,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Segment3d::eq( - _self, - other, + let output: bool = ::bevy::math::primitives::Segment3d::eq( + _self.into(), + other.into(), ) .into(); output @@ -2688,19 +2860,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Segment3d::clone( - _self, + let output: Val = ::bevy::math::primitives::Segment3d::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Torus>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Torus::clone( - _self, + let output: Val = ::bevy::math::primitives::Torus::clone( + _self.into(), ) .into(); output @@ -2712,7 +2884,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Torus::eq(_self, other) + let output: bool = ::bevy::math::primitives::Torus::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -2720,9 +2895,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "new", |inner_radius: f32, outer_radius: f32| { - let output: Val = bevy::math::primitives::Torus::new( - inner_radius, - outer_radius, + let output: Val = ::bevy::math::primitives::Torus::new( + inner_radius.into(), + outer_radius.into(), ) .into(); output @@ -2731,7 +2906,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "inner_radius", |_self: Ref| { - let output: f32 = bevy::math::primitives::Torus::inner_radius(_self) + let output: f32 = ::bevy::math::primitives::Torus::inner_radius( + _self.into(), + ) .into(); output }, @@ -2739,21 +2916,23 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "outer_radius", |_self: Ref| { - let output: f32 = bevy::math::primitives::Torus::outer_radius(_self) + let output: f32 = ::bevy::math::primitives::Torus::outer_radius( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Triangle3d>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Triangle3d::eq( - _self, - other, + let output: bool = ::bevy::math::primitives::Triangle3d::eq( + _self.into(), + other.into(), ) .into(); output @@ -2762,8 +2941,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_degenerate", |_self: Ref| { - let output: bool = bevy::math::primitives::Triangle3d::is_degenerate( - _self, + let output: bool = ::bevy::math::primitives::Triangle3d::is_degenerate( + _self.into(), ) .into(); output @@ -2772,8 +2951,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_acute", |_self: Ref| { - let output: bool = bevy::math::primitives::Triangle3d::is_acute( - _self, + let output: bool = ::bevy::math::primitives::Triangle3d::is_acute( + _self.into(), ) .into(); output @@ -2782,8 +2961,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_obtuse", |_self: Ref| { - let output: bool = bevy::math::primitives::Triangle3d::is_obtuse( - _self, + let output: bool = ::bevy::math::primitives::Triangle3d::is_obtuse( + _self.into(), ) .into(); output @@ -2792,7 +2971,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "reverse", |_self: Mut| { - let output: () = bevy::math::primitives::Triangle3d::reverse(_self) + let output: () = ::bevy::math::primitives::Triangle3d::reverse( + _self.into(), + ) .into(); output }, @@ -2800,8 +2981,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "reversed", |_self: Val| { - let output: Val = bevy::math::primitives::Triangle3d::reversed( - _self, + let output: Val = ::bevy::math::primitives::Triangle3d::reversed( + _self.into(), ) .into(); output @@ -2810,19 +2991,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Triangle3d::clone( - _self, + let output: Val = ::bevy::math::primitives::Triangle3d::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::bounding::RayCast2d>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::bounding::RayCast2d::clone( - _self, + let output: Val = ::bevy::math::bounding::RayCast2d::clone( + _self.into(), ) .into(); output @@ -2831,9 +3012,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_ray", |ray: Val, max: f32| { - let output: Val = bevy::math::bounding::RayCast2d::from_ray( - ray, - max, + let output: Val = ::bevy::math::bounding::RayCast2d::from_ray( + ray.into(), + max.into(), ) .into(); output @@ -2845,9 +3026,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, aabb: Ref| { - let output: std::option::Option = bevy::math::bounding::RayCast2d::aabb_intersection_at( - _self, - aabb, + let output: std::option::Option = ::bevy::math::bounding::RayCast2d::aabb_intersection_at( + _self.into(), + aabb.into(), ) .into(); output @@ -2859,15 +3040,15 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, circle: Ref| { - let output: std::option::Option = bevy::math::bounding::RayCast2d::circle_intersection_at( - _self, - circle, + let output: std::option::Option = ::bevy::math::bounding::RayCast2d::circle_intersection_at( + _self.into(), + circle.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::bounding::AabbCast2d>::new(world) .overwrite_script_function( "from_ray", | @@ -2875,10 +3056,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { ray: Val, max: f32| { - let output: Val = bevy::math::bounding::AabbCast2d::from_ray( - aabb, - ray, - max, + let output: Val = ::bevy::math::bounding::AabbCast2d::from_ray( + aabb.into(), + ray.into(), + max.into(), ) .into(); output @@ -2890,9 +3071,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, aabb: Val| { - let output: std::option::Option = bevy::math::bounding::AabbCast2d::aabb_collision_at( - _self, - aabb, + let output: std::option::Option = ::bevy::math::bounding::AabbCast2d::aabb_collision_at( + _self.into(), + aabb.into(), ) .into(); output @@ -2901,14 +3082,14 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::bounding::AabbCast2d::clone( - _self, + let output: Val = ::bevy::math::bounding::AabbCast2d::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::bounding::BoundingCircleCast>::new(world) .overwrite_script_function( "from_ray", | @@ -2916,10 +3097,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { ray: Val, max: f32| { - let output: Val = bevy::math::bounding::BoundingCircleCast::from_ray( - circle, - ray, - max, + let output: Val = ::bevy::math::bounding::BoundingCircleCast::from_ray( + circle.into(), + ray.into(), + max.into(), ) .into(); output @@ -2931,9 +3112,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, circle: Val| { - let output: std::option::Option = bevy::math::bounding::BoundingCircleCast::circle_collision_at( - _self, - circle, + let output: std::option::Option = ::bevy::math::bounding::BoundingCircleCast::circle_collision_at( + _self.into(), + circle.into(), ) .into(); output @@ -2942,19 +3123,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::bounding::BoundingCircleCast::clone( - _self, + let output: Val = ::bevy::math::bounding::BoundingCircleCast::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::bounding::RayCast3d>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::bounding::RayCast3d::clone( - _self, + let output: Val = ::bevy::math::bounding::RayCast3d::clone( + _self.into(), ) .into(); output @@ -2963,9 +3144,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "from_ray", |ray: Val, max: f32| { - let output: Val = bevy::math::bounding::RayCast3d::from_ray( - ray, - max, + let output: Val = ::bevy::math::bounding::RayCast3d::from_ray( + ray.into(), + max.into(), ) .into(); output @@ -2977,9 +3158,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, aabb: Ref| { - let output: std::option::Option = bevy::math::bounding::RayCast3d::aabb_intersection_at( - _self, - aabb, + let output: std::option::Option = ::bevy::math::bounding::RayCast3d::aabb_intersection_at( + _self.into(), + aabb.into(), ) .into(); output @@ -2991,15 +3172,15 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, sphere: Ref| { - let output: std::option::Option = bevy::math::bounding::RayCast3d::sphere_intersection_at( - _self, - sphere, + let output: std::option::Option = ::bevy::math::bounding::RayCast3d::sphere_intersection_at( + _self.into(), + sphere.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::bounding::AabbCast3d>::new(world) .overwrite_script_function( "from_ray", | @@ -3007,10 +3188,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { ray: Val, max: f32| { - let output: Val = bevy::math::bounding::AabbCast3d::from_ray( - aabb, - ray, - max, + let output: Val = ::bevy::math::bounding::AabbCast3d::from_ray( + aabb.into(), + ray.into(), + max.into(), ) .into(); output @@ -3022,9 +3203,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, aabb: Val| { - let output: std::option::Option = bevy::math::bounding::AabbCast3d::aabb_collision_at( - _self, - aabb, + let output: std::option::Option = ::bevy::math::bounding::AabbCast3d::aabb_collision_at( + _self.into(), + aabb.into(), ) .into(); output @@ -3033,14 +3214,14 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::bounding::AabbCast3d::clone( - _self, + let output: Val = ::bevy::math::bounding::AabbCast3d::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::bounding::BoundingSphereCast>::new(world) .overwrite_script_function( "from_ray", | @@ -3048,10 +3229,10 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { ray: Val, max: f32| { - let output: Val = bevy::math::bounding::BoundingSphereCast::from_ray( - sphere, - ray, - max, + let output: Val = ::bevy::math::bounding::BoundingSphereCast::from_ray( + sphere.into(), + ray.into(), + max.into(), ) .into(); output @@ -3063,9 +3244,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, sphere: Val| { - let output: std::option::Option = bevy::math::bounding::BoundingSphereCast::sphere_collision_at( - _self, - sphere, + let output: std::option::Option = ::bevy::math::bounding::BoundingSphereCast::sphere_collision_at( + _self.into(), + sphere.into(), ) .into(); output @@ -3074,23 +3255,23 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::bounding::BoundingSphereCast::clone( - _self, + let output: Val = ::bevy::math::bounding::BoundingSphereCast::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::curve::interval::Interval>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::math::curve::interval::Interval::eq( - _self, - other, + let output: bool = ::bevy::math::curve::interval::Interval::eq( + _self.into(), + other.into(), ) .into(); output @@ -3099,7 +3280,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "start", |_self: Val| { - let output: f32 = bevy::math::curve::interval::Interval::start(_self) + let output: f32 = ::bevy::math::curve::interval::Interval::start( + _self.into(), + ) .into(); output }, @@ -3107,7 +3290,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "end", |_self: Val| { - let output: f32 = bevy::math::curve::interval::Interval::end(_self) + let output: f32 = ::bevy::math::curve::interval::Interval::end( + _self.into(), + ) .into(); output }, @@ -3115,8 +3300,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "length", |_self: Val| { - let output: f32 = bevy::math::curve::interval::Interval::length( - _self, + let output: f32 = ::bevy::math::curve::interval::Interval::length( + _self.into(), ) .into(); output @@ -3125,8 +3310,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "is_bounded", |_self: Val| { - let output: bool = bevy::math::curve::interval::Interval::is_bounded( - _self, + let output: bool = ::bevy::math::curve::interval::Interval::is_bounded( + _self.into(), ) .into(); output @@ -3135,8 +3320,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "has_finite_start", |_self: Val| { - let output: bool = bevy::math::curve::interval::Interval::has_finite_start( - _self, + let output: bool = ::bevy::math::curve::interval::Interval::has_finite_start( + _self.into(), ) .into(); output @@ -3145,8 +3330,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "has_finite_end", |_self: Val| { - let output: bool = bevy::math::curve::interval::Interval::has_finite_end( - _self, + let output: bool = ::bevy::math::curve::interval::Interval::has_finite_end( + _self.into(), ) .into(); output @@ -3155,9 +3340,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "contains", |_self: Val, item: f32| { - let output: bool = bevy::math::curve::interval::Interval::contains( - _self, - item, + let output: bool = ::bevy::math::curve::interval::Interval::contains( + _self.into(), + item.into(), ) .into(); output @@ -3169,9 +3354,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Val, other: Val| { - let output: bool = bevy::math::curve::interval::Interval::contains_interval( - _self, - other, + let output: bool = ::bevy::math::curve::interval::Interval::contains_interval( + _self.into(), + other.into(), ) .into(); output @@ -3180,9 +3365,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clamp", |_self: Val, value: f32| { - let output: f32 = bevy::math::curve::interval::Interval::clamp( - _self, - value, + let output: f32 = ::bevy::math::curve::interval::Interval::clamp( + _self.into(), + value.into(), ) .into(); output @@ -3191,19 +3376,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::curve::interval::Interval::clone( - _self, + let output: Val = ::bevy::math::curve::interval::Interval::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::FloatOrd>::new(world) .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::FloatOrd::neg( - _self, + let output: Val = ::bevy::math::FloatOrd::neg( + _self.into(), ) .into(); output @@ -3212,8 +3397,8 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::FloatOrd::clone( - _self, + let output: Val = ::bevy::math::FloatOrd::clone( + _self.into(), ) .into(); output @@ -3222,44 +3407,64 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::FloatOrd::eq(_self, other).into(); + let output: bool = ::bevy::math::FloatOrd::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "lt", |_self: Ref, other: Ref| { - let output: bool = bevy::math::FloatOrd::lt(_self, other).into(); + let output: bool = ::bevy::math::FloatOrd::lt( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "le", |_self: Ref, other: Ref| { - let output: bool = bevy::math::FloatOrd::le(_self, other).into(); + let output: bool = ::bevy::math::FloatOrd::le( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "gt", |_self: Ref, other: Ref| { - let output: bool = bevy::math::FloatOrd::gt(_self, other).into(); + let output: bool = ::bevy::math::FloatOrd::gt( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "ge", |_self: Ref, other: Ref| { - let output: bool = bevy::math::FloatOrd::ge(_self, other).into(); + let output: bool = ::bevy::math::FloatOrd::ge( + _self.into(), + other.into(), + ) + .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Plane3d>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Plane3d::clone( - _self, + let output: Val = ::bevy::math::primitives::Plane3d::clone( + _self.into(), ) .into(); output @@ -3271,17 +3476,20 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Plane3d::eq(_self, other) + let output: bool = ::bevy::math::primitives::Plane3d::eq( + _self.into(), + other.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::primitives::Tetrahedron>::new(world) .overwrite_script_function( "signed_volume", |_self: Ref| { - let output: f32 = bevy::math::primitives::Tetrahedron::signed_volume( - _self, + let output: f32 = ::bevy::math::primitives::Tetrahedron::signed_volume( + _self.into(), ) .into(); output @@ -3293,9 +3501,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::primitives::Tetrahedron::eq( - _self, - other, + let output: bool = ::bevy::math::primitives::Tetrahedron::eq( + _self.into(), + other.into(), ) .into(); output @@ -3304,19 +3512,19 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::primitives::Tetrahedron::clone( - _self, + let output: Val = ::bevy::math::primitives::Tetrahedron::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::curve::easing::EaseFunction>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::curve::easing::EaseFunction::clone( - _self, + let output: Val = ::bevy::math::curve::easing::EaseFunction::clone( + _self.into(), ) .into(); output @@ -3328,9 +3536,9 @@ impl bevy::app::Plugin for BevyMathScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::math::curve::easing::EaseFunction::eq( - _self, - other, + let output: bool = ::bevy::math::curve::easing::EaseFunction::eq( + _self.into(), + other.into(), ) .into(); output diff --git a/crates/bevy_mod_scripting_functions/src/bevy/bevy_reflect.rs b/crates/bevy_mod_scripting_functions/src/bevy/bevy_reflect.rs index db6638bf45..8644819064 100644 --- a/crates/bevy_mod_scripting_functions/src/bevy/bevy_reflect.rs +++ b/crates/bevy_mod_scripting_functions/src/bevy/bevy_reflect.rs @@ -11,12 +11,12 @@ pub struct BevyReflectScriptingPlugin; impl bevy::app::Plugin for BevyReflectScriptingPlugin { fn build(&self, app: &mut bevy::prelude::App) { let mut world = app.world_mut(); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::std::sync::atomic::AtomicBool>::new(world) .overwrite_script_function( "new", |v: bool| { - let output: Val = std::sync::atomic::AtomicBool::new( - v, + let output: Val = ::std::sync::atomic::AtomicBool::new( + v.into(), ) .into(); output @@ -25,17 +25,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "into_inner", |_self: Val| { - let output: bool = std::sync::atomic::AtomicBool::into_inner(_self) + let output: bool = ::std::sync::atomic::AtomicBool::into_inner( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::std::sync::atomic::AtomicI16>::new(world) .overwrite_script_function( "new", |v: i16| { - let output: Val = std::sync::atomic::AtomicI16::new( - v, + let output: Val = ::std::sync::atomic::AtomicI16::new( + v.into(), ) .into(); output @@ -44,17 +46,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "into_inner", |_self: Val| { - let output: i16 = std::sync::atomic::AtomicI16::into_inner(_self) + let output: i16 = ::std::sync::atomic::AtomicI16::into_inner( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::std::sync::atomic::AtomicI32>::new(world) .overwrite_script_function( "new", |v: i32| { - let output: Val = std::sync::atomic::AtomicI32::new( - v, + let output: Val = ::std::sync::atomic::AtomicI32::new( + v.into(), ) .into(); output @@ -63,17 +67,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "into_inner", |_self: Val| { - let output: i32 = std::sync::atomic::AtomicI32::into_inner(_self) + let output: i32 = ::std::sync::atomic::AtomicI32::into_inner( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::std::sync::atomic::AtomicI64>::new(world) .overwrite_script_function( "new", |v: i64| { - let output: Val = std::sync::atomic::AtomicI64::new( - v, + let output: Val = ::std::sync::atomic::AtomicI64::new( + v.into(), ) .into(); output @@ -82,17 +88,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "into_inner", |_self: Val| { - let output: i64 = std::sync::atomic::AtomicI64::into_inner(_self) + let output: i64 = ::std::sync::atomic::AtomicI64::into_inner( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::std::sync::atomic::AtomicI8>::new(world) .overwrite_script_function( "new", |v: i8| { - let output: Val = std::sync::atomic::AtomicI8::new( - v, + let output: Val = ::std::sync::atomic::AtomicI8::new( + v.into(), ) .into(); output @@ -101,17 +109,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "into_inner", |_self: Val| { - let output: i8 = std::sync::atomic::AtomicI8::into_inner(_self) + let output: i8 = ::std::sync::atomic::AtomicI8::into_inner( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::std::sync::atomic::AtomicIsize>::new(world) .overwrite_script_function( "new", |v: isize| { - let output: Val = std::sync::atomic::AtomicIsize::new( - v, + let output: Val = ::std::sync::atomic::AtomicIsize::new( + v.into(), ) .into(); output @@ -120,17 +130,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "into_inner", |_self: Val| { - let output: isize = std::sync::atomic::AtomicIsize::into_inner(_self) + let output: isize = ::std::sync::atomic::AtomicIsize::into_inner( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::std::sync::atomic::AtomicU16>::new(world) .overwrite_script_function( "new", |v: u16| { - let output: Val = std::sync::atomic::AtomicU16::new( - v, + let output: Val = ::std::sync::atomic::AtomicU16::new( + v.into(), ) .into(); output @@ -139,17 +151,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "into_inner", |_self: Val| { - let output: u16 = std::sync::atomic::AtomicU16::into_inner(_self) + let output: u16 = ::std::sync::atomic::AtomicU16::into_inner( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::std::sync::atomic::AtomicU32>::new(world) .overwrite_script_function( "new", |v: u32| { - let output: Val = std::sync::atomic::AtomicU32::new( - v, + let output: Val = ::std::sync::atomic::AtomicU32::new( + v.into(), ) .into(); output @@ -158,17 +172,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "into_inner", |_self: Val| { - let output: u32 = std::sync::atomic::AtomicU32::into_inner(_self) + let output: u32 = ::std::sync::atomic::AtomicU32::into_inner( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::std::sync::atomic::AtomicU64>::new(world) .overwrite_script_function( "new", |v: u64| { - let output: Val = std::sync::atomic::AtomicU64::new( - v, + let output: Val = ::std::sync::atomic::AtomicU64::new( + v.into(), ) .into(); output @@ -177,17 +193,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "into_inner", |_self: Val| { - let output: u64 = std::sync::atomic::AtomicU64::into_inner(_self) + let output: u64 = ::std::sync::atomic::AtomicU64::into_inner( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::std::sync::atomic::AtomicU8>::new(world) .overwrite_script_function( "new", |v: u8| { - let output: Val = std::sync::atomic::AtomicU8::new( - v, + let output: Val = ::std::sync::atomic::AtomicU8::new( + v.into(), ) .into(); output @@ -196,17 +214,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "into_inner", |_self: Val| { - let output: u8 = std::sync::atomic::AtomicU8::into_inner(_self) + let output: u8 = ::std::sync::atomic::AtomicU8::into_inner( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::std::sync::atomic::AtomicUsize>::new(world) .overwrite_script_function( "new", |v: usize| { - let output: Val = std::sync::atomic::AtomicUsize::new( - v, + let output: Val = ::std::sync::atomic::AtomicUsize::new( + v.into(), ) .into(); output @@ -215,18 +235,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "into_inner", |_self: Val| { - let output: usize = std::sync::atomic::AtomicUsize::into_inner(_self) + let output: usize = ::std::sync::atomic::AtomicUsize::into_inner( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::utils::Duration>::new(world) .overwrite_script_function( "mul", |_self: Val, rhs: u32| { - let output: Val = bevy::utils::Duration::mul( - _self, - rhs, + let output: Val = ::bevy::utils::Duration::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -235,8 +257,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::utils::Duration::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::utils::Duration::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -245,8 +267,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::utils::Duration::clone( - _self, + let output: Val = ::bevy::utils::Duration::clone( + _self.into(), ) .into(); output @@ -255,9 +277,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::utils::Duration::sub( - _self, - rhs, + let output: Val = ::bevy::utils::Duration::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -266,9 +288,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::utils::Duration::add( - _self, - rhs, + let output: Val = ::bevy::utils::Duration::add( + _self.into(), + rhs.into(), ) .into(); output @@ -277,16 +299,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::utils::Duration::eq(_self, other).into(); + let output: bool = ::bevy::utils::Duration::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "div", |_self: Val, rhs: u32| { - let output: Val = bevy::utils::Duration::div( - _self, - rhs, + let output: Val = ::bevy::utils::Duration::div( + _self.into(), + rhs.into(), ) .into(); output @@ -295,9 +321,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |secs: u64, nanos: u32| { - let output: Val = bevy::utils::Duration::new( - secs, - nanos, + let output: Val = ::bevy::utils::Duration::new( + secs.into(), + nanos.into(), ) .into(); output @@ -306,8 +332,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_secs", |secs: u64| { - let output: Val = bevy::utils::Duration::from_secs( - secs, + let output: Val = ::bevy::utils::Duration::from_secs( + secs.into(), ) .into(); output @@ -316,8 +342,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_millis", |millis: u64| { - let output: Val = bevy::utils::Duration::from_millis( - millis, + let output: Val = ::bevy::utils::Duration::from_millis( + millis.into(), ) .into(); output @@ -326,8 +352,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_micros", |micros: u64| { - let output: Val = bevy::utils::Duration::from_micros( - micros, + let output: Val = ::bevy::utils::Duration::from_micros( + micros.into(), ) .into(); output @@ -336,8 +362,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_nanos", |nanos: u64| { - let output: Val = bevy::utils::Duration::from_nanos( - nanos, + let output: Val = ::bevy::utils::Duration::from_nanos( + nanos.into(), ) .into(); output @@ -346,65 +372,77 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_zero", |_self: Ref| { - let output: bool = bevy::utils::Duration::is_zero(_self).into(); + let output: bool = ::bevy::utils::Duration::is_zero(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_secs", |_self: Ref| { - let output: u64 = bevy::utils::Duration::as_secs(_self).into(); + let output: u64 = ::bevy::utils::Duration::as_secs(_self.into()) + .into(); output }, ) .overwrite_script_function( "subsec_millis", |_self: Ref| { - let output: u32 = bevy::utils::Duration::subsec_millis(_self).into(); + let output: u32 = ::bevy::utils::Duration::subsec_millis( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "subsec_micros", |_self: Ref| { - let output: u32 = bevy::utils::Duration::subsec_micros(_self).into(); + let output: u32 = ::bevy::utils::Duration::subsec_micros( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "subsec_nanos", |_self: Ref| { - let output: u32 = bevy::utils::Duration::subsec_nanos(_self).into(); + let output: u32 = ::bevy::utils::Duration::subsec_nanos(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_millis", |_self: Ref| { - let output: u128 = bevy::utils::Duration::as_millis(_self).into(); + let output: u128 = ::bevy::utils::Duration::as_millis(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_micros", |_self: Ref| { - let output: u128 = bevy::utils::Duration::as_micros(_self).into(); + let output: u128 = ::bevy::utils::Duration::as_micros(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_nanos", |_self: Ref| { - let output: u128 = bevy::utils::Duration::as_nanos(_self).into(); + let output: u128 = ::bevy::utils::Duration::as_nanos(_self.into()) + .into(); output }, ) .overwrite_script_function( "abs_diff", |_self: Val, other: Val| { - let output: Val = bevy::utils::Duration::abs_diff( - _self, - other, + let output: Val = ::bevy::utils::Duration::abs_diff( + _self.into(), + other.into(), ) .into(); output @@ -413,9 +451,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add", |_self: Val, rhs: Val| { - let output: Val = bevy::utils::Duration::saturating_add( - _self, - rhs, + let output: Val = ::bevy::utils::Duration::saturating_add( + _self.into(), + rhs.into(), ) .into(); output @@ -424,9 +462,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::utils::Duration::saturating_sub( - _self, - rhs, + let output: Val = ::bevy::utils::Duration::saturating_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -435,9 +473,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_mul", |_self: Val, rhs: u32| { - let output: Val = bevy::utils::Duration::saturating_mul( - _self, - rhs, + let output: Val = ::bevy::utils::Duration::saturating_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -446,22 +484,24 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_secs_f64", |_self: Ref| { - let output: f64 = bevy::utils::Duration::as_secs_f64(_self).into(); + let output: f64 = ::bevy::utils::Duration::as_secs_f64(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_secs_f32", |_self: Ref| { - let output: f32 = bevy::utils::Duration::as_secs_f32(_self).into(); + let output: f32 = ::bevy::utils::Duration::as_secs_f32(_self.into()) + .into(); output }, ) .overwrite_script_function( "from_secs_f64", |secs: f64| { - let output: Val = bevy::utils::Duration::from_secs_f64( - secs, + let output: Val = ::bevy::utils::Duration::from_secs_f64( + secs.into(), ) .into(); output @@ -470,8 +510,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_secs_f32", |secs: f32| { - let output: Val = bevy::utils::Duration::from_secs_f32( - secs, + let output: Val = ::bevy::utils::Duration::from_secs_f32( + secs.into(), ) .into(); output @@ -480,9 +520,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_f64", |_self: Val, rhs: f64| { - let output: Val = bevy::utils::Duration::mul_f64( - _self, - rhs, + let output: Val = ::bevy::utils::Duration::mul_f64( + _self.into(), + rhs.into(), ) .into(); output @@ -491,9 +531,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_f32", |_self: Val, rhs: f32| { - let output: Val = bevy::utils::Duration::mul_f32( - _self, - rhs, + let output: Val = ::bevy::utils::Duration::mul_f32( + _self.into(), + rhs.into(), ) .into(); output @@ -502,9 +542,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_f64", |_self: Val, rhs: f64| { - let output: Val = bevy::utils::Duration::div_f64( - _self, - rhs, + let output: Val = ::bevy::utils::Duration::div_f64( + _self.into(), + rhs.into(), ) .into(); output @@ -513,9 +553,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_f32", |_self: Val, rhs: f32| { - let output: Val = bevy::utils::Duration::div_f32( - _self, - rhs, + let output: Val = ::bevy::utils::Duration::div_f32( + _self.into(), + rhs.into(), ) .into(); output @@ -524,7 +564,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_duration_f64", |_self: Val, rhs: Val| { - let output: f64 = bevy::utils::Duration::div_duration_f64(_self, rhs) + let output: f64 = ::bevy::utils::Duration::div_duration_f64( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -532,17 +575,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_duration_f32", |_self: Val, rhs: Val| { - let output: f32 = bevy::utils::Duration::div_duration_f32(_self, rhs) + let output: f32 = ::bevy::utils::Duration::div_duration_f32( + _self.into(), + rhs.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::utils::Instant>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::utils::Instant::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::utils::Instant::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -551,16 +597,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::utils::Instant::eq(_self, other).into(); + let output: bool = ::bevy::utils::Instant::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "sub", |_self: Val, other: Val| { - let output: Val = bevy::utils::Instant::sub( - _self, - other, + let output: Val = ::bevy::utils::Instant::sub( + _self.into(), + other.into(), ) .into(); output @@ -569,9 +619,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, other: Val| { - let output: Val = bevy::utils::Instant::sub( - _self, - other, + let output: Val = ::bevy::utils::Instant::sub( + _self.into(), + other.into(), ) .into(); output @@ -580,7 +630,7 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "now", || { - let output: Val = bevy::utils::Instant::now() + let output: Val = ::bevy::utils::Instant::now() .into(); output }, @@ -588,9 +638,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "duration_since", |_self: Ref, earlier: Val| { - let output: Val = bevy::utils::Instant::duration_since( - _self, - earlier, + let output: Val = ::bevy::utils::Instant::duration_since( + _self.into(), + earlier.into(), ) .into(); output @@ -599,9 +649,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_duration_since", |_self: Ref, earlier: Val| { - let output: Val = bevy::utils::Instant::saturating_duration_since( - _self, - earlier, + let output: Val = ::bevy::utils::Instant::saturating_duration_since( + _self.into(), + earlier.into(), ) .into(); output @@ -610,8 +660,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "elapsed", |_self: Ref| { - let output: Val = bevy::utils::Instant::elapsed( - _self, + let output: Val = ::bevy::utils::Instant::elapsed( + _self.into(), ) .into(); output @@ -620,8 +670,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::utils::Instant::clone( - _self, + let output: Val = ::bevy::utils::Instant::clone( + _self.into(), ) .into(); output @@ -630,20 +680,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, other: Val| { - let output: Val = bevy::utils::Instant::add( - _self, - other, + let output: Val = ::bevy::utils::Instant::add( + _self.into(), + other.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::std::ops::RangeFull>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = std::ops::RangeFull::clone( - _self, + let output: Val = ::std::ops::RangeFull::clone( + _self.into(), ) .into(); output @@ -652,8 +702,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = std::ops::RangeFull::assert_receiver_is_total_eq( - _self, + let output: () = ::std::ops::RangeFull::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -662,15 +712,22 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = std::ops::RangeFull::eq(_self, other).into(); + let output: bool = ::std::ops::RangeFull::eq( + _self.into(), + other.into(), + ) + .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Quat>::new(world) .overwrite_script_function( "mul", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Quat::mul(_self, rhs) + let output: Val = ::bevy::math::Quat::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -678,7 +735,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Quat::sub(_self, rhs) + let output: Val = ::bevy::math::Quat::sub( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -686,7 +746,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::Quat::neg(_self) + let output: Val = ::bevy::math::Quat::neg( + _self.into(), + ) .into(); output }, @@ -694,9 +756,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Quat::mul( - _self, - rhs, + let output: Val = ::bevy::math::Quat::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -705,7 +767,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Quat::clone(_self) + let output: Val = ::bevy::math::Quat::clone( + _self.into(), + ) .into(); output }, @@ -713,11 +777,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_xyzw", |x: f32, y: f32, z: f32, w: f32| { - let output: Val = bevy::math::Quat::from_xyzw( - x, - y, - z, - w, + let output: Val = ::bevy::math::Quat::from_xyzw( + x.into(), + y.into(), + z.into(), + w.into(), ) .into(); output @@ -726,7 +790,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [f32; 4]| { - let output: Val = bevy::math::Quat::from_array(a) + let output: Val = ::bevy::math::Quat::from_array( + a.into(), + ) .into(); output }, @@ -734,7 +800,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_vec4", |v: Val| { - let output: Val = bevy::math::Quat::from_vec4(v) + let output: Val = ::bevy::math::Quat::from_vec4( + v.into(), + ) .into(); output }, @@ -742,9 +810,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_axis_angle", |axis: Val, angle: f32| { - let output: Val = bevy::math::Quat::from_axis_angle( - axis, - angle, + let output: Val = ::bevy::math::Quat::from_axis_angle( + axis.into(), + angle.into(), ) .into(); output @@ -753,8 +821,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_scaled_axis", |v: Val| { - let output: Val = bevy::math::Quat::from_scaled_axis( - v, + let output: Val = ::bevy::math::Quat::from_scaled_axis( + v.into(), ) .into(); output @@ -763,8 +831,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_x", |angle: f32| { - let output: Val = bevy::math::Quat::from_rotation_x( - angle, + let output: Val = ::bevy::math::Quat::from_rotation_x( + angle.into(), ) .into(); output @@ -773,8 +841,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_y", |angle: f32| { - let output: Val = bevy::math::Quat::from_rotation_y( - angle, + let output: Val = ::bevy::math::Quat::from_rotation_y( + angle.into(), ) .into(); output @@ -783,8 +851,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_z", |angle: f32| { - let output: Val = bevy::math::Quat::from_rotation_z( - angle, + let output: Val = ::bevy::math::Quat::from_rotation_z( + angle.into(), ) .into(); output @@ -793,11 +861,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_euler", |euler: Val, a: f32, b: f32, c: f32| { - let output: Val = bevy::math::Quat::from_euler( - euler, - a, - b, - c, + let output: Val = ::bevy::math::Quat::from_euler( + euler.into(), + a.into(), + b.into(), + c.into(), ) .into(); output @@ -806,7 +874,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3", |mat: Ref| { - let output: Val = bevy::math::Quat::from_mat3(mat) + let output: Val = ::bevy::math::Quat::from_mat3( + mat.into(), + ) .into(); output }, @@ -814,7 +884,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3a", |mat: Ref| { - let output: Val = bevy::math::Quat::from_mat3a(mat) + let output: Val = ::bevy::math::Quat::from_mat3a( + mat.into(), + ) .into(); output }, @@ -822,7 +894,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat4", |mat: Ref| { - let output: Val = bevy::math::Quat::from_mat4(mat) + let output: Val = ::bevy::math::Quat::from_mat4( + mat.into(), + ) .into(); output }, @@ -830,9 +904,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_arc", |from: Val, to: Val| { - let output: Val = bevy::math::Quat::from_rotation_arc( - from, - to, + let output: Val = ::bevy::math::Quat::from_rotation_arc( + from.into(), + to.into(), ) .into(); output @@ -841,9 +915,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_arc_colinear", |from: Val, to: Val| { - let output: Val = bevy::math::Quat::from_rotation_arc_colinear( - from, - to, + let output: Val = ::bevy::math::Quat::from_rotation_arc_colinear( + from.into(), + to.into(), ) .into(); output @@ -852,9 +926,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_arc_2d", |from: Val, to: Val| { - let output: Val = bevy::math::Quat::from_rotation_arc_2d( - from, - to, + let output: Val = ::bevy::math::Quat::from_rotation_arc_2d( + from.into(), + to.into(), ) .into(); output @@ -863,8 +937,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_scaled_axis", |_self: Val| { - let output: Val = bevy::math::Quat::to_scaled_axis( - _self, + let output: Val = ::bevy::math::Quat::to_scaled_axis( + _self.into(), ) .into(); output @@ -873,9 +947,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_euler", |_self: Val, order: Val| { - let output: (f32, f32, f32) = bevy::math::Quat::to_euler( - _self, - order, + let output: (f32, f32, f32) = ::bevy::math::Quat::to_euler( + _self.into(), + order.into(), ) .into(); output @@ -884,14 +958,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [f32; 4] = bevy::math::Quat::to_array(_self).into(); + let output: [f32; 4] = ::bevy::math::Quat::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "xyz", |_self: Val| { - let output: Val = bevy::math::Quat::xyz(_self) + let output: Val = ::bevy::math::Quat::xyz( + _self.into(), + ) .into(); output }, @@ -899,8 +976,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "conjugate", |_self: Val| { - let output: Val = bevy::math::Quat::conjugate( - _self, + let output: Val = ::bevy::math::Quat::conjugate( + _self.into(), ) .into(); output @@ -909,7 +986,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "inverse", |_self: Val| { - let output: Val = bevy::math::Quat::inverse(_self) + let output: Val = ::bevy::math::Quat::inverse( + _self.into(), + ) .into(); output }, @@ -917,36 +996,39 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Quat::dot(_self, rhs).into(); + let output: f32 = ::bevy::math::Quat::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "length", |_self: Val| { - let output: f32 = bevy::math::Quat::length(_self).into(); + let output: f32 = ::bevy::math::Quat::length(_self.into()).into(); output }, ) .overwrite_script_function( "length_squared", |_self: Val| { - let output: f32 = bevy::math::Quat::length_squared(_self).into(); + let output: f32 = ::bevy::math::Quat::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "length_recip", |_self: Val| { - let output: f32 = bevy::math::Quat::length_recip(_self).into(); + let output: f32 = ::bevy::math::Quat::length_recip(_self.into()) + .into(); output }, ) .overwrite_script_function( "normalize", |_self: Val| { - let output: Val = bevy::math::Quat::normalize( - _self, + let output: Val = ::bevy::math::Quat::normalize( + _self.into(), ) .into(); output @@ -955,35 +1037,42 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Val| { - let output: bool = bevy::math::Quat::is_finite(_self).into(); + let output: bool = ::bevy::math::Quat::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Val| { - let output: bool = bevy::math::Quat::is_nan(_self).into(); + let output: bool = ::bevy::math::Quat::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "is_normalized", |_self: Val| { - let output: bool = bevy::math::Quat::is_normalized(_self).into(); + let output: bool = ::bevy::math::Quat::is_normalized(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_near_identity", |_self: Val| { - let output: bool = bevy::math::Quat::is_near_identity(_self).into(); + let output: bool = ::bevy::math::Quat::is_near_identity(_self.into()) + .into(); output }, ) .overwrite_script_function( "angle_between", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Quat::angle_between(_self, rhs).into(); + let output: f32 = ::bevy::math::Quat::angle_between( + _self.into(), + rhs.into(), + ) + .into(); output }, ) @@ -994,10 +1083,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_angle: f32| { - let output: Val = bevy::math::Quat::rotate_towards( - _self, - rhs, - max_angle, + let output: Val = ::bevy::math::Quat::rotate_towards( + _self.into(), + rhs.into(), + max_angle.into(), ) .into(); output @@ -1010,10 +1099,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f32| { - let output: bool = bevy::math::Quat::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::Quat::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -1022,10 +1111,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "lerp", |_self: Val, end: Val, s: f32| { - let output: Val = bevy::math::Quat::lerp( - _self, - end, - s, + let output: Val = ::bevy::math::Quat::lerp( + _self.into(), + end.into(), + s.into(), ) .into(); output @@ -1034,10 +1123,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "slerp", |_self: Val, end: Val, s: f32| { - let output: Val = bevy::math::Quat::slerp( - _self, - end, - s, + let output: Val = ::bevy::math::Quat::slerp( + _self.into(), + end.into(), + s.into(), ) .into(); output @@ -1046,9 +1135,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_vec3", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Quat::mul_vec3( - _self, - rhs, + let output: Val = ::bevy::math::Quat::mul_vec3( + _self.into(), + rhs.into(), ) .into(); output @@ -1057,9 +1146,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_quat", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Quat::mul_quat( - _self, - rhs, + let output: Val = ::bevy::math::Quat::mul_quat( + _self.into(), + rhs.into(), ) .into(); output @@ -1068,7 +1157,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_affine3", |a: Ref| { - let output: Val = bevy::math::Quat::from_affine3(a) + let output: Val = ::bevy::math::Quat::from_affine3( + a.into(), + ) .into(); output }, @@ -1076,9 +1167,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_vec3a", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Quat::mul_vec3a( - _self, - rhs, + let output: Val = ::bevy::math::Quat::mul_vec3a( + _self.into(), + rhs.into(), ) .into(); output @@ -1087,8 +1178,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dquat", |_self: Val| { - let output: Val = bevy::math::Quat::as_dquat( - _self, + let output: Val = ::bevy::math::Quat::as_dquat( + _self.into(), ) .into(); output @@ -1097,14 +1188,18 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::Quat::eq(_self, rhs).into(); + let output: bool = ::bevy::math::Quat::eq(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Quat::mul(_self, rhs) + let output: Val = ::bevy::math::Quat::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1112,7 +1207,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Quat::mul(_self, rhs) + let output: Val = ::bevy::math::Quat::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1120,7 +1218,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Quat::div(_self, rhs) + let output: Val = ::bevy::math::Quat::div( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1128,16 +1229,22 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Quat::add(_self, rhs) + let output: Val = ::bevy::math::Quat::add( + _self.into(), + rhs.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Vec3>::new(world) .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec3::mul(_self, rhs) + let output: Val = ::bevy::math::Vec3::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1145,7 +1252,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec3::div(_self, rhs) + let output: Val = ::bevy::math::Vec3::div( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1153,7 +1263,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::mul(_self, rhs) + let output: Val = ::bevy::math::Vec3::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1161,7 +1274,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::add(_self, rhs) + let output: Val = ::bevy::math::Vec3::add( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1169,7 +1285,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Vec3::clone(_self) + let output: Val = ::bevy::math::Vec3::clone( + _self.into(), + ) .into(); output }, @@ -1177,7 +1295,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec3::sub(_self, rhs) + let output: Val = ::bevy::math::Vec3::sub( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1185,7 +1306,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::rem(_self, rhs) + let output: Val = ::bevy::math::Vec3::rem( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1193,7 +1317,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::Vec3::neg(_self) + let output: Val = ::bevy::math::Vec3::neg( + _self.into(), + ) .into(); output }, @@ -1201,7 +1327,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec3::mul(_self, rhs) + let output: Val = ::bevy::math::Vec3::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1209,7 +1338,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec3::sub(_self, rhs) + let output: Val = ::bevy::math::Vec3::sub( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1217,7 +1349,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::div(_self, rhs) + let output: Val = ::bevy::math::Vec3::div( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1225,7 +1360,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec3::add(_self, rhs) + let output: Val = ::bevy::math::Vec3::add( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1233,7 +1371,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec3::rem(_self, rhs) + let output: Val = ::bevy::math::Vec3::rem( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1241,7 +1382,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec3::rem(_self, rhs) + let output: Val = ::bevy::math::Vec3::rem( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1249,7 +1393,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec3::div(_self, rhs) + let output: Val = ::bevy::math::Vec3::div( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1257,7 +1404,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: f32, y: f32, z: f32| { - let output: Val = bevy::math::Vec3::new(x, y, z) + let output: Val = ::bevy::math::Vec3::new( + x.into(), + y.into(), + z.into(), + ) .into(); output }, @@ -1265,7 +1416,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: f32| { - let output: Val = bevy::math::Vec3::splat(v) + let output: Val = ::bevy::math::Vec3::splat( + v.into(), + ) .into(); output }, @@ -1277,10 +1430,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::Vec3::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::Vec3::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -1289,7 +1442,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [f32; 3]| { - let output: Val = bevy::math::Vec3::from_array(a) + let output: Val = ::bevy::math::Vec3::from_array( + a.into(), + ) .into(); output }, @@ -1297,16 +1452,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [f32; 3] = bevy::math::Vec3::to_array(_self).into(); + let output: [f32; 3] = ::bevy::math::Vec3::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "extend", |_self: Val, w: f32| { - let output: Val = bevy::math::Vec3::extend( - _self, - w, + let output: Val = ::bevy::math::Vec3::extend( + _self.into(), + w.into(), ) .into(); output @@ -1315,7 +1471,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "truncate", |_self: Val| { - let output: Val = bevy::math::Vec3::truncate(_self) + let output: Val = ::bevy::math::Vec3::truncate( + _self.into(), + ) .into(); output }, @@ -1323,9 +1481,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: f32| { - let output: Val = bevy::math::Vec3::with_x( - _self, - x, + let output: Val = ::bevy::math::Vec3::with_x( + _self.into(), + x.into(), ) .into(); output @@ -1334,9 +1492,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: f32| { - let output: Val = bevy::math::Vec3::with_y( - _self, - y, + let output: Val = ::bevy::math::Vec3::with_y( + _self.into(), + y.into(), ) .into(); output @@ -1345,9 +1503,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_z", |_self: Val, z: f32| { - let output: Val = bevy::math::Vec3::with_z( - _self, - z, + let output: Val = ::bevy::math::Vec3::with_z( + _self.into(), + z.into(), ) .into(); output @@ -1356,16 +1514,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec3::dot(_self, rhs).into(); + let output: f32 = ::bevy::math::Vec3::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -1374,9 +1533,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cross", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::cross( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::cross( + _self.into(), + rhs.into(), ) .into(); output @@ -1385,7 +1544,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::min(_self, rhs) + let output: Val = ::bevy::math::Vec3::min( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1393,7 +1555,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::max(_self, rhs) + let output: Val = ::bevy::math::Vec3::max( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1405,10 +1570,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::Vec3::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::Vec3::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -1417,37 +1582,41 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: f32 = bevy::math::Vec3::min_element(_self).into(); + let output: f32 = ::bevy::math::Vec3::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: f32 = bevy::math::Vec3::max_element(_self).into(); + let output: f32 = ::bevy::math::Vec3::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: f32 = bevy::math::Vec3::element_sum(_self).into(); + let output: f32 = ::bevy::math::Vec3::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: f32 = bevy::math::Vec3::element_product(_self).into(); + let output: f32 = ::bevy::math::Vec3::element_product(_self.into()) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -1456,9 +1625,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -1467,9 +1636,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -1478,9 +1647,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -1489,9 +1658,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::cmple( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -1500,9 +1669,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -1511,7 +1680,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Val| { - let output: Val = bevy::math::Vec3::abs(_self) + let output: Val = ::bevy::math::Vec3::abs( + _self.into(), + ) .into(); output }, @@ -1519,7 +1690,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "signum", |_self: Val| { - let output: Val = bevy::math::Vec3::signum(_self) + let output: Val = ::bevy::math::Vec3::signum( + _self.into(), + ) .into(); output }, @@ -1527,9 +1700,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "copysign", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::copysign( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::copysign( + _self.into(), + rhs.into(), ) .into(); output @@ -1538,7 +1711,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_negative_bitmask", |_self: Val| { - let output: u32 = bevy::math::Vec3::is_negative_bitmask(_self) + let output: u32 = ::bevy::math::Vec3::is_negative_bitmask( + _self.into(), + ) .into(); output }, @@ -1546,15 +1721,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Val| { - let output: bool = bevy::math::Vec3::is_finite(_self).into(); + let output: bool = ::bevy::math::Vec3::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_finite_mask", |_self: Val| { - let output: Val = bevy::math::Vec3::is_finite_mask( - _self, + let output: Val = ::bevy::math::Vec3::is_finite_mask( + _self.into(), ) .into(); output @@ -1563,15 +1739,15 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_nan", |_self: Val| { - let output: bool = bevy::math::Vec3::is_nan(_self).into(); + let output: bool = ::bevy::math::Vec3::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "is_nan_mask", |_self: Val| { - let output: Val = bevy::math::Vec3::is_nan_mask( - _self, + let output: Val = ::bevy::math::Vec3::is_nan_mask( + _self.into(), ) .into(); output @@ -1580,35 +1756,44 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length", |_self: Val| { - let output: f32 = bevy::math::Vec3::length(_self).into(); + let output: f32 = ::bevy::math::Vec3::length(_self.into()).into(); output }, ) .overwrite_script_function( "length_squared", |_self: Val| { - let output: f32 = bevy::math::Vec3::length_squared(_self).into(); + let output: f32 = ::bevy::math::Vec3::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "length_recip", |_self: Val| { - let output: f32 = bevy::math::Vec3::length_recip(_self).into(); + let output: f32 = ::bevy::math::Vec3::length_recip(_self.into()) + .into(); output }, ) .overwrite_script_function( "distance", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec3::distance(_self, rhs).into(); + let output: f32 = ::bevy::math::Vec3::distance( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "distance_squared", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec3::distance_squared(_self, rhs) + let output: f32 = ::bevy::math::Vec3::distance_squared( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -1616,9 +1801,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::div_euclid( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::div_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -1627,9 +1812,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::rem_euclid( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::rem_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -1638,8 +1823,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize", |_self: Val| { - let output: Val = bevy::math::Vec3::normalize( - _self, + let output: Val = ::bevy::math::Vec3::normalize( + _self.into(), ) .into(); output @@ -1648,9 +1833,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or", |_self: Val, fallback: Val| { - let output: Val = bevy::math::Vec3::normalize_or( - _self, - fallback, + let output: Val = ::bevy::math::Vec3::normalize_or( + _self.into(), + fallback.into(), ) .into(); output @@ -1659,8 +1844,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or_zero", |_self: Val| { - let output: Val = bevy::math::Vec3::normalize_or_zero( - _self, + let output: Val = ::bevy::math::Vec3::normalize_or_zero( + _self.into(), ) .into(); output @@ -1669,16 +1854,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_normalized", |_self: Val| { - let output: bool = bevy::math::Vec3::is_normalized(_self).into(); + let output: bool = ::bevy::math::Vec3::is_normalized(_self.into()) + .into(); output }, ) .overwrite_script_function( "project_onto", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::project_onto( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::project_onto( + _self.into(), + rhs.into(), ) .into(); output @@ -1687,9 +1873,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::reject_from( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::reject_from( + _self.into(), + rhs.into(), ) .into(); output @@ -1698,9 +1884,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "project_onto_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::project_onto_normalized( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::project_onto_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -1709,9 +1895,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::reject_from_normalized( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::reject_from_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -1720,7 +1906,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "round", |_self: Val| { - let output: Val = bevy::math::Vec3::round(_self) + let output: Val = ::bevy::math::Vec3::round( + _self.into(), + ) .into(); output }, @@ -1728,7 +1916,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "floor", |_self: Val| { - let output: Val = bevy::math::Vec3::floor(_self) + let output: Val = ::bevy::math::Vec3::floor( + _self.into(), + ) .into(); output }, @@ -1736,7 +1926,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "ceil", |_self: Val| { - let output: Val = bevy::math::Vec3::ceil(_self) + let output: Val = ::bevy::math::Vec3::ceil( + _self.into(), + ) .into(); output }, @@ -1744,7 +1936,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "trunc", |_self: Val| { - let output: Val = bevy::math::Vec3::trunc(_self) + let output: Val = ::bevy::math::Vec3::trunc( + _self.into(), + ) .into(); output }, @@ -1752,7 +1946,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract", |_self: Val| { - let output: Val = bevy::math::Vec3::fract(_self) + let output: Val = ::bevy::math::Vec3::fract( + _self.into(), + ) .into(); output }, @@ -1760,7 +1956,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract_gl", |_self: Val| { - let output: Val = bevy::math::Vec3::fract_gl(_self) + let output: Val = ::bevy::math::Vec3::fract_gl( + _self.into(), + ) .into(); output }, @@ -1768,7 +1966,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "exp", |_self: Val| { - let output: Val = bevy::math::Vec3::exp(_self) + let output: Val = ::bevy::math::Vec3::exp( + _self.into(), + ) .into(); output }, @@ -1776,7 +1976,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "powf", |_self: Val, n: f32| { - let output: Val = bevy::math::Vec3::powf(_self, n) + let output: Val = ::bevy::math::Vec3::powf( + _self.into(), + n.into(), + ) .into(); output }, @@ -1784,7 +1987,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "recip", |_self: Val| { - let output: Val = bevy::math::Vec3::recip(_self) + let output: Val = ::bevy::math::Vec3::recip( + _self.into(), + ) .into(); output }, @@ -1792,10 +1997,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "lerp", |_self: Val, rhs: Val, s: f32| { - let output: Val = bevy::math::Vec3::lerp( - _self, - rhs, - s, + let output: Val = ::bevy::math::Vec3::lerp( + _self.into(), + rhs.into(), + s.into(), ) .into(); output @@ -1804,10 +2009,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "move_towards", |_self: Ref, rhs: Val, d: f32| { - let output: Val = bevy::math::Vec3::move_towards( - _self, - rhs, - d, + let output: Val = ::bevy::math::Vec3::move_towards( + _self.into(), + rhs.into(), + d.into(), ) .into(); output @@ -1816,9 +2021,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "midpoint", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::midpoint( - _self, - rhs, + let output: Val = ::bevy::math::Vec3::midpoint( + _self.into(), + rhs.into(), ) .into(); output @@ -1831,10 +2036,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f32| { - let output: bool = bevy::math::Vec3::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::Vec3::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -1843,10 +2048,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length", |_self: Val, min: f32, max: f32| { - let output: Val = bevy::math::Vec3::clamp_length( - _self, - min, - max, + let output: Val = ::bevy::math::Vec3::clamp_length( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -1855,9 +2060,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_max", |_self: Val, max: f32| { - let output: Val = bevy::math::Vec3::clamp_length_max( - _self, - max, + let output: Val = ::bevy::math::Vec3::clamp_length_max( + _self.into(), + max.into(), ) .into(); output @@ -1866,9 +2071,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_min", |_self: Val, min: f32| { - let output: Val = bevy::math::Vec3::clamp_length_min( - _self, - min, + let output: Val = ::bevy::math::Vec3::clamp_length_min( + _self.into(), + min.into(), ) .into(); output @@ -1881,10 +2086,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { a: Val, b: Val| { - let output: Val = bevy::math::Vec3::mul_add( - _self, - a, - b, + let output: Val = ::bevy::math::Vec3::mul_add( + _self.into(), + a.into(), + b.into(), ) .into(); output @@ -1893,9 +2098,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reflect", |_self: Val, normal: Val| { - let output: Val = bevy::math::Vec3::reflect( - _self, - normal, + let output: Val = ::bevy::math::Vec3::reflect( + _self.into(), + normal.into(), ) .into(); output @@ -1904,10 +2109,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "refract", |_self: Val, normal: Val, eta: f32| { - let output: Val = bevy::math::Vec3::refract( - _self, - normal, - eta, + let output: Val = ::bevy::math::Vec3::refract( + _self.into(), + normal.into(), + eta.into(), ) .into(); output @@ -1916,15 +2121,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "angle_between", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec3::angle_between(_self, rhs).into(); + let output: f32 = ::bevy::math::Vec3::angle_between( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "any_orthogonal_vector", |_self: Ref| { - let output: Val = bevy::math::Vec3::any_orthogonal_vector( - _self, + let output: Val = ::bevy::math::Vec3::any_orthogonal_vector( + _self.into(), ) .into(); output @@ -1933,8 +2142,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "any_orthonormal_vector", |_self: Ref| { - let output: Val = bevy::math::Vec3::any_orthonormal_vector( - _self, + let output: Val = ::bevy::math::Vec3::any_orthonormal_vector( + _self.into(), ) .into(); output @@ -1943,8 +2152,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec3", |_self: Ref| { - let output: Val = bevy::math::Vec3::as_dvec3( - _self, + let output: Val = ::bevy::math::Vec3::as_dvec3( + _self.into(), ) .into(); output @@ -1953,8 +2162,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec3", |_self: Ref| { - let output: Val = bevy::math::Vec3::as_ivec3( - _self, + let output: Val = ::bevy::math::Vec3::as_ivec3( + _self.into(), ) .into(); output @@ -1963,8 +2172,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec3", |_self: Ref| { - let output: Val = bevy::math::Vec3::as_uvec3( - _self, + let output: Val = ::bevy::math::Vec3::as_uvec3( + _self.into(), ) .into(); output @@ -1973,8 +2182,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec3", |_self: Ref| { - let output: Val = bevy::math::Vec3::as_i64vec3( - _self, + let output: Val = ::bevy::math::Vec3::as_i64vec3( + _self.into(), ) .into(); output @@ -1983,8 +2192,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec3", |_self: Ref| { - let output: Val = bevy::math::Vec3::as_u64vec3( - _self, + let output: Val = ::bevy::math::Vec3::as_u64vec3( + _self.into(), ) .into(); output @@ -1993,14 +2202,18 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::Vec3::eq(_self, other).into(); + let output: bool = ::bevy::math::Vec3::eq(_self.into(), other.into()) + .into(); output }, ) .overwrite_script_function( "add", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec3::add(_self, rhs) + let output: Val = ::bevy::math::Vec3::add( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -2008,18 +2221,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3::sub(_self, rhs) + let output: Val = ::bevy::math::Vec3::sub( + _self.into(), + rhs.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::IVec2>::new(world) .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -2028,9 +2244,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec2::add( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -2039,9 +2255,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -2050,9 +2266,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec2::add( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -2061,9 +2277,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -2072,9 +2288,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -2083,9 +2299,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -2094,9 +2310,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -2105,9 +2321,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -2116,9 +2332,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::div( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::div( + _self.into(), + rhs.into(), ) .into(); output @@ -2127,8 +2343,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::IVec2::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::IVec2::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -2137,9 +2353,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -2148,9 +2364,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::add( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -2159,9 +2375,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec2::div( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::div( + _self.into(), + rhs.into(), ) .into(); output @@ -2170,16 +2386,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::IVec2::eq(_self, other).into(); + let output: bool = ::bevy::math::IVec2::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "div", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec2::div( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::div( + _self.into(), + rhs.into(), ) .into(); output @@ -2188,9 +2408,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -2199,7 +2419,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: i32, y: i32| { - let output: Val = bevy::math::IVec2::new(x, y) + let output: Val = ::bevy::math::IVec2::new( + x.into(), + y.into(), + ) .into(); output }, @@ -2207,7 +2430,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: i32| { - let output: Val = bevy::math::IVec2::splat(v) + let output: Val = ::bevy::math::IVec2::splat( + v.into(), + ) .into(); output }, @@ -2219,10 +2444,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::IVec2::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::IVec2::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -2231,7 +2456,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [i32; 2]| { - let output: Val = bevy::math::IVec2::from_array(a) + let output: Val = ::bevy::math::IVec2::from_array( + a.into(), + ) .into(); output }, @@ -2239,16 +2466,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [i32; 2] = bevy::math::IVec2::to_array(_self).into(); + let output: [i32; 2] = ::bevy::math::IVec2::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "extend", |_self: Val, z: i32| { - let output: Val = bevy::math::IVec2::extend( - _self, - z, + let output: Val = ::bevy::math::IVec2::extend( + _self.into(), + z.into(), ) .into(); output @@ -2257,9 +2485,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: i32| { - let output: Val = bevy::math::IVec2::with_x( - _self, - x, + let output: Val = ::bevy::math::IVec2::with_x( + _self.into(), + x.into(), ) .into(); output @@ -2268,9 +2496,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: i32| { - let output: Val = bevy::math::IVec2::with_y( - _self, - y, + let output: Val = ::bevy::math::IVec2::with_y( + _self.into(), + y.into(), ) .into(); output @@ -2279,16 +2507,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: i32 = bevy::math::IVec2::dot(_self, rhs).into(); + let output: i32 = ::bevy::math::IVec2::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -2297,9 +2526,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::min( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::min( + _self.into(), + rhs.into(), ) .into(); output @@ -2308,9 +2537,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::max( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::max( + _self.into(), + rhs.into(), ) .into(); output @@ -2323,10 +2552,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::IVec2::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::IVec2::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -2335,37 +2564,41 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: i32 = bevy::math::IVec2::min_element(_self).into(); + let output: i32 = ::bevy::math::IVec2::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: i32 = bevy::math::IVec2::max_element(_self).into(); + let output: i32 = ::bevy::math::IVec2::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: i32 = bevy::math::IVec2::element_sum(_self).into(); + let output: i32 = ::bevy::math::IVec2::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: i32 = bevy::math::IVec2::element_product(_self).into(); + let output: i32 = ::bevy::math::IVec2::element_product(_self.into()) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -2374,9 +2607,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -2385,9 +2618,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -2396,9 +2629,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -2407,9 +2640,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::cmple( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -2418,9 +2651,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -2429,7 +2662,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Val| { - let output: Val = bevy::math::IVec2::abs(_self) + let output: Val = ::bevy::math::IVec2::abs( + _self.into(), + ) .into(); output }, @@ -2437,7 +2672,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "signum", |_self: Val| { - let output: Val = bevy::math::IVec2::signum(_self) + let output: Val = ::bevy::math::IVec2::signum( + _self.into(), + ) .into(); output }, @@ -2445,7 +2682,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_negative_bitmask", |_self: Val| { - let output: u32 = bevy::math::IVec2::is_negative_bitmask(_self) + let output: u32 = ::bevy::math::IVec2::is_negative_bitmask( + _self.into(), + ) .into(); output }, @@ -2453,14 +2692,18 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length_squared", |_self: Val| { - let output: i32 = bevy::math::IVec2::length_squared(_self).into(); + let output: i32 = ::bevy::math::IVec2::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "distance_squared", |_self: Val, rhs: Val| { - let output: i32 = bevy::math::IVec2::distance_squared(_self, rhs) + let output: i32 = ::bevy::math::IVec2::distance_squared( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -2468,9 +2711,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::div_euclid( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::div_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -2479,9 +2722,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::rem_euclid( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::rem_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -2490,7 +2733,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perp", |_self: Val| { - let output: Val = bevy::math::IVec2::perp(_self) + let output: Val = ::bevy::math::IVec2::perp( + _self.into(), + ) .into(); output }, @@ -2498,16 +2743,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perp_dot", |_self: Val, rhs: Val| { - let output: i32 = bevy::math::IVec2::perp_dot(_self, rhs).into(); + let output: i32 = ::bevy::math::IVec2::perp_dot( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "rotate", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::rotate( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::rotate( + _self.into(), + rhs.into(), ) .into(); output @@ -2516,7 +2765,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec2", |_self: Ref| { - let output: Val = bevy::math::IVec2::as_vec2(_self) + let output: Val = ::bevy::math::IVec2::as_vec2( + _self.into(), + ) .into(); output }, @@ -2524,8 +2775,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec2", |_self: Ref| { - let output: Val = bevy::math::IVec2::as_dvec2( - _self, + let output: Val = ::bevy::math::IVec2::as_dvec2( + _self.into(), ) .into(); output @@ -2534,8 +2785,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec2", |_self: Ref| { - let output: Val = bevy::math::IVec2::as_uvec2( - _self, + let output: Val = ::bevy::math::IVec2::as_uvec2( + _self.into(), ) .into(); output @@ -2544,8 +2795,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec2", |_self: Ref| { - let output: Val = bevy::math::IVec2::as_i64vec2( - _self, + let output: Val = ::bevy::math::IVec2::as_i64vec2( + _self.into(), ) .into(); output @@ -2554,8 +2805,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec2", |_self: Ref| { - let output: Val = bevy::math::IVec2::as_u64vec2( - _self, + let output: Val = ::bevy::math::IVec2::as_u64vec2( + _self.into(), ) .into(); output @@ -2564,9 +2815,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::wrapping_add( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::wrapping_add( + _self.into(), + rhs.into(), ) .into(); output @@ -2575,9 +2826,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::wrapping_sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::wrapping_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -2586,9 +2837,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::wrapping_mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::wrapping_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -2597,9 +2848,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::wrapping_div( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::wrapping_div( + _self.into(), + rhs.into(), ) .into(); output @@ -2608,9 +2859,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::saturating_add( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::saturating_add( + _self.into(), + rhs.into(), ) .into(); output @@ -2619,9 +2870,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::saturating_sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::saturating_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -2630,9 +2881,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::saturating_mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::saturating_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -2641,9 +2892,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::saturating_div( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::saturating_div( + _self.into(), + rhs.into(), ) .into(); output @@ -2652,9 +2903,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::wrapping_add_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::wrapping_add_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -2663,9 +2914,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::wrapping_sub_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::wrapping_sub_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -2674,9 +2925,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::saturating_add_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::saturating_add_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -2685,9 +2936,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec2::saturating_sub_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::IVec2::saturating_sub_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -2696,7 +2947,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::IVec2::neg(_self) + let output: Val = ::bevy::math::IVec2::neg( + _self.into(), + ) .into(); output }, @@ -2704,18 +2957,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::IVec2::clone(_self) + let output: Val = ::bevy::math::IVec2::clone( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::IVec3>::new(world) .overwrite_script_function( "rem", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -2724,9 +2979,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::div( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -2735,8 +2990,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::IVec3::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::IVec3::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -2745,9 +3000,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -2756,7 +3011,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: i32, y: i32, z: i32| { - let output: Val = bevy::math::IVec3::new(x, y, z) + let output: Val = ::bevy::math::IVec3::new( + x.into(), + y.into(), + z.into(), + ) .into(); output }, @@ -2764,7 +3023,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: i32| { - let output: Val = bevy::math::IVec3::splat(v) + let output: Val = ::bevy::math::IVec3::splat( + v.into(), + ) .into(); output }, @@ -2776,10 +3037,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::IVec3::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::IVec3::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -2788,7 +3049,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [i32; 3]| { - let output: Val = bevy::math::IVec3::from_array(a) + let output: Val = ::bevy::math::IVec3::from_array( + a.into(), + ) .into(); output }, @@ -2796,16 +3059,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [i32; 3] = bevy::math::IVec3::to_array(_self).into(); + let output: [i32; 3] = ::bevy::math::IVec3::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "extend", |_self: Val, w: i32| { - let output: Val = bevy::math::IVec3::extend( - _self, - w, + let output: Val = ::bevy::math::IVec3::extend( + _self.into(), + w.into(), ) .into(); output @@ -2814,8 +3078,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "truncate", |_self: Val| { - let output: Val = bevy::math::IVec3::truncate( - _self, + let output: Val = ::bevy::math::IVec3::truncate( + _self.into(), ) .into(); output @@ -2824,9 +3088,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: i32| { - let output: Val = bevy::math::IVec3::with_x( - _self, - x, + let output: Val = ::bevy::math::IVec3::with_x( + _self.into(), + x.into(), ) .into(); output @@ -2835,9 +3099,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: i32| { - let output: Val = bevy::math::IVec3::with_y( - _self, - y, + let output: Val = ::bevy::math::IVec3::with_y( + _self.into(), + y.into(), ) .into(); output @@ -2846,9 +3110,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_z", |_self: Val, z: i32| { - let output: Val = bevy::math::IVec3::with_z( - _self, - z, + let output: Val = ::bevy::math::IVec3::with_z( + _self.into(), + z.into(), ) .into(); output @@ -2857,16 +3121,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: i32 = bevy::math::IVec3::dot(_self, rhs).into(); + let output: i32 = ::bevy::math::IVec3::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -2875,9 +3140,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cross", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::cross( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::cross( + _self.into(), + rhs.into(), ) .into(); output @@ -2886,9 +3151,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::min( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::min( + _self.into(), + rhs.into(), ) .into(); output @@ -2897,9 +3162,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::max( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::max( + _self.into(), + rhs.into(), ) .into(); output @@ -2912,10 +3177,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::IVec3::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::IVec3::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -2924,37 +3189,41 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: i32 = bevy::math::IVec3::min_element(_self).into(); + let output: i32 = ::bevy::math::IVec3::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: i32 = bevy::math::IVec3::max_element(_self).into(); + let output: i32 = ::bevy::math::IVec3::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: i32 = bevy::math::IVec3::element_sum(_self).into(); + let output: i32 = ::bevy::math::IVec3::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: i32 = bevy::math::IVec3::element_product(_self).into(); + let output: i32 = ::bevy::math::IVec3::element_product(_self.into()) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -2963,9 +3232,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -2974,9 +3243,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -2985,9 +3254,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -2996,9 +3265,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::cmple( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -3007,9 +3276,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -3018,7 +3287,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Val| { - let output: Val = bevy::math::IVec3::abs(_self) + let output: Val = ::bevy::math::IVec3::abs( + _self.into(), + ) .into(); output }, @@ -3026,7 +3297,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "signum", |_self: Val| { - let output: Val = bevy::math::IVec3::signum(_self) + let output: Val = ::bevy::math::IVec3::signum( + _self.into(), + ) .into(); output }, @@ -3034,7 +3307,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_negative_bitmask", |_self: Val| { - let output: u32 = bevy::math::IVec3::is_negative_bitmask(_self) + let output: u32 = ::bevy::math::IVec3::is_negative_bitmask( + _self.into(), + ) .into(); output }, @@ -3042,14 +3317,18 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length_squared", |_self: Val| { - let output: i32 = bevy::math::IVec3::length_squared(_self).into(); + let output: i32 = ::bevy::math::IVec3::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "distance_squared", |_self: Val, rhs: Val| { - let output: i32 = bevy::math::IVec3::distance_squared(_self, rhs) + let output: i32 = ::bevy::math::IVec3::distance_squared( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -3057,9 +3336,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::div_euclid( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::div_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -3068,9 +3347,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::rem_euclid( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::rem_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -3079,7 +3358,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec3", |_self: Ref| { - let output: Val = bevy::math::IVec3::as_vec3(_self) + let output: Val = ::bevy::math::IVec3::as_vec3( + _self.into(), + ) .into(); output }, @@ -3087,8 +3368,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec3a", |_self: Ref| { - let output: Val = bevy::math::IVec3::as_vec3a( - _self, + let output: Val = ::bevy::math::IVec3::as_vec3a( + _self.into(), ) .into(); output @@ -3097,8 +3378,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec3", |_self: Ref| { - let output: Val = bevy::math::IVec3::as_dvec3( - _self, + let output: Val = ::bevy::math::IVec3::as_dvec3( + _self.into(), ) .into(); output @@ -3107,8 +3388,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec3", |_self: Ref| { - let output: Val = bevy::math::IVec3::as_uvec3( - _self, + let output: Val = ::bevy::math::IVec3::as_uvec3( + _self.into(), ) .into(); output @@ -3117,8 +3398,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec3", |_self: Ref| { - let output: Val = bevy::math::IVec3::as_i64vec3( - _self, + let output: Val = ::bevy::math::IVec3::as_i64vec3( + _self.into(), ) .into(); output @@ -3127,8 +3408,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec3", |_self: Ref| { - let output: Val = bevy::math::IVec3::as_u64vec3( - _self, + let output: Val = ::bevy::math::IVec3::as_u64vec3( + _self.into(), ) .into(); output @@ -3137,9 +3418,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::wrapping_add( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::wrapping_add( + _self.into(), + rhs.into(), ) .into(); output @@ -3148,9 +3429,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::wrapping_sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::wrapping_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -3159,9 +3440,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::wrapping_mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::wrapping_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -3170,9 +3451,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::wrapping_div( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::wrapping_div( + _self.into(), + rhs.into(), ) .into(); output @@ -3181,9 +3462,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::saturating_add( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::saturating_add( + _self.into(), + rhs.into(), ) .into(); output @@ -3192,9 +3473,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::saturating_sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::saturating_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -3203,9 +3484,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::saturating_mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::saturating_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -3214,9 +3495,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::saturating_div( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::saturating_div( + _self.into(), + rhs.into(), ) .into(); output @@ -3225,9 +3506,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::wrapping_add_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::wrapping_add_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -3236,9 +3517,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::wrapping_sub_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::wrapping_sub_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -3247,9 +3528,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::saturating_add_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::saturating_add_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -3258,9 +3539,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::saturating_sub_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::saturating_sub_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -3269,9 +3550,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec3::div( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -3280,9 +3561,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -3291,9 +3572,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec3::add( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -3302,9 +3583,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec3::div( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -3313,9 +3594,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -3324,9 +3605,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec3::add( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -3335,7 +3616,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::IVec3::neg(_self) + let output: Val = ::bevy::math::IVec3::neg( + _self.into(), + ) .into(); output }, @@ -3343,7 +3626,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::IVec3::clone(_self) + let output: Val = ::bevy::math::IVec3::clone( + _self.into(), + ) .into(); output }, @@ -3351,16 +3636,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::IVec3::eq(_self, other).into(); + let output: bool = ::bevy::math::IVec3::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -3369,9 +3658,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -3380,9 +3669,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::add( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -3391,9 +3680,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -3402,9 +3691,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -3413,21 +3702,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::IVec3::rem( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::IVec4>::new(world) .overwrite_script_function( "add", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec4::add( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -3436,9 +3725,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::add( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -3447,9 +3736,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -3458,9 +3747,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -3469,11 +3758,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: i32, y: i32, z: i32, w: i32| { - let output: Val = bevy::math::IVec4::new( - x, - y, - z, - w, + let output: Val = ::bevy::math::IVec4::new( + x.into(), + y.into(), + z.into(), + w.into(), ) .into(); output @@ -3482,7 +3771,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: i32| { - let output: Val = bevy::math::IVec4::splat(v) + let output: Val = ::bevy::math::IVec4::splat( + v.into(), + ) .into(); output }, @@ -3494,10 +3785,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::IVec4::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::IVec4::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -3506,7 +3797,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [i32; 4]| { - let output: Val = bevy::math::IVec4::from_array(a) + let output: Val = ::bevy::math::IVec4::from_array( + a.into(), + ) .into(); output }, @@ -3514,15 +3807,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [i32; 4] = bevy::math::IVec4::to_array(_self).into(); + let output: [i32; 4] = ::bevy::math::IVec4::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "truncate", |_self: Val| { - let output: Val = bevy::math::IVec4::truncate( - _self, + let output: Val = ::bevy::math::IVec4::truncate( + _self.into(), ) .into(); output @@ -3531,9 +3825,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: i32| { - let output: Val = bevy::math::IVec4::with_x( - _self, - x, + let output: Val = ::bevy::math::IVec4::with_x( + _self.into(), + x.into(), ) .into(); output @@ -3542,9 +3836,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: i32| { - let output: Val = bevy::math::IVec4::with_y( - _self, - y, + let output: Val = ::bevy::math::IVec4::with_y( + _self.into(), + y.into(), ) .into(); output @@ -3553,9 +3847,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_z", |_self: Val, z: i32| { - let output: Val = bevy::math::IVec4::with_z( - _self, - z, + let output: Val = ::bevy::math::IVec4::with_z( + _self.into(), + z.into(), ) .into(); output @@ -3564,9 +3858,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_w", |_self: Val, w: i32| { - let output: Val = bevy::math::IVec4::with_w( - _self, - w, + let output: Val = ::bevy::math::IVec4::with_w( + _self.into(), + w.into(), ) .into(); output @@ -3575,16 +3869,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: i32 = bevy::math::IVec4::dot(_self, rhs).into(); + let output: i32 = ::bevy::math::IVec4::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -3593,9 +3888,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::min( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::min( + _self.into(), + rhs.into(), ) .into(); output @@ -3604,9 +3899,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::max( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::max( + _self.into(), + rhs.into(), ) .into(); output @@ -3619,10 +3914,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::IVec4::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::IVec4::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -3631,37 +3926,41 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: i32 = bevy::math::IVec4::min_element(_self).into(); + let output: i32 = ::bevy::math::IVec4::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: i32 = bevy::math::IVec4::max_element(_self).into(); + let output: i32 = ::bevy::math::IVec4::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: i32 = bevy::math::IVec4::element_sum(_self).into(); + let output: i32 = ::bevy::math::IVec4::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: i32 = bevy::math::IVec4::element_product(_self).into(); + let output: i32 = ::bevy::math::IVec4::element_product(_self.into()) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -3670,9 +3969,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -3681,9 +3980,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -3692,9 +3991,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -3703,9 +4002,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::cmple( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -3714,9 +4013,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -3725,7 +4024,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Val| { - let output: Val = bevy::math::IVec4::abs(_self) + let output: Val = ::bevy::math::IVec4::abs( + _self.into(), + ) .into(); output }, @@ -3733,7 +4034,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "signum", |_self: Val| { - let output: Val = bevy::math::IVec4::signum(_self) + let output: Val = ::bevy::math::IVec4::signum( + _self.into(), + ) .into(); output }, @@ -3741,7 +4044,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_negative_bitmask", |_self: Val| { - let output: u32 = bevy::math::IVec4::is_negative_bitmask(_self) + let output: u32 = ::bevy::math::IVec4::is_negative_bitmask( + _self.into(), + ) .into(); output }, @@ -3749,14 +4054,18 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length_squared", |_self: Val| { - let output: i32 = bevy::math::IVec4::length_squared(_self).into(); + let output: i32 = ::bevy::math::IVec4::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "distance_squared", |_self: Val, rhs: Val| { - let output: i32 = bevy::math::IVec4::distance_squared(_self, rhs) + let output: i32 = ::bevy::math::IVec4::distance_squared( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -3764,9 +4073,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::div_euclid( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::div_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -3775,9 +4084,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::rem_euclid( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::rem_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -3786,7 +4095,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec4", |_self: Ref| { - let output: Val = bevy::math::IVec4::as_vec4(_self) + let output: Val = ::bevy::math::IVec4::as_vec4( + _self.into(), + ) .into(); output }, @@ -3794,8 +4105,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec4", |_self: Ref| { - let output: Val = bevy::math::IVec4::as_dvec4( - _self, + let output: Val = ::bevy::math::IVec4::as_dvec4( + _self.into(), ) .into(); output @@ -3804,8 +4115,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec4", |_self: Ref| { - let output: Val = bevy::math::IVec4::as_uvec4( - _self, + let output: Val = ::bevy::math::IVec4::as_uvec4( + _self.into(), ) .into(); output @@ -3814,8 +4125,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec4", |_self: Ref| { - let output: Val = bevy::math::IVec4::as_i64vec4( - _self, + let output: Val = ::bevy::math::IVec4::as_i64vec4( + _self.into(), ) .into(); output @@ -3824,8 +4135,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec4", |_self: Ref| { - let output: Val = bevy::math::IVec4::as_u64vec4( - _self, + let output: Val = ::bevy::math::IVec4::as_u64vec4( + _self.into(), ) .into(); output @@ -3834,9 +4145,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::wrapping_add( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::wrapping_add( + _self.into(), + rhs.into(), ) .into(); output @@ -3845,9 +4156,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::wrapping_sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::wrapping_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -3856,9 +4167,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::wrapping_mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::wrapping_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -3867,9 +4178,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::wrapping_div( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::wrapping_div( + _self.into(), + rhs.into(), ) .into(); output @@ -3878,9 +4189,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::saturating_add( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::saturating_add( + _self.into(), + rhs.into(), ) .into(); output @@ -3889,9 +4200,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::saturating_sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::saturating_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -3900,9 +4211,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::saturating_mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::saturating_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -3911,9 +4222,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::saturating_div( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::saturating_div( + _self.into(), + rhs.into(), ) .into(); output @@ -3922,9 +4233,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::wrapping_add_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::wrapping_add_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -3933,9 +4244,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::wrapping_sub_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::wrapping_sub_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -3944,9 +4255,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::saturating_add_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::saturating_add_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -3955,9 +4266,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::saturating_sub_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::saturating_sub_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -3966,9 +4277,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec4::add( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -3977,9 +4288,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec4::div( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -3988,16 +4299,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::IVec4::eq(_self, other).into(); + let output: bool = ::bevy::math::IVec4::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec4::div( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -4006,9 +4321,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -4017,9 +4332,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::IVec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -4028,9 +4343,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -4039,7 +4354,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::IVec4::clone(_self) + let output: Val = ::bevy::math::IVec4::clone( + _self.into(), + ) .into(); output }, @@ -4047,9 +4364,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -4058,9 +4375,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -4069,9 +4386,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -4080,7 +4397,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::IVec4::neg(_self) + let output: Val = ::bevy::math::IVec4::neg( + _self.into(), + ) .into(); output }, @@ -4088,9 +4407,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::IVec4::div( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -4099,8 +4418,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::IVec4::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::IVec4::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -4109,20 +4428,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: i32| { - let output: Val = bevy::math::IVec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::IVec4::rem( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::I64Vec2>::new(world) .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::I64Vec2::neg( - _self, + let output: Val = ::bevy::math::I64Vec2::neg( + _self.into(), ) .into(); output @@ -4131,9 +4450,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -4142,9 +4461,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::div( + _self.into(), + rhs.into(), ) .into(); output @@ -4153,9 +4472,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -4164,9 +4483,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -4175,9 +4494,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -4186,16 +4505,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::I64Vec2::eq(_self, other).into(); + let output: bool = ::bevy::math::I64Vec2::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -4204,8 +4527,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::I64Vec2::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::I64Vec2::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -4214,9 +4537,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec2::add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -4225,9 +4548,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec2::add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -4236,8 +4559,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::I64Vec2::clone( - _self, + let output: Val = ::bevy::math::I64Vec2::clone( + _self.into(), ) .into(); output @@ -4246,9 +4569,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -4257,9 +4580,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -4268,7 +4591,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: i64, y: i64| { - let output: Val = bevy::math::I64Vec2::new(x, y) + let output: Val = ::bevy::math::I64Vec2::new( + x.into(), + y.into(), + ) .into(); output }, @@ -4276,7 +4602,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: i64| { - let output: Val = bevy::math::I64Vec2::splat(v) + let output: Val = ::bevy::math::I64Vec2::splat( + v.into(), + ) .into(); output }, @@ -4288,10 +4616,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::I64Vec2::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::I64Vec2::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -4300,8 +4628,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [i64; 2]| { - let output: Val = bevy::math::I64Vec2::from_array( - a, + let output: Val = ::bevy::math::I64Vec2::from_array( + a.into(), ) .into(); output @@ -4310,16 +4638,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [i64; 2] = bevy::math::I64Vec2::to_array(_self).into(); + let output: [i64; 2] = ::bevy::math::I64Vec2::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "extend", |_self: Val, z: i64| { - let output: Val = bevy::math::I64Vec2::extend( - _self, - z, + let output: Val = ::bevy::math::I64Vec2::extend( + _self.into(), + z.into(), ) .into(); output @@ -4328,9 +4657,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: i64| { - let output: Val = bevy::math::I64Vec2::with_x( - _self, - x, + let output: Val = ::bevy::math::I64Vec2::with_x( + _self.into(), + x.into(), ) .into(); output @@ -4339,9 +4668,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: i64| { - let output: Val = bevy::math::I64Vec2::with_y( - _self, - y, + let output: Val = ::bevy::math::I64Vec2::with_y( + _self.into(), + y.into(), ) .into(); output @@ -4350,16 +4679,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: i64 = bevy::math::I64Vec2::dot(_self, rhs).into(); + let output: i64 = ::bevy::math::I64Vec2::dot( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -4368,9 +4701,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::min( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::min( + _self.into(), + rhs.into(), ) .into(); output @@ -4379,9 +4712,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::max( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::max( + _self.into(), + rhs.into(), ) .into(); output @@ -4394,10 +4727,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::I64Vec2::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::I64Vec2::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -4406,37 +4739,43 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: i64 = bevy::math::I64Vec2::min_element(_self).into(); + let output: i64 = ::bevy::math::I64Vec2::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: i64 = bevy::math::I64Vec2::max_element(_self).into(); + let output: i64 = ::bevy::math::I64Vec2::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: i64 = bevy::math::I64Vec2::element_sum(_self).into(); + let output: i64 = ::bevy::math::I64Vec2::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: i64 = bevy::math::I64Vec2::element_product(_self).into(); + let output: i64 = ::bevy::math::I64Vec2::element_product( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -4445,9 +4784,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -4456,9 +4795,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -4467,9 +4806,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -4478,9 +4817,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::cmple( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -4489,9 +4828,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -4500,8 +4839,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Val| { - let output: Val = bevy::math::I64Vec2::abs( - _self, + let output: Val = ::bevy::math::I64Vec2::abs( + _self.into(), ) .into(); output @@ -4510,8 +4849,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "signum", |_self: Val| { - let output: Val = bevy::math::I64Vec2::signum( - _self, + let output: Val = ::bevy::math::I64Vec2::signum( + _self.into(), ) .into(); output @@ -4520,7 +4859,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_negative_bitmask", |_self: Val| { - let output: u32 = bevy::math::I64Vec2::is_negative_bitmask(_self) + let output: u32 = ::bevy::math::I64Vec2::is_negative_bitmask( + _self.into(), + ) .into(); output }, @@ -4528,14 +4869,18 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length_squared", |_self: Val| { - let output: i64 = bevy::math::I64Vec2::length_squared(_self).into(); + let output: i64 = ::bevy::math::I64Vec2::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "distance_squared", |_self: Val, rhs: Val| { - let output: i64 = bevy::math::I64Vec2::distance_squared(_self, rhs) + let output: i64 = ::bevy::math::I64Vec2::distance_squared( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -4543,9 +4888,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::div_euclid( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::div_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -4554,9 +4899,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::rem_euclid( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::rem_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -4565,8 +4910,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perp", |_self: Val| { - let output: Val = bevy::math::I64Vec2::perp( - _self, + let output: Val = ::bevy::math::I64Vec2::perp( + _self.into(), ) .into(); output @@ -4575,16 +4920,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perp_dot", |_self: Val, rhs: Val| { - let output: i64 = bevy::math::I64Vec2::perp_dot(_self, rhs).into(); + let output: i64 = ::bevy::math::I64Vec2::perp_dot( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "rotate", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::rotate( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::rotate( + _self.into(), + rhs.into(), ) .into(); output @@ -4593,8 +4942,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec2", |_self: Ref| { - let output: Val = bevy::math::I64Vec2::as_vec2( - _self, + let output: Val = ::bevy::math::I64Vec2::as_vec2( + _self.into(), ) .into(); output @@ -4603,8 +4952,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec2", |_self: Ref| { - let output: Val = bevy::math::I64Vec2::as_dvec2( - _self, + let output: Val = ::bevy::math::I64Vec2::as_dvec2( + _self.into(), ) .into(); output @@ -4613,8 +4962,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec2", |_self: Ref| { - let output: Val = bevy::math::I64Vec2::as_ivec2( - _self, + let output: Val = ::bevy::math::I64Vec2::as_ivec2( + _self.into(), ) .into(); output @@ -4623,8 +4972,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec2", |_self: Ref| { - let output: Val = bevy::math::I64Vec2::as_uvec2( - _self, + let output: Val = ::bevy::math::I64Vec2::as_uvec2( + _self.into(), ) .into(); output @@ -4633,8 +4982,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec2", |_self: Ref| { - let output: Val = bevy::math::I64Vec2::as_u64vec2( - _self, + let output: Val = ::bevy::math::I64Vec2::as_u64vec2( + _self.into(), ) .into(); output @@ -4643,9 +4992,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::wrapping_add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::wrapping_add( + _self.into(), + rhs.into(), ) .into(); output @@ -4654,9 +5003,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::wrapping_sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::wrapping_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -4665,9 +5014,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::wrapping_mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::wrapping_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -4676,9 +5025,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::wrapping_div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::wrapping_div( + _self.into(), + rhs.into(), ) .into(); output @@ -4687,9 +5036,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::saturating_add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::saturating_add( + _self.into(), + rhs.into(), ) .into(); output @@ -4698,9 +5047,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::saturating_sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::saturating_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -4709,9 +5058,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::saturating_mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::saturating_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -4720,9 +5069,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::saturating_div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::saturating_div( + _self.into(), + rhs.into(), ) .into(); output @@ -4731,9 +5080,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::wrapping_add_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::wrapping_add_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -4742,9 +5091,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::wrapping_sub_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::wrapping_sub_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -4753,9 +5102,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::saturating_add_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::saturating_add_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -4764,9 +5113,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::saturating_sub_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::saturating_sub_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -4775,9 +5124,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec2::div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::div( + _self.into(), + rhs.into(), ) .into(); output @@ -4786,9 +5135,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -4797,9 +5146,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -4808,9 +5157,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -4819,21 +5168,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec2::div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec2::div( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::I64Vec3>::new(world) .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec3::add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -4842,9 +5191,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec3::div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -4853,9 +5202,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -4864,9 +5213,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -4875,8 +5224,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::I64Vec3::neg( - _self, + let output: Val = ::bevy::math::I64Vec3::neg( + _self.into(), ) .into(); output @@ -4885,8 +5234,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::I64Vec3::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::I64Vec3::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -4895,9 +5244,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -4906,16 +5255,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::I64Vec3::eq(_self, other).into(); + let output: bool = ::bevy::math::I64Vec3::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -4924,9 +5277,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -4935,9 +5288,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -4946,9 +5299,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -4957,9 +5310,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -4968,9 +5321,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec3::add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -4979,9 +5332,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -4990,9 +5343,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec3::div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -5001,9 +5354,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -5012,10 +5365,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: i64, y: i64, z: i64| { - let output: Val = bevy::math::I64Vec3::new( - x, - y, - z, + let output: Val = ::bevy::math::I64Vec3::new( + x.into(), + y.into(), + z.into(), ) .into(); output @@ -5024,7 +5377,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: i64| { - let output: Val = bevy::math::I64Vec3::splat(v) + let output: Val = ::bevy::math::I64Vec3::splat( + v.into(), + ) .into(); output }, @@ -5036,10 +5391,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::I64Vec3::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::I64Vec3::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -5048,8 +5403,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [i64; 3]| { - let output: Val = bevy::math::I64Vec3::from_array( - a, + let output: Val = ::bevy::math::I64Vec3::from_array( + a.into(), ) .into(); output @@ -5058,16 +5413,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [i64; 3] = bevy::math::I64Vec3::to_array(_self).into(); + let output: [i64; 3] = ::bevy::math::I64Vec3::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "extend", |_self: Val, w: i64| { - let output: Val = bevy::math::I64Vec3::extend( - _self, - w, + let output: Val = ::bevy::math::I64Vec3::extend( + _self.into(), + w.into(), ) .into(); output @@ -5076,8 +5432,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "truncate", |_self: Val| { - let output: Val = bevy::math::I64Vec3::truncate( - _self, + let output: Val = ::bevy::math::I64Vec3::truncate( + _self.into(), ) .into(); output @@ -5086,9 +5442,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: i64| { - let output: Val = bevy::math::I64Vec3::with_x( - _self, - x, + let output: Val = ::bevy::math::I64Vec3::with_x( + _self.into(), + x.into(), ) .into(); output @@ -5097,9 +5453,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: i64| { - let output: Val = bevy::math::I64Vec3::with_y( - _self, - y, + let output: Val = ::bevy::math::I64Vec3::with_y( + _self.into(), + y.into(), ) .into(); output @@ -5108,9 +5464,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_z", |_self: Val, z: i64| { - let output: Val = bevy::math::I64Vec3::with_z( - _self, - z, + let output: Val = ::bevy::math::I64Vec3::with_z( + _self.into(), + z.into(), ) .into(); output @@ -5119,16 +5475,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: i64 = bevy::math::I64Vec3::dot(_self, rhs).into(); + let output: i64 = ::bevy::math::I64Vec3::dot( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -5137,9 +5497,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cross", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::cross( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::cross( + _self.into(), + rhs.into(), ) .into(); output @@ -5148,9 +5508,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::min( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::min( + _self.into(), + rhs.into(), ) .into(); output @@ -5159,9 +5519,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::max( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::max( + _self.into(), + rhs.into(), ) .into(); output @@ -5174,10 +5534,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::I64Vec3::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::I64Vec3::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -5186,37 +5546,43 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: i64 = bevy::math::I64Vec3::min_element(_self).into(); + let output: i64 = ::bevy::math::I64Vec3::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: i64 = bevy::math::I64Vec3::max_element(_self).into(); + let output: i64 = ::bevy::math::I64Vec3::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: i64 = bevy::math::I64Vec3::element_sum(_self).into(); + let output: i64 = ::bevy::math::I64Vec3::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: i64 = bevy::math::I64Vec3::element_product(_self).into(); + let output: i64 = ::bevy::math::I64Vec3::element_product( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -5225,9 +5591,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -5236,9 +5602,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -5247,9 +5613,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -5258,9 +5624,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::cmple( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -5269,9 +5635,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -5280,8 +5646,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Val| { - let output: Val = bevy::math::I64Vec3::abs( - _self, + let output: Val = ::bevy::math::I64Vec3::abs( + _self.into(), ) .into(); output @@ -5290,8 +5656,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "signum", |_self: Val| { - let output: Val = bevy::math::I64Vec3::signum( - _self, + let output: Val = ::bevy::math::I64Vec3::signum( + _self.into(), ) .into(); output @@ -5300,7 +5666,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_negative_bitmask", |_self: Val| { - let output: u32 = bevy::math::I64Vec3::is_negative_bitmask(_self) + let output: u32 = ::bevy::math::I64Vec3::is_negative_bitmask( + _self.into(), + ) .into(); output }, @@ -5308,14 +5676,18 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length_squared", |_self: Val| { - let output: i64 = bevy::math::I64Vec3::length_squared(_self).into(); + let output: i64 = ::bevy::math::I64Vec3::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "distance_squared", |_self: Val, rhs: Val| { - let output: i64 = bevy::math::I64Vec3::distance_squared(_self, rhs) + let output: i64 = ::bevy::math::I64Vec3::distance_squared( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -5323,9 +5695,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::div_euclid( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::div_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -5334,9 +5706,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::rem_euclid( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::rem_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -5345,8 +5717,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec3", |_self: Ref| { - let output: Val = bevy::math::I64Vec3::as_vec3( - _self, + let output: Val = ::bevy::math::I64Vec3::as_vec3( + _self.into(), ) .into(); output @@ -5355,8 +5727,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec3a", |_self: Ref| { - let output: Val = bevy::math::I64Vec3::as_vec3a( - _self, + let output: Val = ::bevy::math::I64Vec3::as_vec3a( + _self.into(), ) .into(); output @@ -5365,8 +5737,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec3", |_self: Ref| { - let output: Val = bevy::math::I64Vec3::as_dvec3( - _self, + let output: Val = ::bevy::math::I64Vec3::as_dvec3( + _self.into(), ) .into(); output @@ -5375,8 +5747,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec3", |_self: Ref| { - let output: Val = bevy::math::I64Vec3::as_ivec3( - _self, + let output: Val = ::bevy::math::I64Vec3::as_ivec3( + _self.into(), ) .into(); output @@ -5385,8 +5757,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec3", |_self: Ref| { - let output: Val = bevy::math::I64Vec3::as_uvec3( - _self, + let output: Val = ::bevy::math::I64Vec3::as_uvec3( + _self.into(), ) .into(); output @@ -5395,8 +5767,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec3", |_self: Ref| { - let output: Val = bevy::math::I64Vec3::as_u64vec3( - _self, + let output: Val = ::bevy::math::I64Vec3::as_u64vec3( + _self.into(), ) .into(); output @@ -5405,9 +5777,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::wrapping_add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::wrapping_add( + _self.into(), + rhs.into(), ) .into(); output @@ -5416,9 +5788,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::wrapping_sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::wrapping_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -5427,9 +5799,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::wrapping_mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::wrapping_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -5438,9 +5810,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::wrapping_div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::wrapping_div( + _self.into(), + rhs.into(), ) .into(); output @@ -5449,9 +5821,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::saturating_add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::saturating_add( + _self.into(), + rhs.into(), ) .into(); output @@ -5460,9 +5832,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::saturating_sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::saturating_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -5471,9 +5843,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::saturating_mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::saturating_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -5482,9 +5854,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::saturating_div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::saturating_div( + _self.into(), + rhs.into(), ) .into(); output @@ -5493,9 +5865,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::wrapping_add_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::wrapping_add_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -5504,9 +5876,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::wrapping_sub_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::wrapping_sub_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -5515,9 +5887,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::saturating_add_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::saturating_add_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -5526,9 +5898,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec3::saturating_sub_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::saturating_sub_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -5537,9 +5909,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -5548,20 +5920,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::I64Vec3::clone( - _self, + let output: Val = ::bevy::math::I64Vec3::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::I64Vec4>::new(world) .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -5570,8 +5942,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::I64Vec4::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::I64Vec4::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -5580,9 +5952,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec4::add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -5591,9 +5963,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -5602,9 +5974,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -5613,8 +5985,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::I64Vec4::clone( - _self, + let output: Val = ::bevy::math::I64Vec4::clone( + _self.into(), ) .into(); output @@ -5623,9 +5995,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec4::div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -5634,9 +6006,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -5645,9 +6017,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -5656,9 +6028,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec4::add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -5667,16 +6039,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::I64Vec4::eq(_self, other).into(); + let output: bool = ::bevy::math::I64Vec4::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::I64Vec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -5685,9 +6061,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -5696,9 +6072,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -5707,9 +6083,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -5718,9 +6094,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -5729,11 +6105,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: i64, y: i64, z: i64, w: i64| { - let output: Val = bevy::math::I64Vec4::new( - x, - y, - z, - w, + let output: Val = ::bevy::math::I64Vec4::new( + x.into(), + y.into(), + z.into(), + w.into(), ) .into(); output @@ -5742,7 +6118,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: i64| { - let output: Val = bevy::math::I64Vec4::splat(v) + let output: Val = ::bevy::math::I64Vec4::splat( + v.into(), + ) .into(); output }, @@ -5754,10 +6132,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::I64Vec4::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::I64Vec4::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -5766,8 +6144,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [i64; 4]| { - let output: Val = bevy::math::I64Vec4::from_array( - a, + let output: Val = ::bevy::math::I64Vec4::from_array( + a.into(), ) .into(); output @@ -5776,15 +6154,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [i64; 4] = bevy::math::I64Vec4::to_array(_self).into(); + let output: [i64; 4] = ::bevy::math::I64Vec4::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "truncate", |_self: Val| { - let output: Val = bevy::math::I64Vec4::truncate( - _self, + let output: Val = ::bevy::math::I64Vec4::truncate( + _self.into(), ) .into(); output @@ -5793,9 +6172,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: i64| { - let output: Val = bevy::math::I64Vec4::with_x( - _self, - x, + let output: Val = ::bevy::math::I64Vec4::with_x( + _self.into(), + x.into(), ) .into(); output @@ -5804,9 +6183,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: i64| { - let output: Val = bevy::math::I64Vec4::with_y( - _self, - y, + let output: Val = ::bevy::math::I64Vec4::with_y( + _self.into(), + y.into(), ) .into(); output @@ -5815,9 +6194,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_z", |_self: Val, z: i64| { - let output: Val = bevy::math::I64Vec4::with_z( - _self, - z, + let output: Val = ::bevy::math::I64Vec4::with_z( + _self.into(), + z.into(), ) .into(); output @@ -5826,9 +6205,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_w", |_self: Val, w: i64| { - let output: Val = bevy::math::I64Vec4::with_w( - _self, - w, + let output: Val = ::bevy::math::I64Vec4::with_w( + _self.into(), + w.into(), ) .into(); output @@ -5837,16 +6216,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: i64 = bevy::math::I64Vec4::dot(_self, rhs).into(); + let output: i64 = ::bevy::math::I64Vec4::dot( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -5855,9 +6238,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::min( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::min( + _self.into(), + rhs.into(), ) .into(); output @@ -5866,9 +6249,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::max( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::max( + _self.into(), + rhs.into(), ) .into(); output @@ -5881,10 +6264,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::I64Vec4::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::I64Vec4::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -5893,37 +6276,43 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: i64 = bevy::math::I64Vec4::min_element(_self).into(); + let output: i64 = ::bevy::math::I64Vec4::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: i64 = bevy::math::I64Vec4::max_element(_self).into(); + let output: i64 = ::bevy::math::I64Vec4::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: i64 = bevy::math::I64Vec4::element_sum(_self).into(); + let output: i64 = ::bevy::math::I64Vec4::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: i64 = bevy::math::I64Vec4::element_product(_self).into(); + let output: i64 = ::bevy::math::I64Vec4::element_product( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -5932,9 +6321,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -5943,9 +6332,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -5954,9 +6343,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -5965,9 +6354,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::cmple( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -5976,9 +6365,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -5987,8 +6376,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Val| { - let output: Val = bevy::math::I64Vec4::abs( - _self, + let output: Val = ::bevy::math::I64Vec4::abs( + _self.into(), ) .into(); output @@ -5997,8 +6386,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "signum", |_self: Val| { - let output: Val = bevy::math::I64Vec4::signum( - _self, + let output: Val = ::bevy::math::I64Vec4::signum( + _self.into(), ) .into(); output @@ -6007,7 +6396,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_negative_bitmask", |_self: Val| { - let output: u32 = bevy::math::I64Vec4::is_negative_bitmask(_self) + let output: u32 = ::bevy::math::I64Vec4::is_negative_bitmask( + _self.into(), + ) .into(); output }, @@ -6015,14 +6406,18 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length_squared", |_self: Val| { - let output: i64 = bevy::math::I64Vec4::length_squared(_self).into(); + let output: i64 = ::bevy::math::I64Vec4::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "distance_squared", |_self: Val, rhs: Val| { - let output: i64 = bevy::math::I64Vec4::distance_squared(_self, rhs) + let output: i64 = ::bevy::math::I64Vec4::distance_squared( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -6030,9 +6425,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::div_euclid( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::div_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -6041,9 +6436,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::rem_euclid( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::rem_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -6052,8 +6447,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec4", |_self: Ref| { - let output: Val = bevy::math::I64Vec4::as_vec4( - _self, + let output: Val = ::bevy::math::I64Vec4::as_vec4( + _self.into(), ) .into(); output @@ -6062,8 +6457,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec4", |_self: Ref| { - let output: Val = bevy::math::I64Vec4::as_dvec4( - _self, + let output: Val = ::bevy::math::I64Vec4::as_dvec4( + _self.into(), ) .into(); output @@ -6072,8 +6467,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec4", |_self: Ref| { - let output: Val = bevy::math::I64Vec4::as_ivec4( - _self, + let output: Val = ::bevy::math::I64Vec4::as_ivec4( + _self.into(), ) .into(); output @@ -6082,8 +6477,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec4", |_self: Ref| { - let output: Val = bevy::math::I64Vec4::as_uvec4( - _self, + let output: Val = ::bevy::math::I64Vec4::as_uvec4( + _self.into(), ) .into(); output @@ -6092,8 +6487,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec4", |_self: Ref| { - let output: Val = bevy::math::I64Vec4::as_u64vec4( - _self, + let output: Val = ::bevy::math::I64Vec4::as_u64vec4( + _self.into(), ) .into(); output @@ -6102,9 +6497,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::wrapping_add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::wrapping_add( + _self.into(), + rhs.into(), ) .into(); output @@ -6113,9 +6508,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::wrapping_sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::wrapping_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -6124,9 +6519,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::wrapping_mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::wrapping_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -6135,9 +6530,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::wrapping_div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::wrapping_div( + _self.into(), + rhs.into(), ) .into(); output @@ -6146,9 +6541,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::saturating_add( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::saturating_add( + _self.into(), + rhs.into(), ) .into(); output @@ -6157,9 +6552,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::saturating_sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::saturating_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -6168,9 +6563,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::saturating_mul( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::saturating_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -6179,9 +6574,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::saturating_div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::saturating_div( + _self.into(), + rhs.into(), ) .into(); output @@ -6190,9 +6585,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::wrapping_add_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::wrapping_add_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -6201,9 +6596,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::wrapping_sub_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::wrapping_sub_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -6212,9 +6607,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::saturating_add_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::saturating_add_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -6223,9 +6618,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub_unsigned", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::saturating_sub_unsigned( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::saturating_sub_unsigned( + _self.into(), + rhs.into(), ) .into(); output @@ -6234,8 +6629,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::I64Vec4::neg( - _self, + let output: Val = ::bevy::math::I64Vec4::neg( + _self.into(), ) .into(); output @@ -6244,9 +6639,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::I64Vec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -6255,21 +6650,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: i64| { - let output: Val = bevy::math::I64Vec4::div( - _self, - rhs, + let output: Val = ::bevy::math::I64Vec4::div( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::UVec2>::new(world) .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::div( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::div( + _self.into(), + rhs.into(), ) .into(); output @@ -6278,9 +6673,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::add( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -6289,9 +6684,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec2::div( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::div( + _self.into(), + rhs.into(), ) .into(); output @@ -6300,9 +6695,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec2::add( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -6311,9 +6706,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec2::add( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -6322,9 +6717,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -6333,9 +6728,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -6344,9 +6739,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec2::div( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::div( + _self.into(), + rhs.into(), ) .into(); output @@ -6355,8 +6750,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::UVec2::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::UVec2::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -6365,14 +6760,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::UVec2::eq(_self, other).into(); + let output: bool = ::bevy::math::UVec2::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "new", |x: u32, y: u32| { - let output: Val = bevy::math::UVec2::new(x, y) + let output: Val = ::bevy::math::UVec2::new( + x.into(), + y.into(), + ) .into(); output }, @@ -6380,7 +6782,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: u32| { - let output: Val = bevy::math::UVec2::splat(v) + let output: Val = ::bevy::math::UVec2::splat( + v.into(), + ) .into(); output }, @@ -6392,10 +6796,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::UVec2::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::UVec2::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -6404,7 +6808,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [u32; 2]| { - let output: Val = bevy::math::UVec2::from_array(a) + let output: Val = ::bevy::math::UVec2::from_array( + a.into(), + ) .into(); output }, @@ -6412,16 +6818,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [u32; 2] = bevy::math::UVec2::to_array(_self).into(); + let output: [u32; 2] = ::bevy::math::UVec2::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "extend", |_self: Val, z: u32| { - let output: Val = bevy::math::UVec2::extend( - _self, - z, + let output: Val = ::bevy::math::UVec2::extend( + _self.into(), + z.into(), ) .into(); output @@ -6430,9 +6837,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: u32| { - let output: Val = bevy::math::UVec2::with_x( - _self, - x, + let output: Val = ::bevy::math::UVec2::with_x( + _self.into(), + x.into(), ) .into(); output @@ -6441,9 +6848,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: u32| { - let output: Val = bevy::math::UVec2::with_y( - _self, - y, + let output: Val = ::bevy::math::UVec2::with_y( + _self.into(), + y.into(), ) .into(); output @@ -6452,16 +6859,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: u32 = bevy::math::UVec2::dot(_self, rhs).into(); + let output: u32 = ::bevy::math::UVec2::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -6470,9 +6878,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::min( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::min( + _self.into(), + rhs.into(), ) .into(); output @@ -6481,9 +6889,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::max( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::max( + _self.into(), + rhs.into(), ) .into(); output @@ -6496,10 +6904,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::UVec2::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::UVec2::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -6508,37 +6916,41 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: u32 = bevy::math::UVec2::min_element(_self).into(); + let output: u32 = ::bevy::math::UVec2::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: u32 = bevy::math::UVec2::max_element(_self).into(); + let output: u32 = ::bevy::math::UVec2::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: u32 = bevy::math::UVec2::element_sum(_self).into(); + let output: u32 = ::bevy::math::UVec2::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: u32 = bevy::math::UVec2::element_product(_self).into(); + let output: u32 = ::bevy::math::UVec2::element_product(_self.into()) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -6547,9 +6959,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -6558,9 +6970,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -6569,9 +6981,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -6580,9 +6992,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::cmple( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -6591,9 +7003,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -6602,14 +7014,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length_squared", |_self: Val| { - let output: u32 = bevy::math::UVec2::length_squared(_self).into(); + let output: u32 = ::bevy::math::UVec2::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_vec2", |_self: Ref| { - let output: Val = bevy::math::UVec2::as_vec2(_self) + let output: Val = ::bevy::math::UVec2::as_vec2( + _self.into(), + ) .into(); output }, @@ -6617,8 +7032,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec2", |_self: Ref| { - let output: Val = bevy::math::UVec2::as_dvec2( - _self, + let output: Val = ::bevy::math::UVec2::as_dvec2( + _self.into(), ) .into(); output @@ -6627,8 +7042,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec2", |_self: Ref| { - let output: Val = bevy::math::UVec2::as_ivec2( - _self, + let output: Val = ::bevy::math::UVec2::as_ivec2( + _self.into(), ) .into(); output @@ -6637,8 +7052,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec2", |_self: Ref| { - let output: Val = bevy::math::UVec2::as_i64vec2( - _self, + let output: Val = ::bevy::math::UVec2::as_i64vec2( + _self.into(), ) .into(); output @@ -6647,8 +7062,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec2", |_self: Ref| { - let output: Val = bevy::math::UVec2::as_u64vec2( - _self, + let output: Val = ::bevy::math::UVec2::as_u64vec2( + _self.into(), ) .into(); output @@ -6657,9 +7072,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::wrapping_add( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::wrapping_add( + _self.into(), + rhs.into(), ) .into(); output @@ -6668,9 +7083,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::wrapping_sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::wrapping_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -6679,9 +7094,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::wrapping_mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::wrapping_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -6690,9 +7105,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::wrapping_div( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::wrapping_div( + _self.into(), + rhs.into(), ) .into(); output @@ -6701,9 +7116,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::saturating_add( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::saturating_add( + _self.into(), + rhs.into(), ) .into(); output @@ -6712,9 +7127,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::saturating_sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::saturating_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -6723,9 +7138,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::saturating_mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::saturating_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -6734,9 +7149,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::saturating_div( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::saturating_div( + _self.into(), + rhs.into(), ) .into(); output @@ -6745,9 +7160,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add_signed", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::wrapping_add_signed( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::wrapping_add_signed( + _self.into(), + rhs.into(), ) .into(); output @@ -6756,9 +7171,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add_signed", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::saturating_add_signed( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::saturating_add_signed( + _self.into(), + rhs.into(), ) .into(); output @@ -6767,9 +7182,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -6778,9 +7193,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -6789,9 +7204,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -6800,7 +7215,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::UVec2::clone(_self) + let output: Val = ::bevy::math::UVec2::clone( + _self.into(), + ) .into(); output }, @@ -6808,9 +7225,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -6819,9 +7236,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -6830,9 +7247,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -6841,21 +7258,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec2::sub( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::UVec3>::new(world) .overwrite_script_function( "div", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec3::div( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -6864,9 +7281,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -6875,9 +7292,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec3::add( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -6886,7 +7303,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: u32, y: u32, z: u32| { - let output: Val = bevy::math::UVec3::new(x, y, z) + let output: Val = ::bevy::math::UVec3::new( + x.into(), + y.into(), + z.into(), + ) .into(); output }, @@ -6894,7 +7315,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: u32| { - let output: Val = bevy::math::UVec3::splat(v) + let output: Val = ::bevy::math::UVec3::splat( + v.into(), + ) .into(); output }, @@ -6906,10 +7329,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::UVec3::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::UVec3::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -6918,7 +7341,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [u32; 3]| { - let output: Val = bevy::math::UVec3::from_array(a) + let output: Val = ::bevy::math::UVec3::from_array( + a.into(), + ) .into(); output }, @@ -6926,16 +7351,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [u32; 3] = bevy::math::UVec3::to_array(_self).into(); + let output: [u32; 3] = ::bevy::math::UVec3::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "extend", |_self: Val, w: u32| { - let output: Val = bevy::math::UVec3::extend( - _self, - w, + let output: Val = ::bevy::math::UVec3::extend( + _self.into(), + w.into(), ) .into(); output @@ -6944,8 +7370,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "truncate", |_self: Val| { - let output: Val = bevy::math::UVec3::truncate( - _self, + let output: Val = ::bevy::math::UVec3::truncate( + _self.into(), ) .into(); output @@ -6954,9 +7380,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: u32| { - let output: Val = bevy::math::UVec3::with_x( - _self, - x, + let output: Val = ::bevy::math::UVec3::with_x( + _self.into(), + x.into(), ) .into(); output @@ -6965,9 +7391,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: u32| { - let output: Val = bevy::math::UVec3::with_y( - _self, - y, + let output: Val = ::bevy::math::UVec3::with_y( + _self.into(), + y.into(), ) .into(); output @@ -6976,9 +7402,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_z", |_self: Val, z: u32| { - let output: Val = bevy::math::UVec3::with_z( - _self, - z, + let output: Val = ::bevy::math::UVec3::with_z( + _self.into(), + z.into(), ) .into(); output @@ -6987,16 +7413,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: u32 = bevy::math::UVec3::dot(_self, rhs).into(); + let output: u32 = ::bevy::math::UVec3::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -7005,9 +7432,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cross", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::cross( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::cross( + _self.into(), + rhs.into(), ) .into(); output @@ -7016,9 +7443,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::min( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::min( + _self.into(), + rhs.into(), ) .into(); output @@ -7027,9 +7454,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::max( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::max( + _self.into(), + rhs.into(), ) .into(); output @@ -7042,10 +7469,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::UVec3::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::UVec3::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -7054,37 +7481,41 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: u32 = bevy::math::UVec3::min_element(_self).into(); + let output: u32 = ::bevy::math::UVec3::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: u32 = bevy::math::UVec3::max_element(_self).into(); + let output: u32 = ::bevy::math::UVec3::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: u32 = bevy::math::UVec3::element_sum(_self).into(); + let output: u32 = ::bevy::math::UVec3::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: u32 = bevy::math::UVec3::element_product(_self).into(); + let output: u32 = ::bevy::math::UVec3::element_product(_self.into()) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -7093,9 +7524,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -7104,9 +7535,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -7115,9 +7546,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -7126,9 +7557,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::cmple( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -7137,9 +7568,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -7148,14 +7579,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length_squared", |_self: Val| { - let output: u32 = bevy::math::UVec3::length_squared(_self).into(); + let output: u32 = ::bevy::math::UVec3::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_vec3", |_self: Ref| { - let output: Val = bevy::math::UVec3::as_vec3(_self) + let output: Val = ::bevy::math::UVec3::as_vec3( + _self.into(), + ) .into(); output }, @@ -7163,8 +7597,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec3a", |_self: Ref| { - let output: Val = bevy::math::UVec3::as_vec3a( - _self, + let output: Val = ::bevy::math::UVec3::as_vec3a( + _self.into(), ) .into(); output @@ -7173,8 +7607,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec3", |_self: Ref| { - let output: Val = bevy::math::UVec3::as_dvec3( - _self, + let output: Val = ::bevy::math::UVec3::as_dvec3( + _self.into(), ) .into(); output @@ -7183,8 +7617,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec3", |_self: Ref| { - let output: Val = bevy::math::UVec3::as_ivec3( - _self, + let output: Val = ::bevy::math::UVec3::as_ivec3( + _self.into(), ) .into(); output @@ -7193,8 +7627,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec3", |_self: Ref| { - let output: Val = bevy::math::UVec3::as_i64vec3( - _self, + let output: Val = ::bevy::math::UVec3::as_i64vec3( + _self.into(), ) .into(); output @@ -7203,8 +7637,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec3", |_self: Ref| { - let output: Val = bevy::math::UVec3::as_u64vec3( - _self, + let output: Val = ::bevy::math::UVec3::as_u64vec3( + _self.into(), ) .into(); output @@ -7213,9 +7647,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::wrapping_add( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::wrapping_add( + _self.into(), + rhs.into(), ) .into(); output @@ -7224,9 +7658,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::wrapping_sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::wrapping_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -7235,9 +7669,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::wrapping_mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::wrapping_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -7246,9 +7680,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::wrapping_div( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::wrapping_div( + _self.into(), + rhs.into(), ) .into(); output @@ -7257,9 +7691,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::saturating_add( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::saturating_add( + _self.into(), + rhs.into(), ) .into(); output @@ -7268,9 +7702,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::saturating_sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::saturating_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -7279,9 +7713,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::saturating_mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::saturating_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -7290,9 +7724,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::saturating_div( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::saturating_div( + _self.into(), + rhs.into(), ) .into(); output @@ -7301,9 +7735,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add_signed", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::wrapping_add_signed( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::wrapping_add_signed( + _self.into(), + rhs.into(), ) .into(); output @@ -7312,9 +7746,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add_signed", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::saturating_add_signed( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::saturating_add_signed( + _self.into(), + rhs.into(), ) .into(); output @@ -7323,9 +7757,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::add( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -7334,9 +7768,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -7345,9 +7779,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -7356,9 +7790,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -7367,9 +7801,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -7378,9 +7812,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -7389,9 +7823,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -7400,9 +7834,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::div( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -7411,8 +7845,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::UVec3::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::UVec3::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -7421,9 +7855,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec3::add( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -7432,9 +7866,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -7443,7 +7877,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::UVec3::clone(_self) + let output: Val = ::bevy::math::UVec3::clone( + _self.into(), + ) .into(); output }, @@ -7451,9 +7887,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -7462,27 +7898,31 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::UVec3::eq(_self, other).into(); + let output: bool = ::bevy::math::UVec3::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec3::div( - _self, - rhs, + let output: Val = ::bevy::math::UVec3::div( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::UVec4>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::UVec4::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::UVec4::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -7491,9 +7931,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -7502,9 +7942,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::add( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -7513,11 +7953,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: u32, y: u32, z: u32, w: u32| { - let output: Val = bevy::math::UVec4::new( - x, - y, - z, - w, + let output: Val = ::bevy::math::UVec4::new( + x.into(), + y.into(), + z.into(), + w.into(), ) .into(); output @@ -7526,7 +7966,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: u32| { - let output: Val = bevy::math::UVec4::splat(v) + let output: Val = ::bevy::math::UVec4::splat( + v.into(), + ) .into(); output }, @@ -7538,10 +7980,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::UVec4::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::UVec4::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -7550,7 +7992,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [u32; 4]| { - let output: Val = bevy::math::UVec4::from_array(a) + let output: Val = ::bevy::math::UVec4::from_array( + a.into(), + ) .into(); output }, @@ -7558,15 +8002,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [u32; 4] = bevy::math::UVec4::to_array(_self).into(); + let output: [u32; 4] = ::bevy::math::UVec4::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "truncate", |_self: Val| { - let output: Val = bevy::math::UVec4::truncate( - _self, + let output: Val = ::bevy::math::UVec4::truncate( + _self.into(), ) .into(); output @@ -7575,9 +8020,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: u32| { - let output: Val = bevy::math::UVec4::with_x( - _self, - x, + let output: Val = ::bevy::math::UVec4::with_x( + _self.into(), + x.into(), ) .into(); output @@ -7586,9 +8031,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: u32| { - let output: Val = bevy::math::UVec4::with_y( - _self, - y, + let output: Val = ::bevy::math::UVec4::with_y( + _self.into(), + y.into(), ) .into(); output @@ -7597,9 +8042,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_z", |_self: Val, z: u32| { - let output: Val = bevy::math::UVec4::with_z( - _self, - z, + let output: Val = ::bevy::math::UVec4::with_z( + _self.into(), + z.into(), ) .into(); output @@ -7608,9 +8053,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_w", |_self: Val, w: u32| { - let output: Val = bevy::math::UVec4::with_w( - _self, - w, + let output: Val = ::bevy::math::UVec4::with_w( + _self.into(), + w.into(), ) .into(); output @@ -7619,16 +8064,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: u32 = bevy::math::UVec4::dot(_self, rhs).into(); + let output: u32 = ::bevy::math::UVec4::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -7637,9 +8083,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::min( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::min( + _self.into(), + rhs.into(), ) .into(); output @@ -7648,9 +8094,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::max( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::max( + _self.into(), + rhs.into(), ) .into(); output @@ -7663,10 +8109,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::UVec4::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::UVec4::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -7675,37 +8121,41 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: u32 = bevy::math::UVec4::min_element(_self).into(); + let output: u32 = ::bevy::math::UVec4::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: u32 = bevy::math::UVec4::max_element(_self).into(); + let output: u32 = ::bevy::math::UVec4::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: u32 = bevy::math::UVec4::element_sum(_self).into(); + let output: u32 = ::bevy::math::UVec4::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: u32 = bevy::math::UVec4::element_product(_self).into(); + let output: u32 = ::bevy::math::UVec4::element_product(_self.into()) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -7714,9 +8164,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -7725,9 +8175,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -7736,9 +8186,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -7747,9 +8197,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::cmple( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -7758,9 +8208,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -7769,14 +8219,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length_squared", |_self: Val| { - let output: u32 = bevy::math::UVec4::length_squared(_self).into(); + let output: u32 = ::bevy::math::UVec4::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_vec4", |_self: Ref| { - let output: Val = bevy::math::UVec4::as_vec4(_self) + let output: Val = ::bevy::math::UVec4::as_vec4( + _self.into(), + ) .into(); output }, @@ -7784,8 +8237,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec4", |_self: Ref| { - let output: Val = bevy::math::UVec4::as_dvec4( - _self, + let output: Val = ::bevy::math::UVec4::as_dvec4( + _self.into(), ) .into(); output @@ -7794,8 +8247,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec4", |_self: Ref| { - let output: Val = bevy::math::UVec4::as_ivec4( - _self, + let output: Val = ::bevy::math::UVec4::as_ivec4( + _self.into(), ) .into(); output @@ -7804,8 +8257,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec4", |_self: Ref| { - let output: Val = bevy::math::UVec4::as_i64vec4( - _self, + let output: Val = ::bevy::math::UVec4::as_i64vec4( + _self.into(), ) .into(); output @@ -7814,8 +8267,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec4", |_self: Ref| { - let output: Val = bevy::math::UVec4::as_u64vec4( - _self, + let output: Val = ::bevy::math::UVec4::as_u64vec4( + _self.into(), ) .into(); output @@ -7824,9 +8277,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::wrapping_add( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::wrapping_add( + _self.into(), + rhs.into(), ) .into(); output @@ -7835,9 +8288,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::wrapping_sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::wrapping_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -7846,9 +8299,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::wrapping_mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::wrapping_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -7857,9 +8310,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::wrapping_div( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::wrapping_div( + _self.into(), + rhs.into(), ) .into(); output @@ -7868,9 +8321,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::saturating_add( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::saturating_add( + _self.into(), + rhs.into(), ) .into(); output @@ -7879,9 +8332,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::saturating_sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::saturating_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -7890,9 +8343,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::saturating_mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::saturating_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -7901,9 +8354,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::saturating_div( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::saturating_div( + _self.into(), + rhs.into(), ) .into(); output @@ -7912,9 +8365,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add_signed", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::wrapping_add_signed( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::wrapping_add_signed( + _self.into(), + rhs.into(), ) .into(); output @@ -7923,9 +8376,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add_signed", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::saturating_add_signed( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::saturating_add_signed( + _self.into(), + rhs.into(), ) .into(); output @@ -7934,7 +8387,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::UVec4::clone(_self) + let output: Val = ::bevy::math::UVec4::clone( + _self.into(), + ) .into(); output }, @@ -7942,9 +8397,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -7953,9 +8408,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::div( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -7964,9 +8419,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -7975,9 +8430,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -7986,9 +8441,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec4::add( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -7997,9 +8452,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -8008,9 +8463,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -8019,9 +8474,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::UVec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -8030,9 +8485,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -8041,9 +8496,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::UVec4::div( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -8052,9 +8507,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -8063,9 +8518,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec4::div( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -8074,27 +8529,31 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::UVec4::eq(_self, other).into(); + let output: bool = ::bevy::math::UVec4::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "add", |_self: Val, rhs: u32| { - let output: Val = bevy::math::UVec4::add( - _self, - rhs, + let output: Val = ::bevy::math::UVec4::add( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::U64Vec2>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::U64Vec2::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::U64Vec2::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -8103,9 +8562,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -8114,9 +8573,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec2::add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -8125,9 +8584,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -8136,9 +8595,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -8147,9 +8606,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec2::div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::div( + _self.into(), + rhs.into(), ) .into(); output @@ -8158,9 +8617,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec2::div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::div( + _self.into(), + rhs.into(), ) .into(); output @@ -8169,9 +8628,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::div( + _self.into(), + rhs.into(), ) .into(); output @@ -8180,9 +8639,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -8191,9 +8650,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -8202,9 +8661,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -8213,14 +8672,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::U64Vec2::eq(_self, other).into(); + let output: bool = ::bevy::math::U64Vec2::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "new", |x: u64, y: u64| { - let output: Val = bevy::math::U64Vec2::new(x, y) + let output: Val = ::bevy::math::U64Vec2::new( + x.into(), + y.into(), + ) .into(); output }, @@ -8228,7 +8694,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: u64| { - let output: Val = bevy::math::U64Vec2::splat(v) + let output: Val = ::bevy::math::U64Vec2::splat( + v.into(), + ) .into(); output }, @@ -8240,10 +8708,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::U64Vec2::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::U64Vec2::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -8252,8 +8720,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [u64; 2]| { - let output: Val = bevy::math::U64Vec2::from_array( - a, + let output: Val = ::bevy::math::U64Vec2::from_array( + a.into(), ) .into(); output @@ -8262,16 +8730,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [u64; 2] = bevy::math::U64Vec2::to_array(_self).into(); + let output: [u64; 2] = ::bevy::math::U64Vec2::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "extend", |_self: Val, z: u64| { - let output: Val = bevy::math::U64Vec2::extend( - _self, - z, + let output: Val = ::bevy::math::U64Vec2::extend( + _self.into(), + z.into(), ) .into(); output @@ -8280,9 +8749,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: u64| { - let output: Val = bevy::math::U64Vec2::with_x( - _self, - x, + let output: Val = ::bevy::math::U64Vec2::with_x( + _self.into(), + x.into(), ) .into(); output @@ -8291,9 +8760,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: u64| { - let output: Val = bevy::math::U64Vec2::with_y( - _self, - y, + let output: Val = ::bevy::math::U64Vec2::with_y( + _self.into(), + y.into(), ) .into(); output @@ -8302,16 +8771,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: u64 = bevy::math::U64Vec2::dot(_self, rhs).into(); + let output: u64 = ::bevy::math::U64Vec2::dot( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -8320,9 +8793,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::min( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::min( + _self.into(), + rhs.into(), ) .into(); output @@ -8331,9 +8804,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::max( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::max( + _self.into(), + rhs.into(), ) .into(); output @@ -8346,10 +8819,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::U64Vec2::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::U64Vec2::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -8358,37 +8831,43 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: u64 = bevy::math::U64Vec2::min_element(_self).into(); + let output: u64 = ::bevy::math::U64Vec2::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: u64 = bevy::math::U64Vec2::max_element(_self).into(); + let output: u64 = ::bevy::math::U64Vec2::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: u64 = bevy::math::U64Vec2::element_sum(_self).into(); + let output: u64 = ::bevy::math::U64Vec2::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: u64 = bevy::math::U64Vec2::element_product(_self).into(); + let output: u64 = ::bevy::math::U64Vec2::element_product( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -8397,9 +8876,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -8408,9 +8887,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -8419,9 +8898,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -8430,9 +8909,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::cmple( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -8441,9 +8920,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -8452,15 +8931,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length_squared", |_self: Val| { - let output: u64 = bevy::math::U64Vec2::length_squared(_self).into(); + let output: u64 = ::bevy::math::U64Vec2::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_vec2", |_self: Ref| { - let output: Val = bevy::math::U64Vec2::as_vec2( - _self, + let output: Val = ::bevy::math::U64Vec2::as_vec2( + _self.into(), ) .into(); output @@ -8469,8 +8949,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec2", |_self: Ref| { - let output: Val = bevy::math::U64Vec2::as_dvec2( - _self, + let output: Val = ::bevy::math::U64Vec2::as_dvec2( + _self.into(), ) .into(); output @@ -8479,8 +8959,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec2", |_self: Ref| { - let output: Val = bevy::math::U64Vec2::as_ivec2( - _self, + let output: Val = ::bevy::math::U64Vec2::as_ivec2( + _self.into(), ) .into(); output @@ -8489,8 +8969,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec2", |_self: Ref| { - let output: Val = bevy::math::U64Vec2::as_uvec2( - _self, + let output: Val = ::bevy::math::U64Vec2::as_uvec2( + _self.into(), ) .into(); output @@ -8499,8 +8979,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec2", |_self: Ref| { - let output: Val = bevy::math::U64Vec2::as_i64vec2( - _self, + let output: Val = ::bevy::math::U64Vec2::as_i64vec2( + _self.into(), ) .into(); output @@ -8509,9 +8989,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::wrapping_add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::wrapping_add( + _self.into(), + rhs.into(), ) .into(); output @@ -8520,9 +9000,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::wrapping_sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::wrapping_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -8531,9 +9011,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::wrapping_mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::wrapping_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -8542,9 +9022,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::wrapping_div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::wrapping_div( + _self.into(), + rhs.into(), ) .into(); output @@ -8553,9 +9033,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::saturating_add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::saturating_add( + _self.into(), + rhs.into(), ) .into(); output @@ -8564,9 +9044,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::saturating_sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::saturating_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -8575,9 +9055,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::saturating_mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::saturating_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -8586,9 +9066,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::saturating_div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::saturating_div( + _self.into(), + rhs.into(), ) .into(); output @@ -8597,9 +9077,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add_signed", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::wrapping_add_signed( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::wrapping_add_signed( + _self.into(), + rhs.into(), ) .into(); output @@ -8608,9 +9088,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add_signed", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::saturating_add_signed( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::saturating_add_signed( + _self.into(), + rhs.into(), ) .into(); output @@ -8619,9 +9099,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -8630,8 +9110,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::U64Vec2::clone( - _self, + let output: Val = ::bevy::math::U64Vec2::clone( + _self.into(), ) .into(); output @@ -8640,9 +9120,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -8651,9 +9131,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -8662,9 +9142,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -8673,21 +9153,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec2::add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec2::add( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::U64Vec3>::new(world) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -8696,9 +9176,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -8707,9 +9187,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec3::div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -8718,9 +9198,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -8729,9 +9209,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -8740,9 +9220,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec3::div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -8751,9 +9231,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -8762,9 +9242,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -8773,9 +9253,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -8784,9 +9264,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -8795,9 +9275,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec3::add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -8806,9 +9286,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -8817,9 +9297,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -8828,10 +9308,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: u64, y: u64, z: u64| { - let output: Val = bevy::math::U64Vec3::new( - x, - y, - z, + let output: Val = ::bevy::math::U64Vec3::new( + x.into(), + y.into(), + z.into(), ) .into(); output @@ -8840,7 +9320,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: u64| { - let output: Val = bevy::math::U64Vec3::splat(v) + let output: Val = ::bevy::math::U64Vec3::splat( + v.into(), + ) .into(); output }, @@ -8852,10 +9334,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::U64Vec3::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::U64Vec3::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -8864,8 +9346,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [u64; 3]| { - let output: Val = bevy::math::U64Vec3::from_array( - a, + let output: Val = ::bevy::math::U64Vec3::from_array( + a.into(), ) .into(); output @@ -8874,16 +9356,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [u64; 3] = bevy::math::U64Vec3::to_array(_self).into(); + let output: [u64; 3] = ::bevy::math::U64Vec3::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "extend", |_self: Val, w: u64| { - let output: Val = bevy::math::U64Vec3::extend( - _self, - w, + let output: Val = ::bevy::math::U64Vec3::extend( + _self.into(), + w.into(), ) .into(); output @@ -8892,8 +9375,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "truncate", |_self: Val| { - let output: Val = bevy::math::U64Vec3::truncate( - _self, + let output: Val = ::bevy::math::U64Vec3::truncate( + _self.into(), ) .into(); output @@ -8902,9 +9385,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: u64| { - let output: Val = bevy::math::U64Vec3::with_x( - _self, - x, + let output: Val = ::bevy::math::U64Vec3::with_x( + _self.into(), + x.into(), ) .into(); output @@ -8913,9 +9396,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: u64| { - let output: Val = bevy::math::U64Vec3::with_y( - _self, - y, + let output: Val = ::bevy::math::U64Vec3::with_y( + _self.into(), + y.into(), ) .into(); output @@ -8924,9 +9407,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_z", |_self: Val, z: u64| { - let output: Val = bevy::math::U64Vec3::with_z( - _self, - z, + let output: Val = ::bevy::math::U64Vec3::with_z( + _self.into(), + z.into(), ) .into(); output @@ -8935,16 +9418,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: u64 = bevy::math::U64Vec3::dot(_self, rhs).into(); + let output: u64 = ::bevy::math::U64Vec3::dot( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -8953,9 +9440,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cross", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::cross( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::cross( + _self.into(), + rhs.into(), ) .into(); output @@ -8964,9 +9451,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::min( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::min( + _self.into(), + rhs.into(), ) .into(); output @@ -8975,9 +9462,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::max( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::max( + _self.into(), + rhs.into(), ) .into(); output @@ -8990,10 +9477,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::U64Vec3::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::U64Vec3::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -9002,37 +9489,43 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: u64 = bevy::math::U64Vec3::min_element(_self).into(); + let output: u64 = ::bevy::math::U64Vec3::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: u64 = bevy::math::U64Vec3::max_element(_self).into(); + let output: u64 = ::bevy::math::U64Vec3::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: u64 = bevy::math::U64Vec3::element_sum(_self).into(); + let output: u64 = ::bevy::math::U64Vec3::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: u64 = bevy::math::U64Vec3::element_product(_self).into(); + let output: u64 = ::bevy::math::U64Vec3::element_product( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -9041,9 +9534,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -9052,9 +9545,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -9063,9 +9556,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -9074,9 +9567,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::cmple( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -9085,9 +9578,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -9096,15 +9589,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length_squared", |_self: Val| { - let output: u64 = bevy::math::U64Vec3::length_squared(_self).into(); + let output: u64 = ::bevy::math::U64Vec3::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_vec3", |_self: Ref| { - let output: Val = bevy::math::U64Vec3::as_vec3( - _self, + let output: Val = ::bevy::math::U64Vec3::as_vec3( + _self.into(), ) .into(); output @@ -9113,8 +9607,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec3a", |_self: Ref| { - let output: Val = bevy::math::U64Vec3::as_vec3a( - _self, + let output: Val = ::bevy::math::U64Vec3::as_vec3a( + _self.into(), ) .into(); output @@ -9123,8 +9617,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec3", |_self: Ref| { - let output: Val = bevy::math::U64Vec3::as_dvec3( - _self, + let output: Val = ::bevy::math::U64Vec3::as_dvec3( + _self.into(), ) .into(); output @@ -9133,8 +9627,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec3", |_self: Ref| { - let output: Val = bevy::math::U64Vec3::as_ivec3( - _self, + let output: Val = ::bevy::math::U64Vec3::as_ivec3( + _self.into(), ) .into(); output @@ -9143,8 +9637,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec3", |_self: Ref| { - let output: Val = bevy::math::U64Vec3::as_uvec3( - _self, + let output: Val = ::bevy::math::U64Vec3::as_uvec3( + _self.into(), ) .into(); output @@ -9153,8 +9647,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec3", |_self: Ref| { - let output: Val = bevy::math::U64Vec3::as_i64vec3( - _self, + let output: Val = ::bevy::math::U64Vec3::as_i64vec3( + _self.into(), ) .into(); output @@ -9163,9 +9657,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::wrapping_add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::wrapping_add( + _self.into(), + rhs.into(), ) .into(); output @@ -9174,9 +9668,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::wrapping_sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::wrapping_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -9185,9 +9679,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::wrapping_mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::wrapping_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -9196,9 +9690,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::wrapping_div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::wrapping_div( + _self.into(), + rhs.into(), ) .into(); output @@ -9207,9 +9701,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::saturating_add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::saturating_add( + _self.into(), + rhs.into(), ) .into(); output @@ -9218,9 +9712,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::saturating_sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::saturating_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -9229,9 +9723,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::saturating_mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::saturating_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -9240,9 +9734,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::saturating_div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::saturating_div( + _self.into(), + rhs.into(), ) .into(); output @@ -9251,9 +9745,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add_signed", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::wrapping_add_signed( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::wrapping_add_signed( + _self.into(), + rhs.into(), ) .into(); output @@ -9262,9 +9756,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add_signed", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec3::saturating_add_signed( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::saturating_add_signed( + _self.into(), + rhs.into(), ) .into(); output @@ -9273,9 +9767,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -9284,9 +9778,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec3::add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -9295,15 +9789,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::U64Vec3::eq(_self, other).into(); + let output: bool = ::bevy::math::U64Vec3::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::U64Vec3::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::U64Vec3::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -9312,20 +9810,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::U64Vec3::clone( - _self, + let output: Val = ::bevy::math::U64Vec3::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::U64Vec4>::new(world) .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -9334,9 +9832,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -9345,9 +9843,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -9356,9 +9854,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -9367,8 +9865,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::U64Vec4::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::U64Vec4::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -9377,15 +9875,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::U64Vec4::eq(_self, other).into(); + let output: bool = ::bevy::math::U64Vec4::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::U64Vec4::clone( - _self, + let output: Val = ::bevy::math::U64Vec4::clone( + _self.into(), ) .into(); output @@ -9394,9 +9896,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -9405,9 +9907,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec4::div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -9416,9 +9918,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -9427,9 +9929,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -9438,9 +9940,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -9449,9 +9951,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -9460,9 +9962,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec4::add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -9471,9 +9973,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -9482,9 +9984,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::U64Vec4::div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -9493,11 +9995,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: u64, y: u64, z: u64, w: u64| { - let output: Val = bevy::math::U64Vec4::new( - x, - y, - z, - w, + let output: Val = ::bevy::math::U64Vec4::new( + x.into(), + y.into(), + z.into(), + w.into(), ) .into(); output @@ -9506,7 +10008,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: u64| { - let output: Val = bevy::math::U64Vec4::splat(v) + let output: Val = ::bevy::math::U64Vec4::splat( + v.into(), + ) .into(); output }, @@ -9518,10 +10022,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::U64Vec4::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::U64Vec4::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -9530,8 +10034,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [u64; 4]| { - let output: Val = bevy::math::U64Vec4::from_array( - a, + let output: Val = ::bevy::math::U64Vec4::from_array( + a.into(), ) .into(); output @@ -9540,15 +10044,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [u64; 4] = bevy::math::U64Vec4::to_array(_self).into(); + let output: [u64; 4] = ::bevy::math::U64Vec4::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "truncate", |_self: Val| { - let output: Val = bevy::math::U64Vec4::truncate( - _self, + let output: Val = ::bevy::math::U64Vec4::truncate( + _self.into(), ) .into(); output @@ -9557,9 +10062,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: u64| { - let output: Val = bevy::math::U64Vec4::with_x( - _self, - x, + let output: Val = ::bevy::math::U64Vec4::with_x( + _self.into(), + x.into(), ) .into(); output @@ -9568,9 +10073,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: u64| { - let output: Val = bevy::math::U64Vec4::with_y( - _self, - y, + let output: Val = ::bevy::math::U64Vec4::with_y( + _self.into(), + y.into(), ) .into(); output @@ -9579,9 +10084,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_z", |_self: Val, z: u64| { - let output: Val = bevy::math::U64Vec4::with_z( - _self, - z, + let output: Val = ::bevy::math::U64Vec4::with_z( + _self.into(), + z.into(), ) .into(); output @@ -9590,9 +10095,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_w", |_self: Val, w: u64| { - let output: Val = bevy::math::U64Vec4::with_w( - _self, - w, + let output: Val = ::bevy::math::U64Vec4::with_w( + _self.into(), + w.into(), ) .into(); output @@ -9601,16 +10106,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: u64 = bevy::math::U64Vec4::dot(_self, rhs).into(); + let output: u64 = ::bevy::math::U64Vec4::dot( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -9619,9 +10128,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::min( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::min( + _self.into(), + rhs.into(), ) .into(); output @@ -9630,9 +10139,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::max( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::max( + _self.into(), + rhs.into(), ) .into(); output @@ -9645,10 +10154,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::U64Vec4::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::U64Vec4::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -9657,37 +10166,43 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: u64 = bevy::math::U64Vec4::min_element(_self).into(); + let output: u64 = ::bevy::math::U64Vec4::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: u64 = bevy::math::U64Vec4::max_element(_self).into(); + let output: u64 = ::bevy::math::U64Vec4::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: u64 = bevy::math::U64Vec4::element_sum(_self).into(); + let output: u64 = ::bevy::math::U64Vec4::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: u64 = bevy::math::U64Vec4::element_product(_self).into(); + let output: u64 = ::bevy::math::U64Vec4::element_product( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -9696,9 +10211,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -9707,9 +10222,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -9718,9 +10233,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -9729,9 +10244,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::cmple( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -9740,9 +10255,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -9751,15 +10266,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length_squared", |_self: Val| { - let output: u64 = bevy::math::U64Vec4::length_squared(_self).into(); + let output: u64 = ::bevy::math::U64Vec4::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_vec4", |_self: Ref| { - let output: Val = bevy::math::U64Vec4::as_vec4( - _self, + let output: Val = ::bevy::math::U64Vec4::as_vec4( + _self.into(), ) .into(); output @@ -9768,8 +10284,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec4", |_self: Ref| { - let output: Val = bevy::math::U64Vec4::as_dvec4( - _self, + let output: Val = ::bevy::math::U64Vec4::as_dvec4( + _self.into(), ) .into(); output @@ -9778,8 +10294,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec4", |_self: Ref| { - let output: Val = bevy::math::U64Vec4::as_ivec4( - _self, + let output: Val = ::bevy::math::U64Vec4::as_ivec4( + _self.into(), ) .into(); output @@ -9788,8 +10304,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec4", |_self: Ref| { - let output: Val = bevy::math::U64Vec4::as_uvec4( - _self, + let output: Val = ::bevy::math::U64Vec4::as_uvec4( + _self.into(), ) .into(); output @@ -9798,8 +10314,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec4", |_self: Ref| { - let output: Val = bevy::math::U64Vec4::as_i64vec4( - _self, + let output: Val = ::bevy::math::U64Vec4::as_i64vec4( + _self.into(), ) .into(); output @@ -9808,9 +10324,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::wrapping_add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::wrapping_add( + _self.into(), + rhs.into(), ) .into(); output @@ -9819,9 +10335,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::wrapping_sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::wrapping_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -9830,9 +10346,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::wrapping_mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::wrapping_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -9841,9 +10357,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::wrapping_div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::wrapping_div( + _self.into(), + rhs.into(), ) .into(); output @@ -9852,9 +10368,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::saturating_add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::saturating_add( + _self.into(), + rhs.into(), ) .into(); output @@ -9863,9 +10379,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::saturating_sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::saturating_sub( + _self.into(), + rhs.into(), ) .into(); output @@ -9874,9 +10390,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::saturating_mul( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::saturating_mul( + _self.into(), + rhs.into(), ) .into(); output @@ -9885,9 +10401,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::saturating_div( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::saturating_div( + _self.into(), + rhs.into(), ) .into(); output @@ -9896,9 +10412,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "wrapping_add_signed", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::wrapping_add_signed( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::wrapping_add_signed( + _self.into(), + rhs.into(), ) .into(); output @@ -9907,9 +10423,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "saturating_add_signed", |_self: Val, rhs: Val| { - let output: Val = bevy::math::U64Vec4::saturating_add_signed( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::saturating_add_signed( + _self.into(), + rhs.into(), ) .into(); output @@ -9918,9 +10434,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -9929,19 +10445,22 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: u64| { - let output: Val = bevy::math::U64Vec4::add( - _self, - rhs, + let output: Val = ::bevy::math::U64Vec4::add( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Vec2>::new(world) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::mul(_self, rhs) + let output: Val = ::bevy::math::Vec2::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -9949,7 +10468,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::add(_self, rhs) + let output: Val = ::bevy::math::Vec2::add( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -9957,7 +10479,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec2::mul(_self, rhs) + let output: Val = ::bevy::math::Vec2::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -9965,7 +10490,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec2::div(_self, rhs) + let output: Val = ::bevy::math::Vec2::div( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -9973,7 +10501,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec2::add(_self, rhs) + let output: Val = ::bevy::math::Vec2::add( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -9981,7 +10512,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::sub(_self, rhs) + let output: Val = ::bevy::math::Vec2::sub( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -9989,7 +10523,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::rem(_self, rhs) + let output: Val = ::bevy::math::Vec2::rem( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -9997,7 +10534,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: f32, y: f32| { - let output: Val = bevy::math::Vec2::new(x, y) + let output: Val = ::bevy::math::Vec2::new( + x.into(), + y.into(), + ) .into(); output }, @@ -10005,7 +10545,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: f32| { - let output: Val = bevy::math::Vec2::splat(v) + let output: Val = ::bevy::math::Vec2::splat( + v.into(), + ) .into(); output }, @@ -10017,10 +10559,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::Vec2::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::Vec2::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -10029,7 +10571,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [f32; 2]| { - let output: Val = bevy::math::Vec2::from_array(a) + let output: Val = ::bevy::math::Vec2::from_array( + a.into(), + ) .into(); output }, @@ -10037,16 +10581,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [f32; 2] = bevy::math::Vec2::to_array(_self).into(); + let output: [f32; 2] = ::bevy::math::Vec2::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "extend", |_self: Val, z: f32| { - let output: Val = bevy::math::Vec2::extend( - _self, - z, + let output: Val = ::bevy::math::Vec2::extend( + _self.into(), + z.into(), ) .into(); output @@ -10055,9 +10600,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: f32| { - let output: Val = bevy::math::Vec2::with_x( - _self, - x, + let output: Val = ::bevy::math::Vec2::with_x( + _self.into(), + x.into(), ) .into(); output @@ -10066,9 +10611,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: f32| { - let output: Val = bevy::math::Vec2::with_y( - _self, - y, + let output: Val = ::bevy::math::Vec2::with_y( + _self.into(), + y.into(), ) .into(); output @@ -10077,16 +10622,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec2::dot(_self, rhs).into(); + let output: f32 = ::bevy::math::Vec2::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -10095,7 +10641,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::min(_self, rhs) + let output: Val = ::bevy::math::Vec2::min( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -10103,7 +10652,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::max(_self, rhs) + let output: Val = ::bevy::math::Vec2::max( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -10115,10 +10667,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::Vec2::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::Vec2::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -10127,37 +10679,41 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: f32 = bevy::math::Vec2::min_element(_self).into(); + let output: f32 = ::bevy::math::Vec2::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: f32 = bevy::math::Vec2::max_element(_self).into(); + let output: f32 = ::bevy::math::Vec2::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: f32 = bevy::math::Vec2::element_sum(_self).into(); + let output: f32 = ::bevy::math::Vec2::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: f32 = bevy::math::Vec2::element_product(_self).into(); + let output: f32 = ::bevy::math::Vec2::element_product(_self.into()) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -10166,9 +10722,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -10177,9 +10733,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -10188,9 +10744,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -10199,9 +10755,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::cmple( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -10210,9 +10766,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -10221,7 +10777,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Val| { - let output: Val = bevy::math::Vec2::abs(_self) + let output: Val = ::bevy::math::Vec2::abs( + _self.into(), + ) .into(); output }, @@ -10229,7 +10787,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "signum", |_self: Val| { - let output: Val = bevy::math::Vec2::signum(_self) + let output: Val = ::bevy::math::Vec2::signum( + _self.into(), + ) .into(); output }, @@ -10237,9 +10797,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "copysign", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::copysign( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::copysign( + _self.into(), + rhs.into(), ) .into(); output @@ -10248,7 +10808,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_negative_bitmask", |_self: Val| { - let output: u32 = bevy::math::Vec2::is_negative_bitmask(_self) + let output: u32 = ::bevy::math::Vec2::is_negative_bitmask( + _self.into(), + ) .into(); output }, @@ -10256,15 +10818,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Val| { - let output: bool = bevy::math::Vec2::is_finite(_self).into(); + let output: bool = ::bevy::math::Vec2::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_finite_mask", |_self: Val| { - let output: Val = bevy::math::Vec2::is_finite_mask( - _self, + let output: Val = ::bevy::math::Vec2::is_finite_mask( + _self.into(), ) .into(); output @@ -10273,15 +10836,15 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_nan", |_self: Val| { - let output: bool = bevy::math::Vec2::is_nan(_self).into(); + let output: bool = ::bevy::math::Vec2::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "is_nan_mask", |_self: Val| { - let output: Val = bevy::math::Vec2::is_nan_mask( - _self, + let output: Val = ::bevy::math::Vec2::is_nan_mask( + _self.into(), ) .into(); output @@ -10290,35 +10853,44 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length", |_self: Val| { - let output: f32 = bevy::math::Vec2::length(_self).into(); + let output: f32 = ::bevy::math::Vec2::length(_self.into()).into(); output }, ) .overwrite_script_function( "length_squared", |_self: Val| { - let output: f32 = bevy::math::Vec2::length_squared(_self).into(); + let output: f32 = ::bevy::math::Vec2::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "length_recip", |_self: Val| { - let output: f32 = bevy::math::Vec2::length_recip(_self).into(); + let output: f32 = ::bevy::math::Vec2::length_recip(_self.into()) + .into(); output }, ) .overwrite_script_function( "distance", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec2::distance(_self, rhs).into(); + let output: f32 = ::bevy::math::Vec2::distance( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "distance_squared", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec2::distance_squared(_self, rhs) + let output: f32 = ::bevy::math::Vec2::distance_squared( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -10326,9 +10898,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::div_euclid( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::div_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -10337,9 +10909,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::rem_euclid( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::rem_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -10348,8 +10920,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize", |_self: Val| { - let output: Val = bevy::math::Vec2::normalize( - _self, + let output: Val = ::bevy::math::Vec2::normalize( + _self.into(), ) .into(); output @@ -10358,9 +10930,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or", |_self: Val, fallback: Val| { - let output: Val = bevy::math::Vec2::normalize_or( - _self, - fallback, + let output: Val = ::bevy::math::Vec2::normalize_or( + _self.into(), + fallback.into(), ) .into(); output @@ -10369,8 +10941,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or_zero", |_self: Val| { - let output: Val = bevy::math::Vec2::normalize_or_zero( - _self, + let output: Val = ::bevy::math::Vec2::normalize_or_zero( + _self.into(), ) .into(); output @@ -10379,16 +10951,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_normalized", |_self: Val| { - let output: bool = bevy::math::Vec2::is_normalized(_self).into(); + let output: bool = ::bevy::math::Vec2::is_normalized(_self.into()) + .into(); output }, ) .overwrite_script_function( "project_onto", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::project_onto( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::project_onto( + _self.into(), + rhs.into(), ) .into(); output @@ -10397,9 +10970,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::reject_from( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::reject_from( + _self.into(), + rhs.into(), ) .into(); output @@ -10408,9 +10981,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "project_onto_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::project_onto_normalized( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::project_onto_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -10419,9 +10992,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::reject_from_normalized( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::reject_from_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -10430,7 +11003,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "round", |_self: Val| { - let output: Val = bevy::math::Vec2::round(_self) + let output: Val = ::bevy::math::Vec2::round( + _self.into(), + ) .into(); output }, @@ -10438,7 +11013,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "floor", |_self: Val| { - let output: Val = bevy::math::Vec2::floor(_self) + let output: Val = ::bevy::math::Vec2::floor( + _self.into(), + ) .into(); output }, @@ -10446,7 +11023,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "ceil", |_self: Val| { - let output: Val = bevy::math::Vec2::ceil(_self) + let output: Val = ::bevy::math::Vec2::ceil( + _self.into(), + ) .into(); output }, @@ -10454,7 +11033,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "trunc", |_self: Val| { - let output: Val = bevy::math::Vec2::trunc(_self) + let output: Val = ::bevy::math::Vec2::trunc( + _self.into(), + ) .into(); output }, @@ -10462,7 +11043,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract", |_self: Val| { - let output: Val = bevy::math::Vec2::fract(_self) + let output: Val = ::bevy::math::Vec2::fract( + _self.into(), + ) .into(); output }, @@ -10470,7 +11053,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract_gl", |_self: Val| { - let output: Val = bevy::math::Vec2::fract_gl(_self) + let output: Val = ::bevy::math::Vec2::fract_gl( + _self.into(), + ) .into(); output }, @@ -10478,7 +11063,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "exp", |_self: Val| { - let output: Val = bevy::math::Vec2::exp(_self) + let output: Val = ::bevy::math::Vec2::exp( + _self.into(), + ) .into(); output }, @@ -10486,7 +11073,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "powf", |_self: Val, n: f32| { - let output: Val = bevy::math::Vec2::powf(_self, n) + let output: Val = ::bevy::math::Vec2::powf( + _self.into(), + n.into(), + ) .into(); output }, @@ -10494,7 +11084,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "recip", |_self: Val| { - let output: Val = bevy::math::Vec2::recip(_self) + let output: Val = ::bevy::math::Vec2::recip( + _self.into(), + ) .into(); output }, @@ -10502,10 +11094,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "lerp", |_self: Val, rhs: Val, s: f32| { - let output: Val = bevy::math::Vec2::lerp( - _self, - rhs, - s, + let output: Val = ::bevy::math::Vec2::lerp( + _self.into(), + rhs.into(), + s.into(), ) .into(); output @@ -10514,10 +11106,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "move_towards", |_self: Ref, rhs: Val, d: f32| { - let output: Val = bevy::math::Vec2::move_towards( - _self, - rhs, - d, + let output: Val = ::bevy::math::Vec2::move_towards( + _self.into(), + rhs.into(), + d.into(), ) .into(); output @@ -10526,9 +11118,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "midpoint", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::midpoint( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::midpoint( + _self.into(), + rhs.into(), ) .into(); output @@ -10541,10 +11133,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f32| { - let output: bool = bevy::math::Vec2::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::Vec2::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -10553,10 +11145,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length", |_self: Val, min: f32, max: f32| { - let output: Val = bevy::math::Vec2::clamp_length( - _self, - min, - max, + let output: Val = ::bevy::math::Vec2::clamp_length( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -10565,9 +11157,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_max", |_self: Val, max: f32| { - let output: Val = bevy::math::Vec2::clamp_length_max( - _self, - max, + let output: Val = ::bevy::math::Vec2::clamp_length_max( + _self.into(), + max.into(), ) .into(); output @@ -10576,9 +11168,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_min", |_self: Val, min: f32| { - let output: Val = bevy::math::Vec2::clamp_length_min( - _self, - min, + let output: Val = ::bevy::math::Vec2::clamp_length_min( + _self.into(), + min.into(), ) .into(); output @@ -10591,10 +11183,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { a: Val, b: Val| { - let output: Val = bevy::math::Vec2::mul_add( - _self, - a, - b, + let output: Val = ::bevy::math::Vec2::mul_add( + _self.into(), + a.into(), + b.into(), ) .into(); output @@ -10603,9 +11195,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reflect", |_self: Val, normal: Val| { - let output: Val = bevy::math::Vec2::reflect( - _self, - normal, + let output: Val = ::bevy::math::Vec2::reflect( + _self.into(), + normal.into(), ) .into(); output @@ -10614,10 +11206,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "refract", |_self: Val, normal: Val, eta: f32| { - let output: Val = bevy::math::Vec2::refract( - _self, - normal, - eta, + let output: Val = ::bevy::math::Vec2::refract( + _self.into(), + normal.into(), + eta.into(), ) .into(); output @@ -10626,8 +11218,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_angle", |angle: f32| { - let output: Val = bevy::math::Vec2::from_angle( - angle, + let output: Val = ::bevy::math::Vec2::from_angle( + angle.into(), ) .into(); output @@ -10636,28 +11228,38 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_angle", |_self: Val| { - let output: f32 = bevy::math::Vec2::to_angle(_self).into(); + let output: f32 = ::bevy::math::Vec2::to_angle(_self.into()).into(); output }, ) .overwrite_script_function( "angle_between", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec2::angle_between(_self, rhs).into(); + let output: f32 = ::bevy::math::Vec2::angle_between( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "angle_to", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec2::angle_to(_self, rhs).into(); + let output: f32 = ::bevy::math::Vec2::angle_to( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "perp", |_self: Val| { - let output: Val = bevy::math::Vec2::perp(_self) + let output: Val = ::bevy::math::Vec2::perp( + _self.into(), + ) .into(); output }, @@ -10665,16 +11267,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perp_dot", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec2::perp_dot(_self, rhs).into(); + let output: f32 = ::bevy::math::Vec2::perp_dot( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "rotate", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::rotate( - _self, - rhs, + let output: Val = ::bevy::math::Vec2::rotate( + _self.into(), + rhs.into(), ) .into(); output @@ -10687,10 +11293,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_angle: f32| { - let output: Val = bevy::math::Vec2::rotate_towards( - _self, - rhs, - max_angle, + let output: Val = ::bevy::math::Vec2::rotate_towards( + _self.into(), + rhs.into(), + max_angle.into(), ) .into(); output @@ -10699,8 +11305,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec2", |_self: Ref| { - let output: Val = bevy::math::Vec2::as_dvec2( - _self, + let output: Val = ::bevy::math::Vec2::as_dvec2( + _self.into(), ) .into(); output @@ -10709,8 +11315,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec2", |_self: Ref| { - let output: Val = bevy::math::Vec2::as_ivec2( - _self, + let output: Val = ::bevy::math::Vec2::as_ivec2( + _self.into(), ) .into(); output @@ -10719,8 +11325,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec2", |_self: Ref| { - let output: Val = bevy::math::Vec2::as_uvec2( - _self, + let output: Val = ::bevy::math::Vec2::as_uvec2( + _self.into(), ) .into(); output @@ -10729,8 +11335,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec2", |_self: Ref| { - let output: Val = bevy::math::Vec2::as_i64vec2( - _self, + let output: Val = ::bevy::math::Vec2::as_i64vec2( + _self.into(), ) .into(); output @@ -10739,8 +11345,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec2", |_self: Ref| { - let output: Val = bevy::math::Vec2::as_u64vec2( - _self, + let output: Val = ::bevy::math::Vec2::as_u64vec2( + _self.into(), ) .into(); output @@ -10749,14 +11355,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::Vec2::eq(_self, other).into(); + let output: bool = ::bevy::math::Vec2::eq(_self.into(), other.into()) + .into(); output }, ) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Vec2::clone(_self) + let output: Val = ::bevy::math::Vec2::clone( + _self.into(), + ) .into(); output }, @@ -10764,7 +11373,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec2::sub(_self, rhs) + let output: Val = ::bevy::math::Vec2::sub( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -10772,7 +11384,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec2::rem(_self, rhs) + let output: Val = ::bevy::math::Vec2::rem( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -10780,7 +11395,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec2::rem(_self, rhs) + let output: Val = ::bevy::math::Vec2::rem( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -10788,7 +11406,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec2::div(_self, rhs) + let output: Val = ::bevy::math::Vec2::div( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -10796,7 +11417,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec2::sub(_self, rhs) + let output: Val = ::bevy::math::Vec2::sub( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -10804,7 +11428,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec2::mul(_self, rhs) + let output: Val = ::bevy::math::Vec2::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -10812,7 +11439,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::Vec2::neg(_self) + let output: Val = ::bevy::math::Vec2::neg( + _self.into(), + ) .into(); output }, @@ -10820,7 +11449,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec2::add(_self, rhs) + let output: Val = ::bevy::math::Vec2::add( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -10828,18 +11460,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec2::div(_self, rhs) + let output: Val = ::bevy::math::Vec2::div( + _self.into(), + rhs.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Vec3A>::new(world) .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec3A::rem( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -10848,9 +11483,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::mul( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -10859,9 +11494,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec3A::div( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::div( + _self.into(), + rhs.into(), ) .into(); output @@ -10870,9 +11505,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec3A::div( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::div( + _self.into(), + rhs.into(), ) .into(); output @@ -10881,9 +11516,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec3A::sub( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -10892,7 +11527,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: f32, y: f32, z: f32| { - let output: Val = bevy::math::Vec3A::new(x, y, z) + let output: Val = ::bevy::math::Vec3A::new( + x.into(), + y.into(), + z.into(), + ) .into(); output }, @@ -10900,7 +11539,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: f32| { - let output: Val = bevy::math::Vec3A::splat(v) + let output: Val = ::bevy::math::Vec3A::splat( + v.into(), + ) .into(); output }, @@ -10912,10 +11553,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::Vec3A::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::Vec3A::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -10924,7 +11565,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [f32; 3]| { - let output: Val = bevy::math::Vec3A::from_array(a) + let output: Val = ::bevy::math::Vec3A::from_array( + a.into(), + ) .into(); output }, @@ -10932,14 +11575,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [f32; 3] = bevy::math::Vec3A::to_array(_self).into(); + let output: [f32; 3] = ::bevy::math::Vec3A::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "from_vec4", |v: Val| { - let output: Val = bevy::math::Vec3A::from_vec4(v) + let output: Val = ::bevy::math::Vec3A::from_vec4( + v.into(), + ) .into(); output }, @@ -10947,9 +11593,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "extend", |_self: Val, w: f32| { - let output: Val = bevy::math::Vec3A::extend( - _self, - w, + let output: Val = ::bevy::math::Vec3A::extend( + _self.into(), + w.into(), ) .into(); output @@ -10958,8 +11604,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "truncate", |_self: Val| { - let output: Val = bevy::math::Vec3A::truncate( - _self, + let output: Val = ::bevy::math::Vec3A::truncate( + _self.into(), ) .into(); output @@ -10968,9 +11614,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: f32| { - let output: Val = bevy::math::Vec3A::with_x( - _self, - x, + let output: Val = ::bevy::math::Vec3A::with_x( + _self.into(), + x.into(), ) .into(); output @@ -10979,9 +11625,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: f32| { - let output: Val = bevy::math::Vec3A::with_y( - _self, - y, + let output: Val = ::bevy::math::Vec3A::with_y( + _self.into(), + y.into(), ) .into(); output @@ -10990,9 +11636,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_z", |_self: Val, z: f32| { - let output: Val = bevy::math::Vec3A::with_z( - _self, - z, + let output: Val = ::bevy::math::Vec3A::with_z( + _self.into(), + z.into(), ) .into(); output @@ -11001,16 +11647,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec3A::dot(_self, rhs).into(); + let output: f32 = ::bevy::math::Vec3A::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -11019,9 +11666,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cross", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::cross( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::cross( + _self.into(), + rhs.into(), ) .into(); output @@ -11030,9 +11677,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::min( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::min( + _self.into(), + rhs.into(), ) .into(); output @@ -11041,9 +11688,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::max( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::max( + _self.into(), + rhs.into(), ) .into(); output @@ -11056,10 +11703,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::Vec3A::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::Vec3A::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -11068,37 +11715,41 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: f32 = bevy::math::Vec3A::min_element(_self).into(); + let output: f32 = ::bevy::math::Vec3A::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: f32 = bevy::math::Vec3A::max_element(_self).into(); + let output: f32 = ::bevy::math::Vec3A::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: f32 = bevy::math::Vec3A::element_sum(_self).into(); + let output: f32 = ::bevy::math::Vec3A::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: f32 = bevy::math::Vec3A::element_product(_self).into(); + let output: f32 = ::bevy::math::Vec3A::element_product(_self.into()) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -11107,9 +11758,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -11118,9 +11769,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -11129,9 +11780,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -11140,9 +11791,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::cmple( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -11151,9 +11802,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -11162,7 +11813,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Val| { - let output: Val = bevy::math::Vec3A::abs(_self) + let output: Val = ::bevy::math::Vec3A::abs( + _self.into(), + ) .into(); output }, @@ -11170,7 +11823,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "signum", |_self: Val| { - let output: Val = bevy::math::Vec3A::signum(_self) + let output: Val = ::bevy::math::Vec3A::signum( + _self.into(), + ) .into(); output }, @@ -11178,9 +11833,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "copysign", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::copysign( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::copysign( + _self.into(), + rhs.into(), ) .into(); output @@ -11189,7 +11844,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_negative_bitmask", |_self: Val| { - let output: u32 = bevy::math::Vec3A::is_negative_bitmask(_self) + let output: u32 = ::bevy::math::Vec3A::is_negative_bitmask( + _self.into(), + ) .into(); output }, @@ -11197,15 +11854,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Val| { - let output: bool = bevy::math::Vec3A::is_finite(_self).into(); + let output: bool = ::bevy::math::Vec3A::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_finite_mask", |_self: Val| { - let output: Val = bevy::math::Vec3A::is_finite_mask( - _self, + let output: Val = ::bevy::math::Vec3A::is_finite_mask( + _self.into(), ) .into(); output @@ -11214,15 +11872,15 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_nan", |_self: Val| { - let output: bool = bevy::math::Vec3A::is_nan(_self).into(); + let output: bool = ::bevy::math::Vec3A::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "is_nan_mask", |_self: Val| { - let output: Val = bevy::math::Vec3A::is_nan_mask( - _self, + let output: Val = ::bevy::math::Vec3A::is_nan_mask( + _self.into(), ) .into(); output @@ -11231,35 +11889,44 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length", |_self: Val| { - let output: f32 = bevy::math::Vec3A::length(_self).into(); + let output: f32 = ::bevy::math::Vec3A::length(_self.into()).into(); output }, ) .overwrite_script_function( "length_squared", |_self: Val| { - let output: f32 = bevy::math::Vec3A::length_squared(_self).into(); + let output: f32 = ::bevy::math::Vec3A::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "length_recip", |_self: Val| { - let output: f32 = bevy::math::Vec3A::length_recip(_self).into(); + let output: f32 = ::bevy::math::Vec3A::length_recip(_self.into()) + .into(); output }, ) .overwrite_script_function( "distance", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec3A::distance(_self, rhs).into(); + let output: f32 = ::bevy::math::Vec3A::distance( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "distance_squared", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec3A::distance_squared(_self, rhs) + let output: f32 = ::bevy::math::Vec3A::distance_squared( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -11267,9 +11934,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::div_euclid( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::div_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -11278,9 +11945,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::rem_euclid( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::rem_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -11289,8 +11956,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize", |_self: Val| { - let output: Val = bevy::math::Vec3A::normalize( - _self, + let output: Val = ::bevy::math::Vec3A::normalize( + _self.into(), ) .into(); output @@ -11299,9 +11966,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or", |_self: Val, fallback: Val| { - let output: Val = bevy::math::Vec3A::normalize_or( - _self, - fallback, + let output: Val = ::bevy::math::Vec3A::normalize_or( + _self.into(), + fallback.into(), ) .into(); output @@ -11310,8 +11977,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or_zero", |_self: Val| { - let output: Val = bevy::math::Vec3A::normalize_or_zero( - _self, + let output: Val = ::bevy::math::Vec3A::normalize_or_zero( + _self.into(), ) .into(); output @@ -11320,16 +11987,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_normalized", |_self: Val| { - let output: bool = bevy::math::Vec3A::is_normalized(_self).into(); + let output: bool = ::bevy::math::Vec3A::is_normalized(_self.into()) + .into(); output }, ) .overwrite_script_function( "project_onto", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::project_onto( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::project_onto( + _self.into(), + rhs.into(), ) .into(); output @@ -11338,9 +12006,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::reject_from( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::reject_from( + _self.into(), + rhs.into(), ) .into(); output @@ -11349,9 +12017,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "project_onto_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::project_onto_normalized( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::project_onto_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -11360,9 +12028,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::reject_from_normalized( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::reject_from_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -11371,7 +12039,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "round", |_self: Val| { - let output: Val = bevy::math::Vec3A::round(_self) + let output: Val = ::bevy::math::Vec3A::round( + _self.into(), + ) .into(); output }, @@ -11379,7 +12049,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "floor", |_self: Val| { - let output: Val = bevy::math::Vec3A::floor(_self) + let output: Val = ::bevy::math::Vec3A::floor( + _self.into(), + ) .into(); output }, @@ -11387,7 +12059,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "ceil", |_self: Val| { - let output: Val = bevy::math::Vec3A::ceil(_self) + let output: Val = ::bevy::math::Vec3A::ceil( + _self.into(), + ) .into(); output }, @@ -11395,7 +12069,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "trunc", |_self: Val| { - let output: Val = bevy::math::Vec3A::trunc(_self) + let output: Val = ::bevy::math::Vec3A::trunc( + _self.into(), + ) .into(); output }, @@ -11403,7 +12079,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract", |_self: Val| { - let output: Val = bevy::math::Vec3A::fract(_self) + let output: Val = ::bevy::math::Vec3A::fract( + _self.into(), + ) .into(); output }, @@ -11411,8 +12089,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract_gl", |_self: Val| { - let output: Val = bevy::math::Vec3A::fract_gl( - _self, + let output: Val = ::bevy::math::Vec3A::fract_gl( + _self.into(), ) .into(); output @@ -11421,7 +12099,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "exp", |_self: Val| { - let output: Val = bevy::math::Vec3A::exp(_self) + let output: Val = ::bevy::math::Vec3A::exp( + _self.into(), + ) .into(); output }, @@ -11429,9 +12109,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "powf", |_self: Val, n: f32| { - let output: Val = bevy::math::Vec3A::powf( - _self, - n, + let output: Val = ::bevy::math::Vec3A::powf( + _self.into(), + n.into(), ) .into(); output @@ -11440,7 +12120,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "recip", |_self: Val| { - let output: Val = bevy::math::Vec3A::recip(_self) + let output: Val = ::bevy::math::Vec3A::recip( + _self.into(), + ) .into(); output }, @@ -11448,10 +12130,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "lerp", |_self: Val, rhs: Val, s: f32| { - let output: Val = bevy::math::Vec3A::lerp( - _self, - rhs, - s, + let output: Val = ::bevy::math::Vec3A::lerp( + _self.into(), + rhs.into(), + s.into(), ) .into(); output @@ -11460,10 +12142,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "move_towards", |_self: Ref, rhs: Val, d: f32| { - let output: Val = bevy::math::Vec3A::move_towards( - _self, - rhs, - d, + let output: Val = ::bevy::math::Vec3A::move_towards( + _self.into(), + rhs.into(), + d.into(), ) .into(); output @@ -11472,9 +12154,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "midpoint", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::midpoint( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::midpoint( + _self.into(), + rhs.into(), ) .into(); output @@ -11487,10 +12169,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f32| { - let output: bool = bevy::math::Vec3A::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::Vec3A::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -11499,10 +12181,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length", |_self: Val, min: f32, max: f32| { - let output: Val = bevy::math::Vec3A::clamp_length( - _self, - min, - max, + let output: Val = ::bevy::math::Vec3A::clamp_length( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -11511,9 +12193,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_max", |_self: Val, max: f32| { - let output: Val = bevy::math::Vec3A::clamp_length_max( - _self, - max, + let output: Val = ::bevy::math::Vec3A::clamp_length_max( + _self.into(), + max.into(), ) .into(); output @@ -11522,9 +12204,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_min", |_self: Val, min: f32| { - let output: Val = bevy::math::Vec3A::clamp_length_min( - _self, - min, + let output: Val = ::bevy::math::Vec3A::clamp_length_min( + _self.into(), + min.into(), ) .into(); output @@ -11537,10 +12219,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { a: Val, b: Val| { - let output: Val = bevy::math::Vec3A::mul_add( - _self, - a, - b, + let output: Val = ::bevy::math::Vec3A::mul_add( + _self.into(), + a.into(), + b.into(), ) .into(); output @@ -11549,9 +12231,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reflect", |_self: Val, normal: Val| { - let output: Val = bevy::math::Vec3A::reflect( - _self, - normal, + let output: Val = ::bevy::math::Vec3A::reflect( + _self.into(), + normal.into(), ) .into(); output @@ -11564,10 +12246,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { normal: Val, eta: f32| { - let output: Val = bevy::math::Vec3A::refract( - _self, - normal, - eta, + let output: Val = ::bevy::math::Vec3A::refract( + _self.into(), + normal.into(), + eta.into(), ) .into(); output @@ -11576,7 +12258,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "angle_between", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec3A::angle_between(_self, rhs) + let output: f32 = ::bevy::math::Vec3A::angle_between( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -11584,8 +12269,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "any_orthogonal_vector", |_self: Ref| { - let output: Val = bevy::math::Vec3A::any_orthogonal_vector( - _self, + let output: Val = ::bevy::math::Vec3A::any_orthogonal_vector( + _self.into(), ) .into(); output @@ -11594,8 +12279,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "any_orthonormal_vector", |_self: Ref| { - let output: Val = bevy::math::Vec3A::any_orthonormal_vector( - _self, + let output: Val = ::bevy::math::Vec3A::any_orthonormal_vector( + _self.into(), ) .into(); output @@ -11604,8 +12289,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec3", |_self: Ref| { - let output: Val = bevy::math::Vec3A::as_dvec3( - _self, + let output: Val = ::bevy::math::Vec3A::as_dvec3( + _self.into(), ) .into(); output @@ -11614,8 +12299,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec3", |_self: Ref| { - let output: Val = bevy::math::Vec3A::as_ivec3( - _self, + let output: Val = ::bevy::math::Vec3A::as_ivec3( + _self.into(), ) .into(); output @@ -11624,8 +12309,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec3", |_self: Ref| { - let output: Val = bevy::math::Vec3A::as_uvec3( - _self, + let output: Val = ::bevy::math::Vec3A::as_uvec3( + _self.into(), ) .into(); output @@ -11634,8 +12319,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec3", |_self: Ref| { - let output: Val = bevy::math::Vec3A::as_i64vec3( - _self, + let output: Val = ::bevy::math::Vec3A::as_i64vec3( + _self.into(), ) .into(); output @@ -11644,8 +12329,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec3", |_self: Ref| { - let output: Val = bevy::math::Vec3A::as_u64vec3( - _self, + let output: Val = ::bevy::math::Vec3A::as_u64vec3( + _self.into(), ) .into(); output @@ -11654,7 +12339,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::Vec3A::neg(_self) + let output: Val = ::bevy::math::Vec3A::neg( + _self.into(), + ) .into(); output }, @@ -11662,9 +12349,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec3A::sub( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -11673,7 +12360,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Vec3A::clone(_self) + let output: Val = ::bevy::math::Vec3A::clone( + _self.into(), + ) .into(); output }, @@ -11681,9 +12370,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec3A::add( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::add( + _self.into(), + rhs.into(), ) .into(); output @@ -11692,9 +12381,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec3A::add( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::add( + _self.into(), + rhs.into(), ) .into(); output @@ -11703,9 +12392,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::sub( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -11714,9 +12403,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::div( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::div( + _self.into(), + rhs.into(), ) .into(); output @@ -11725,9 +12414,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::add( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::add( + _self.into(), + rhs.into(), ) .into(); output @@ -11736,16 +12425,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::Vec3A::eq(_self, rhs).into(); + let output: bool = ::bevy::math::Vec3A::eq(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec3A::rem( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -11754,9 +12444,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec3A::rem( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -11765,9 +12455,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec3A::mul( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -11776,19 +12466,24 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec3A::mul( - _self, - rhs, + let output: Val = ::bevy::math::Vec3A::mul( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Vec4>::new(world) .overwrite_script_function( "new", |x: f32, y: f32, z: f32, w: f32| { - let output: Val = bevy::math::Vec4::new(x, y, z, w) + let output: Val = ::bevy::math::Vec4::new( + x.into(), + y.into(), + z.into(), + w.into(), + ) .into(); output }, @@ -11796,7 +12491,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: f32| { - let output: Val = bevy::math::Vec4::splat(v) + let output: Val = ::bevy::math::Vec4::splat( + v.into(), + ) .into(); output }, @@ -11808,10 +12505,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::Vec4::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::Vec4::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -11820,7 +12517,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [f32; 4]| { - let output: Val = bevy::math::Vec4::from_array(a) + let output: Val = ::bevy::math::Vec4::from_array( + a.into(), + ) .into(); output }, @@ -11828,14 +12527,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [f32; 4] = bevy::math::Vec4::to_array(_self).into(); + let output: [f32; 4] = ::bevy::math::Vec4::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "truncate", |_self: Val| { - let output: Val = bevy::math::Vec4::truncate(_self) + let output: Val = ::bevy::math::Vec4::truncate( + _self.into(), + ) .into(); output }, @@ -11843,9 +12545,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: f32| { - let output: Val = bevy::math::Vec4::with_x( - _self, - x, + let output: Val = ::bevy::math::Vec4::with_x( + _self.into(), + x.into(), ) .into(); output @@ -11854,9 +12556,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: f32| { - let output: Val = bevy::math::Vec4::with_y( - _self, - y, + let output: Val = ::bevy::math::Vec4::with_y( + _self.into(), + y.into(), ) .into(); output @@ -11865,9 +12567,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_z", |_self: Val, z: f32| { - let output: Val = bevy::math::Vec4::with_z( - _self, - z, + let output: Val = ::bevy::math::Vec4::with_z( + _self.into(), + z.into(), ) .into(); output @@ -11876,9 +12578,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_w", |_self: Val, w: f32| { - let output: Val = bevy::math::Vec4::with_w( - _self, - w, + let output: Val = ::bevy::math::Vec4::with_w( + _self.into(), + w.into(), ) .into(); output @@ -11887,16 +12589,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec4::dot(_self, rhs).into(); + let output: f32 = ::bevy::math::Vec4::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -11905,7 +12608,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::min(_self, rhs) + let output: Val = ::bevy::math::Vec4::min( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -11913,7 +12619,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::max(_self, rhs) + let output: Val = ::bevy::math::Vec4::max( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -11925,10 +12634,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::Vec4::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::Vec4::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -11937,37 +12646,41 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: f32 = bevy::math::Vec4::min_element(_self).into(); + let output: f32 = ::bevy::math::Vec4::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: f32 = bevy::math::Vec4::max_element(_self).into(); + let output: f32 = ::bevy::math::Vec4::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: f32 = bevy::math::Vec4::element_sum(_self).into(); + let output: f32 = ::bevy::math::Vec4::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: f32 = bevy::math::Vec4::element_product(_self).into(); + let output: f32 = ::bevy::math::Vec4::element_product(_self.into()) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -11976,9 +12689,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -11987,9 +12700,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -11998,9 +12711,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -12009,9 +12722,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::cmple( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -12020,9 +12733,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -12031,7 +12744,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Val| { - let output: Val = bevy::math::Vec4::abs(_self) + let output: Val = ::bevy::math::Vec4::abs( + _self.into(), + ) .into(); output }, @@ -12039,7 +12754,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "signum", |_self: Val| { - let output: Val = bevy::math::Vec4::signum(_self) + let output: Val = ::bevy::math::Vec4::signum( + _self.into(), + ) .into(); output }, @@ -12047,9 +12764,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "copysign", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::copysign( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::copysign( + _self.into(), + rhs.into(), ) .into(); output @@ -12058,7 +12775,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_negative_bitmask", |_self: Val| { - let output: u32 = bevy::math::Vec4::is_negative_bitmask(_self) + let output: u32 = ::bevy::math::Vec4::is_negative_bitmask( + _self.into(), + ) .into(); output }, @@ -12066,15 +12785,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Val| { - let output: bool = bevy::math::Vec4::is_finite(_self).into(); + let output: bool = ::bevy::math::Vec4::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_finite_mask", |_self: Val| { - let output: Val = bevy::math::Vec4::is_finite_mask( - _self, + let output: Val = ::bevy::math::Vec4::is_finite_mask( + _self.into(), ) .into(); output @@ -12083,15 +12803,15 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_nan", |_self: Val| { - let output: bool = bevy::math::Vec4::is_nan(_self).into(); + let output: bool = ::bevy::math::Vec4::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "is_nan_mask", |_self: Val| { - let output: Val = bevy::math::Vec4::is_nan_mask( - _self, + let output: Val = ::bevy::math::Vec4::is_nan_mask( + _self.into(), ) .into(); output @@ -12100,35 +12820,44 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length", |_self: Val| { - let output: f32 = bevy::math::Vec4::length(_self).into(); + let output: f32 = ::bevy::math::Vec4::length(_self.into()).into(); output }, ) .overwrite_script_function( "length_squared", |_self: Val| { - let output: f32 = bevy::math::Vec4::length_squared(_self).into(); + let output: f32 = ::bevy::math::Vec4::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "length_recip", |_self: Val| { - let output: f32 = bevy::math::Vec4::length_recip(_self).into(); + let output: f32 = ::bevy::math::Vec4::length_recip(_self.into()) + .into(); output }, ) .overwrite_script_function( "distance", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec4::distance(_self, rhs).into(); + let output: f32 = ::bevy::math::Vec4::distance( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "distance_squared", |_self: Val, rhs: Val| { - let output: f32 = bevy::math::Vec4::distance_squared(_self, rhs) + let output: f32 = ::bevy::math::Vec4::distance_squared( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12136,9 +12865,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::div_euclid( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::div_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -12147,9 +12876,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::rem_euclid( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::rem_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -12158,8 +12887,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize", |_self: Val| { - let output: Val = bevy::math::Vec4::normalize( - _self, + let output: Val = ::bevy::math::Vec4::normalize( + _self.into(), ) .into(); output @@ -12168,9 +12897,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or", |_self: Val, fallback: Val| { - let output: Val = bevy::math::Vec4::normalize_or( - _self, - fallback, + let output: Val = ::bevy::math::Vec4::normalize_or( + _self.into(), + fallback.into(), ) .into(); output @@ -12179,8 +12908,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or_zero", |_self: Val| { - let output: Val = bevy::math::Vec4::normalize_or_zero( - _self, + let output: Val = ::bevy::math::Vec4::normalize_or_zero( + _self.into(), ) .into(); output @@ -12189,16 +12918,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_normalized", |_self: Val| { - let output: bool = bevy::math::Vec4::is_normalized(_self).into(); + let output: bool = ::bevy::math::Vec4::is_normalized(_self.into()) + .into(); output }, ) .overwrite_script_function( "project_onto", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::project_onto( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::project_onto( + _self.into(), + rhs.into(), ) .into(); output @@ -12207,9 +12937,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::reject_from( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::reject_from( + _self.into(), + rhs.into(), ) .into(); output @@ -12218,9 +12948,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "project_onto_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::project_onto_normalized( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::project_onto_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -12229,9 +12959,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::reject_from_normalized( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::reject_from_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -12240,7 +12970,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "round", |_self: Val| { - let output: Val = bevy::math::Vec4::round(_self) + let output: Val = ::bevy::math::Vec4::round( + _self.into(), + ) .into(); output }, @@ -12248,7 +12980,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "floor", |_self: Val| { - let output: Val = bevy::math::Vec4::floor(_self) + let output: Val = ::bevy::math::Vec4::floor( + _self.into(), + ) .into(); output }, @@ -12256,7 +12990,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "ceil", |_self: Val| { - let output: Val = bevy::math::Vec4::ceil(_self) + let output: Val = ::bevy::math::Vec4::ceil( + _self.into(), + ) .into(); output }, @@ -12264,7 +13000,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "trunc", |_self: Val| { - let output: Val = bevy::math::Vec4::trunc(_self) + let output: Val = ::bevy::math::Vec4::trunc( + _self.into(), + ) .into(); output }, @@ -12272,7 +13010,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract", |_self: Val| { - let output: Val = bevy::math::Vec4::fract(_self) + let output: Val = ::bevy::math::Vec4::fract( + _self.into(), + ) .into(); output }, @@ -12280,7 +13020,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract_gl", |_self: Val| { - let output: Val = bevy::math::Vec4::fract_gl(_self) + let output: Val = ::bevy::math::Vec4::fract_gl( + _self.into(), + ) .into(); output }, @@ -12288,7 +13030,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "exp", |_self: Val| { - let output: Val = bevy::math::Vec4::exp(_self) + let output: Val = ::bevy::math::Vec4::exp( + _self.into(), + ) .into(); output }, @@ -12296,7 +13040,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "powf", |_self: Val, n: f32| { - let output: Val = bevy::math::Vec4::powf(_self, n) + let output: Val = ::bevy::math::Vec4::powf( + _self.into(), + n.into(), + ) .into(); output }, @@ -12304,7 +13051,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "recip", |_self: Val| { - let output: Val = bevy::math::Vec4::recip(_self) + let output: Val = ::bevy::math::Vec4::recip( + _self.into(), + ) .into(); output }, @@ -12312,10 +13061,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "lerp", |_self: Val, rhs: Val, s: f32| { - let output: Val = bevy::math::Vec4::lerp( - _self, - rhs, - s, + let output: Val = ::bevy::math::Vec4::lerp( + _self.into(), + rhs.into(), + s.into(), ) .into(); output @@ -12324,10 +13073,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "move_towards", |_self: Ref, rhs: Val, d: f32| { - let output: Val = bevy::math::Vec4::move_towards( - _self, - rhs, - d, + let output: Val = ::bevy::math::Vec4::move_towards( + _self.into(), + rhs.into(), + d.into(), ) .into(); output @@ -12336,9 +13085,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "midpoint", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::midpoint( - _self, - rhs, + let output: Val = ::bevy::math::Vec4::midpoint( + _self.into(), + rhs.into(), ) .into(); output @@ -12351,10 +13100,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f32| { - let output: bool = bevy::math::Vec4::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::Vec4::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -12363,10 +13112,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length", |_self: Val, min: f32, max: f32| { - let output: Val = bevy::math::Vec4::clamp_length( - _self, - min, - max, + let output: Val = ::bevy::math::Vec4::clamp_length( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -12375,9 +13124,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_max", |_self: Val, max: f32| { - let output: Val = bevy::math::Vec4::clamp_length_max( - _self, - max, + let output: Val = ::bevy::math::Vec4::clamp_length_max( + _self.into(), + max.into(), ) .into(); output @@ -12386,9 +13135,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_min", |_self: Val, min: f32| { - let output: Val = bevy::math::Vec4::clamp_length_min( - _self, - min, + let output: Val = ::bevy::math::Vec4::clamp_length_min( + _self.into(), + min.into(), ) .into(); output @@ -12401,10 +13150,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { a: Val, b: Val| { - let output: Val = bevy::math::Vec4::mul_add( - _self, - a, - b, + let output: Val = ::bevy::math::Vec4::mul_add( + _self.into(), + a.into(), + b.into(), ) .into(); output @@ -12413,9 +13162,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reflect", |_self: Val, normal: Val| { - let output: Val = bevy::math::Vec4::reflect( - _self, - normal, + let output: Val = ::bevy::math::Vec4::reflect( + _self.into(), + normal.into(), ) .into(); output @@ -12424,10 +13173,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "refract", |_self: Val, normal: Val, eta: f32| { - let output: Val = bevy::math::Vec4::refract( - _self, - normal, - eta, + let output: Val = ::bevy::math::Vec4::refract( + _self.into(), + normal.into(), + eta.into(), ) .into(); output @@ -12436,8 +13185,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dvec4", |_self: Ref| { - let output: Val = bevy::math::Vec4::as_dvec4( - _self, + let output: Val = ::bevy::math::Vec4::as_dvec4( + _self.into(), ) .into(); output @@ -12446,8 +13195,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec4", |_self: Ref| { - let output: Val = bevy::math::Vec4::as_ivec4( - _self, + let output: Val = ::bevy::math::Vec4::as_ivec4( + _self.into(), ) .into(); output @@ -12456,8 +13205,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec4", |_self: Ref| { - let output: Val = bevy::math::Vec4::as_uvec4( - _self, + let output: Val = ::bevy::math::Vec4::as_uvec4( + _self.into(), ) .into(); output @@ -12466,8 +13215,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec4", |_self: Ref| { - let output: Val = bevy::math::Vec4::as_i64vec4( - _self, + let output: Val = ::bevy::math::Vec4::as_i64vec4( + _self.into(), ) .into(); output @@ -12476,8 +13225,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec4", |_self: Ref| { - let output: Val = bevy::math::Vec4::as_u64vec4( - _self, + let output: Val = ::bevy::math::Vec4::as_u64vec4( + _self.into(), ) .into(); output @@ -12486,7 +13235,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::div(_self, rhs) + let output: Val = ::bevy::math::Vec4::div( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12494,7 +13246,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::rem(_self, rhs) + let output: Val = ::bevy::math::Vec4::rem( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12502,7 +13257,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec4::rem(_self, rhs) + let output: Val = ::bevy::math::Vec4::rem( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12510,7 +13268,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec4::add(_self, rhs) + let output: Val = ::bevy::math::Vec4::add( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12518,7 +13279,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::mul(_self, rhs) + let output: Val = ::bevy::math::Vec4::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12526,7 +13290,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec4::add(_self, rhs) + let output: Val = ::bevy::math::Vec4::add( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12534,7 +13301,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::sub(_self, rhs) + let output: Val = ::bevy::math::Vec4::sub( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12542,7 +13312,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec4::rem(_self, rhs) + let output: Val = ::bevy::math::Vec4::rem( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12550,7 +13323,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::Vec4::neg(_self) + let output: Val = ::bevy::math::Vec4::neg( + _self.into(), + ) .into(); output }, @@ -12558,7 +13333,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec4::sub(_self, rhs) + let output: Val = ::bevy::math::Vec4::sub( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12566,7 +13344,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec4::div(_self, rhs) + let output: Val = ::bevy::math::Vec4::div( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12574,7 +13355,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Vec4::add(_self, rhs) + let output: Val = ::bevy::math::Vec4::add( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12582,14 +13366,18 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::Vec4::eq(_self, rhs).into(); + let output: bool = ::bevy::math::Vec4::eq(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec4::sub(_self, rhs) + let output: Val = ::bevy::math::Vec4::sub( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12597,7 +13385,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec4::div(_self, rhs) + let output: Val = ::bevy::math::Vec4::div( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12605,7 +13396,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Vec4::clone(_self) + let output: Val = ::bevy::math::Vec4::clone( + _self.into(), + ) .into(); output }, @@ -12613,7 +13406,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Vec4::mul(_self, rhs) + let output: Val = ::bevy::math::Vec4::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -12621,17 +13417,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::Vec4::mul(_self, rhs) + let output: Val = ::bevy::math::Vec4::mul( + _self.into(), + rhs.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::BVec2>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::BVec2::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::BVec2::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -12640,7 +13439,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: bool, y: bool| { - let output: Val = bevy::math::BVec2::new(x, y) + let output: Val = ::bevy::math::BVec2::new( + x.into(), + y.into(), + ) .into(); output }, @@ -12648,7 +13450,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: bool| { - let output: Val = bevy::math::BVec2::splat(v) + let output: Val = ::bevy::math::BVec2::splat( + v.into(), + ) .into(); output }, @@ -12656,7 +13460,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [bool; 2]| { - let output: Val = bevy::math::BVec2::from_array(a) + let output: Val = ::bevy::math::BVec2::from_array( + a.into(), + ) .into(); output }, @@ -12664,42 +13470,53 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "bitmask", |_self: Val| { - let output: u32 = bevy::math::BVec2::bitmask(_self).into(); + let output: u32 = ::bevy::math::BVec2::bitmask(_self.into()).into(); output }, ) .overwrite_script_function( "any", |_self: Val| { - let output: bool = bevy::math::BVec2::any(_self).into(); + let output: bool = ::bevy::math::BVec2::any(_self.into()).into(); output }, ) .overwrite_script_function( "all", |_self: Val| { - let output: bool = bevy::math::BVec2::all(_self).into(); + let output: bool = ::bevy::math::BVec2::all(_self.into()).into(); output }, ) .overwrite_script_function( "test", |_self: Ref, index: usize| { - let output: bool = bevy::math::BVec2::test(_self, index).into(); + let output: bool = ::bevy::math::BVec2::test( + _self.into(), + index.into(), + ) + .into(); output }, ) .overwrite_script_function( "set", |_self: Mut, index: usize, value: bool| { - let output: () = bevy::math::BVec2::set(_self, index, value).into(); + let output: () = ::bevy::math::BVec2::set( + _self.into(), + index.into(), + value.into(), + ) + .into(); output }, ) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::BVec2::clone(_self) + let output: Val = ::bevy::math::BVec2::clone( + _self.into(), + ) .into(); output }, @@ -12707,16 +13524,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::BVec2::eq(_self, other).into(); + let output: bool = ::bevy::math::BVec2::eq( + _self.into(), + other.into(), + ) + .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::BVec3>::new(world) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::BVec3::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::BVec3::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -12725,7 +13546,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: bool, y: bool, z: bool| { - let output: Val = bevy::math::BVec3::new(x, y, z) + let output: Val = ::bevy::math::BVec3::new( + x.into(), + y.into(), + z.into(), + ) .into(); output }, @@ -12733,7 +13558,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: bool| { - let output: Val = bevy::math::BVec3::splat(v) + let output: Val = ::bevy::math::BVec3::splat( + v.into(), + ) .into(); output }, @@ -12741,7 +13568,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [bool; 3]| { - let output: Val = bevy::math::BVec3::from_array(a) + let output: Val = ::bevy::math::BVec3::from_array( + a.into(), + ) .into(); output }, @@ -12749,42 +13578,53 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "bitmask", |_self: Val| { - let output: u32 = bevy::math::BVec3::bitmask(_self).into(); + let output: u32 = ::bevy::math::BVec3::bitmask(_self.into()).into(); output }, ) .overwrite_script_function( "any", |_self: Val| { - let output: bool = bevy::math::BVec3::any(_self).into(); + let output: bool = ::bevy::math::BVec3::any(_self.into()).into(); output }, ) .overwrite_script_function( "all", |_self: Val| { - let output: bool = bevy::math::BVec3::all(_self).into(); + let output: bool = ::bevy::math::BVec3::all(_self.into()).into(); output }, ) .overwrite_script_function( "test", |_self: Ref, index: usize| { - let output: bool = bevy::math::BVec3::test(_self, index).into(); + let output: bool = ::bevy::math::BVec3::test( + _self.into(), + index.into(), + ) + .into(); output }, ) .overwrite_script_function( "set", |_self: Mut, index: usize, value: bool| { - let output: () = bevy::math::BVec3::set(_self, index, value).into(); + let output: () = ::bevy::math::BVec3::set( + _self.into(), + index.into(), + value.into(), + ) + .into(); output }, ) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::BVec3::clone(_self) + let output: Val = ::bevy::math::BVec3::clone( + _self.into(), + ) .into(); output }, @@ -12792,15 +13632,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::BVec3::eq(_self, other).into(); + let output: bool = ::bevy::math::BVec3::eq( + _self.into(), + other.into(), + ) + .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::BVec4>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::BVec4::clone(_self) + let output: Val = ::bevy::math::BVec4::clone( + _self.into(), + ) .into(); output }, @@ -12808,15 +13654,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::BVec4::eq(_self, other).into(); + let output: bool = ::bevy::math::BVec4::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::BVec4::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::BVec4::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -12825,11 +13675,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: bool, y: bool, z: bool, w: bool| { - let output: Val = bevy::math::BVec4::new( - x, - y, - z, - w, + let output: Val = ::bevy::math::BVec4::new( + x.into(), + y.into(), + z.into(), + w.into(), ) .into(); output @@ -12838,7 +13688,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: bool| { - let output: Val = bevy::math::BVec4::splat(v) + let output: Val = ::bevy::math::BVec4::splat( + v.into(), + ) .into(); output }, @@ -12846,7 +13698,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [bool; 4]| { - let output: Val = bevy::math::BVec4::from_array(a) + let output: Val = ::bevy::math::BVec4::from_array( + a.into(), + ) .into(); output }, @@ -12854,45 +13708,54 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "bitmask", |_self: Val| { - let output: u32 = bevy::math::BVec4::bitmask(_self).into(); + let output: u32 = ::bevy::math::BVec4::bitmask(_self.into()).into(); output }, ) .overwrite_script_function( "any", |_self: Val| { - let output: bool = bevy::math::BVec4::any(_self).into(); + let output: bool = ::bevy::math::BVec4::any(_self.into()).into(); output }, ) .overwrite_script_function( "all", |_self: Val| { - let output: bool = bevy::math::BVec4::all(_self).into(); + let output: bool = ::bevy::math::BVec4::all(_self.into()).into(); output }, ) .overwrite_script_function( "test", |_self: Ref, index: usize| { - let output: bool = bevy::math::BVec4::test(_self, index).into(); + let output: bool = ::bevy::math::BVec4::test( + _self.into(), + index.into(), + ) + .into(); output }, ) .overwrite_script_function( "set", |_self: Mut, index: usize, value: bool| { - let output: () = bevy::math::BVec4::set(_self, index, value).into(); + let output: () = ::bevy::math::BVec4::set( + _self.into(), + index.into(), + value.into(), + ) + .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::DVec2>::new(world) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -12901,9 +13764,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -12912,9 +13775,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::add( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -12923,7 +13786,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: f64, y: f64| { - let output: Val = bevy::math::DVec2::new(x, y) + let output: Val = ::bevy::math::DVec2::new( + x.into(), + y.into(), + ) .into(); output }, @@ -12931,7 +13797,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: f64| { - let output: Val = bevy::math::DVec2::splat(v) + let output: Val = ::bevy::math::DVec2::splat( + v.into(), + ) .into(); output }, @@ -12943,10 +13811,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::DVec2::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::DVec2::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -12955,7 +13823,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [f64; 2]| { - let output: Val = bevy::math::DVec2::from_array(a) + let output: Val = ::bevy::math::DVec2::from_array( + a.into(), + ) .into(); output }, @@ -12963,16 +13833,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [f64; 2] = bevy::math::DVec2::to_array(_self).into(); + let output: [f64; 2] = ::bevy::math::DVec2::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "extend", |_self: Val, z: f64| { - let output: Val = bevy::math::DVec2::extend( - _self, - z, + let output: Val = ::bevy::math::DVec2::extend( + _self.into(), + z.into(), ) .into(); output @@ -12981,9 +13852,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: f64| { - let output: Val = bevy::math::DVec2::with_x( - _self, - x, + let output: Val = ::bevy::math::DVec2::with_x( + _self.into(), + x.into(), ) .into(); output @@ -12992,9 +13863,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: f64| { - let output: Val = bevy::math::DVec2::with_y( - _self, - y, + let output: Val = ::bevy::math::DVec2::with_y( + _self.into(), + y.into(), ) .into(); output @@ -13003,16 +13874,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DVec2::dot(_self, rhs).into(); + let output: f64 = ::bevy::math::DVec2::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -13021,9 +13893,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::min( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::min( + _self.into(), + rhs.into(), ) .into(); output @@ -13032,9 +13904,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::max( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::max( + _self.into(), + rhs.into(), ) .into(); output @@ -13047,10 +13919,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::DVec2::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::DVec2::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -13059,37 +13931,41 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: f64 = bevy::math::DVec2::min_element(_self).into(); + let output: f64 = ::bevy::math::DVec2::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: f64 = bevy::math::DVec2::max_element(_self).into(); + let output: f64 = ::bevy::math::DVec2::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: f64 = bevy::math::DVec2::element_sum(_self).into(); + let output: f64 = ::bevy::math::DVec2::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: f64 = bevy::math::DVec2::element_product(_self).into(); + let output: f64 = ::bevy::math::DVec2::element_product(_self.into()) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -13098,9 +13974,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -13109,9 +13985,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -13120,9 +13996,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -13131,9 +14007,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::cmple( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -13142,9 +14018,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -13153,7 +14029,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Val| { - let output: Val = bevy::math::DVec2::abs(_self) + let output: Val = ::bevy::math::DVec2::abs( + _self.into(), + ) .into(); output }, @@ -13161,7 +14039,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "signum", |_self: Val| { - let output: Val = bevy::math::DVec2::signum(_self) + let output: Val = ::bevy::math::DVec2::signum( + _self.into(), + ) .into(); output }, @@ -13169,9 +14049,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "copysign", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::copysign( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::copysign( + _self.into(), + rhs.into(), ) .into(); output @@ -13180,7 +14060,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_negative_bitmask", |_self: Val| { - let output: u32 = bevy::math::DVec2::is_negative_bitmask(_self) + let output: u32 = ::bevy::math::DVec2::is_negative_bitmask( + _self.into(), + ) .into(); output }, @@ -13188,15 +14070,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Val| { - let output: bool = bevy::math::DVec2::is_finite(_self).into(); + let output: bool = ::bevy::math::DVec2::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_finite_mask", |_self: Val| { - let output: Val = bevy::math::DVec2::is_finite_mask( - _self, + let output: Val = ::bevy::math::DVec2::is_finite_mask( + _self.into(), ) .into(); output @@ -13205,15 +14088,15 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_nan", |_self: Val| { - let output: bool = bevy::math::DVec2::is_nan(_self).into(); + let output: bool = ::bevy::math::DVec2::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "is_nan_mask", |_self: Val| { - let output: Val = bevy::math::DVec2::is_nan_mask( - _self, + let output: Val = ::bevy::math::DVec2::is_nan_mask( + _self.into(), ) .into(); output @@ -13222,35 +14105,44 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length", |_self: Val| { - let output: f64 = bevy::math::DVec2::length(_self).into(); + let output: f64 = ::bevy::math::DVec2::length(_self.into()).into(); output }, ) .overwrite_script_function( "length_squared", |_self: Val| { - let output: f64 = bevy::math::DVec2::length_squared(_self).into(); + let output: f64 = ::bevy::math::DVec2::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "length_recip", |_self: Val| { - let output: f64 = bevy::math::DVec2::length_recip(_self).into(); + let output: f64 = ::bevy::math::DVec2::length_recip(_self.into()) + .into(); output }, ) .overwrite_script_function( "distance", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DVec2::distance(_self, rhs).into(); + let output: f64 = ::bevy::math::DVec2::distance( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "distance_squared", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DVec2::distance_squared(_self, rhs) + let output: f64 = ::bevy::math::DVec2::distance_squared( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -13258,9 +14150,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::div_euclid( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::div_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -13269,9 +14161,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::rem_euclid( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::rem_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -13280,8 +14172,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize", |_self: Val| { - let output: Val = bevy::math::DVec2::normalize( - _self, + let output: Val = ::bevy::math::DVec2::normalize( + _self.into(), ) .into(); output @@ -13290,9 +14182,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or", |_self: Val, fallback: Val| { - let output: Val = bevy::math::DVec2::normalize_or( - _self, - fallback, + let output: Val = ::bevy::math::DVec2::normalize_or( + _self.into(), + fallback.into(), ) .into(); output @@ -13301,8 +14193,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or_zero", |_self: Val| { - let output: Val = bevy::math::DVec2::normalize_or_zero( - _self, + let output: Val = ::bevy::math::DVec2::normalize_or_zero( + _self.into(), ) .into(); output @@ -13311,16 +14203,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_normalized", |_self: Val| { - let output: bool = bevy::math::DVec2::is_normalized(_self).into(); + let output: bool = ::bevy::math::DVec2::is_normalized(_self.into()) + .into(); output }, ) .overwrite_script_function( "project_onto", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::project_onto( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::project_onto( + _self.into(), + rhs.into(), ) .into(); output @@ -13329,9 +14222,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::reject_from( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::reject_from( + _self.into(), + rhs.into(), ) .into(); output @@ -13340,9 +14233,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "project_onto_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::project_onto_normalized( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::project_onto_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -13351,9 +14244,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::reject_from_normalized( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::reject_from_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -13362,7 +14255,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "round", |_self: Val| { - let output: Val = bevy::math::DVec2::round(_self) + let output: Val = ::bevy::math::DVec2::round( + _self.into(), + ) .into(); output }, @@ -13370,7 +14265,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "floor", |_self: Val| { - let output: Val = bevy::math::DVec2::floor(_self) + let output: Val = ::bevy::math::DVec2::floor( + _self.into(), + ) .into(); output }, @@ -13378,7 +14275,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "ceil", |_self: Val| { - let output: Val = bevy::math::DVec2::ceil(_self) + let output: Val = ::bevy::math::DVec2::ceil( + _self.into(), + ) .into(); output }, @@ -13386,7 +14285,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "trunc", |_self: Val| { - let output: Val = bevy::math::DVec2::trunc(_self) + let output: Val = ::bevy::math::DVec2::trunc( + _self.into(), + ) .into(); output }, @@ -13394,7 +14295,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract", |_self: Val| { - let output: Val = bevy::math::DVec2::fract(_self) + let output: Val = ::bevy::math::DVec2::fract( + _self.into(), + ) .into(); output }, @@ -13402,8 +14305,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract_gl", |_self: Val| { - let output: Val = bevy::math::DVec2::fract_gl( - _self, + let output: Val = ::bevy::math::DVec2::fract_gl( + _self.into(), ) .into(); output @@ -13412,7 +14315,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "exp", |_self: Val| { - let output: Val = bevy::math::DVec2::exp(_self) + let output: Val = ::bevy::math::DVec2::exp( + _self.into(), + ) .into(); output }, @@ -13420,9 +14325,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "powf", |_self: Val, n: f64| { - let output: Val = bevy::math::DVec2::powf( - _self, - n, + let output: Val = ::bevy::math::DVec2::powf( + _self.into(), + n.into(), ) .into(); output @@ -13431,7 +14336,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "recip", |_self: Val| { - let output: Val = bevy::math::DVec2::recip(_self) + let output: Val = ::bevy::math::DVec2::recip( + _self.into(), + ) .into(); output }, @@ -13439,10 +14346,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "lerp", |_self: Val, rhs: Val, s: f64| { - let output: Val = bevy::math::DVec2::lerp( - _self, - rhs, - s, + let output: Val = ::bevy::math::DVec2::lerp( + _self.into(), + rhs.into(), + s.into(), ) .into(); output @@ -13451,10 +14358,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "move_towards", |_self: Ref, rhs: Val, d: f64| { - let output: Val = bevy::math::DVec2::move_towards( - _self, - rhs, - d, + let output: Val = ::bevy::math::DVec2::move_towards( + _self.into(), + rhs.into(), + d.into(), ) .into(); output @@ -13463,9 +14370,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "midpoint", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::midpoint( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::midpoint( + _self.into(), + rhs.into(), ) .into(); output @@ -13478,10 +14385,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f64| { - let output: bool = bevy::math::DVec2::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::DVec2::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -13490,10 +14397,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length", |_self: Val, min: f64, max: f64| { - let output: Val = bevy::math::DVec2::clamp_length( - _self, - min, - max, + let output: Val = ::bevy::math::DVec2::clamp_length( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -13502,9 +14409,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_max", |_self: Val, max: f64| { - let output: Val = bevy::math::DVec2::clamp_length_max( - _self, - max, + let output: Val = ::bevy::math::DVec2::clamp_length_max( + _self.into(), + max.into(), ) .into(); output @@ -13513,9 +14420,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_min", |_self: Val, min: f64| { - let output: Val = bevy::math::DVec2::clamp_length_min( - _self, - min, + let output: Val = ::bevy::math::DVec2::clamp_length_min( + _self.into(), + min.into(), ) .into(); output @@ -13528,10 +14435,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { a: Val, b: Val| { - let output: Val = bevy::math::DVec2::mul_add( - _self, - a, - b, + let output: Val = ::bevy::math::DVec2::mul_add( + _self.into(), + a.into(), + b.into(), ) .into(); output @@ -13540,9 +14447,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reflect", |_self: Val, normal: Val| { - let output: Val = bevy::math::DVec2::reflect( - _self, - normal, + let output: Val = ::bevy::math::DVec2::reflect( + _self.into(), + normal.into(), ) .into(); output @@ -13555,10 +14462,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { normal: Val, eta: f64| { - let output: Val = bevy::math::DVec2::refract( - _self, - normal, - eta, + let output: Val = ::bevy::math::DVec2::refract( + _self.into(), + normal.into(), + eta.into(), ) .into(); output @@ -13567,8 +14474,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_angle", |angle: f64| { - let output: Val = bevy::math::DVec2::from_angle( - angle, + let output: Val = ::bevy::math::DVec2::from_angle( + angle.into(), ) .into(); output @@ -13577,14 +14484,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_angle", |_self: Val| { - let output: f64 = bevy::math::DVec2::to_angle(_self).into(); + let output: f64 = ::bevy::math::DVec2::to_angle(_self.into()).into(); output }, ) .overwrite_script_function( "angle_between", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DVec2::angle_between(_self, rhs) + let output: f64 = ::bevy::math::DVec2::angle_between( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -13592,14 +14502,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "angle_to", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DVec2::angle_to(_self, rhs).into(); + let output: f64 = ::bevy::math::DVec2::angle_to( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "perp", |_self: Val| { - let output: Val = bevy::math::DVec2::perp(_self) + let output: Val = ::bevy::math::DVec2::perp( + _self.into(), + ) .into(); output }, @@ -13607,16 +14523,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perp_dot", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DVec2::perp_dot(_self, rhs).into(); + let output: f64 = ::bevy::math::DVec2::perp_dot( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "rotate", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::rotate( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::rotate( + _self.into(), + rhs.into(), ) .into(); output @@ -13629,10 +14549,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_angle: f64| { - let output: Val = bevy::math::DVec2::rotate_towards( - _self, - rhs, - max_angle, + let output: Val = ::bevy::math::DVec2::rotate_towards( + _self.into(), + rhs.into(), + max_angle.into(), ) .into(); output @@ -13641,7 +14561,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec2", |_self: Ref| { - let output: Val = bevy::math::DVec2::as_vec2(_self) + let output: Val = ::bevy::math::DVec2::as_vec2( + _self.into(), + ) .into(); output }, @@ -13649,8 +14571,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec2", |_self: Ref| { - let output: Val = bevy::math::DVec2::as_ivec2( - _self, + let output: Val = ::bevy::math::DVec2::as_ivec2( + _self.into(), ) .into(); output @@ -13659,8 +14581,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec2", |_self: Ref| { - let output: Val = bevy::math::DVec2::as_uvec2( - _self, + let output: Val = ::bevy::math::DVec2::as_uvec2( + _self.into(), ) .into(); output @@ -13669,8 +14591,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec2", |_self: Ref| { - let output: Val = bevy::math::DVec2::as_i64vec2( - _self, + let output: Val = ::bevy::math::DVec2::as_i64vec2( + _self.into(), ) .into(); output @@ -13679,8 +14601,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec2", |_self: Ref| { - let output: Val = bevy::math::DVec2::as_u64vec2( - _self, + let output: Val = ::bevy::math::DVec2::as_u64vec2( + _self.into(), ) .into(); output @@ -13689,9 +14611,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::div( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::div( + _self.into(), + rhs.into(), ) .into(); output @@ -13700,9 +14622,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec2::div( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::div( + _self.into(), + rhs.into(), ) .into(); output @@ -13711,9 +14633,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -13722,9 +14644,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -13733,9 +14655,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -13744,7 +14666,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::DVec2::neg(_self) + let output: Val = ::bevy::math::DVec2::neg( + _self.into(), + ) .into(); output }, @@ -13752,9 +14676,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec2::add( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -13763,16 +14687,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::DVec2::eq(_self, other).into(); + let output: bool = ::bevy::math::DVec2::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec2::rem( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -13781,9 +14709,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -13792,9 +14720,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec2::sub( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -13803,9 +14731,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec2::mul( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -13814,9 +14742,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec2::add( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -13825,7 +14753,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::DVec2::clone(_self) + let output: Val = ::bevy::math::DVec2::clone( + _self.into(), + ) .into(); output }, @@ -13833,21 +14763,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec2::div( - _self, - rhs, + let output: Val = ::bevy::math::DVec2::div( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::DVec3>::new(world) .overwrite_script_function( "div", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec3::div( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -13856,9 +14786,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -13867,9 +14797,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec3::add( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -13878,9 +14808,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::div( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -13889,7 +14819,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::DVec3::neg(_self) + let output: Val = ::bevy::math::DVec3::neg( + _self.into(), + ) .into(); output }, @@ -13897,16 +14829,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::DVec3::eq(_self, other).into(); + let output: bool = ::bevy::math::DVec3::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "rem", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -13915,9 +14851,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::add( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -13926,9 +14862,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -13937,9 +14873,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec3::add( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -13948,9 +14884,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -13959,9 +14895,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec3::div( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::div( + _self.into(), + rhs.into(), ) .into(); output @@ -13970,9 +14906,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -13981,9 +14917,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::rem( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -13992,7 +14928,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: f64, y: f64, z: f64| { - let output: Val = bevy::math::DVec3::new(x, y, z) + let output: Val = ::bevy::math::DVec3::new( + x.into(), + y.into(), + z.into(), + ) .into(); output }, @@ -14000,7 +14940,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: f64| { - let output: Val = bevy::math::DVec3::splat(v) + let output: Val = ::bevy::math::DVec3::splat( + v.into(), + ) .into(); output }, @@ -14012,10 +14954,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::DVec3::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::DVec3::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -14024,7 +14966,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [f64; 3]| { - let output: Val = bevy::math::DVec3::from_array(a) + let output: Val = ::bevy::math::DVec3::from_array( + a.into(), + ) .into(); output }, @@ -14032,16 +14976,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [f64; 3] = bevy::math::DVec3::to_array(_self).into(); + let output: [f64; 3] = ::bevy::math::DVec3::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "extend", |_self: Val, w: f64| { - let output: Val = bevy::math::DVec3::extend( - _self, - w, + let output: Val = ::bevy::math::DVec3::extend( + _self.into(), + w.into(), ) .into(); output @@ -14050,8 +14995,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "truncate", |_self: Val| { - let output: Val = bevy::math::DVec3::truncate( - _self, + let output: Val = ::bevy::math::DVec3::truncate( + _self.into(), ) .into(); output @@ -14060,9 +15005,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: f64| { - let output: Val = bevy::math::DVec3::with_x( - _self, - x, + let output: Val = ::bevy::math::DVec3::with_x( + _self.into(), + x.into(), ) .into(); output @@ -14071,9 +15016,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: f64| { - let output: Val = bevy::math::DVec3::with_y( - _self, - y, + let output: Val = ::bevy::math::DVec3::with_y( + _self.into(), + y.into(), ) .into(); output @@ -14082,9 +15027,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_z", |_self: Val, z: f64| { - let output: Val = bevy::math::DVec3::with_z( - _self, - z, + let output: Val = ::bevy::math::DVec3::with_z( + _self.into(), + z.into(), ) .into(); output @@ -14093,16 +15038,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DVec3::dot(_self, rhs).into(); + let output: f64 = ::bevy::math::DVec3::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -14111,9 +15057,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cross", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::cross( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::cross( + _self.into(), + rhs.into(), ) .into(); output @@ -14122,9 +15068,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::min( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::min( + _self.into(), + rhs.into(), ) .into(); output @@ -14133,9 +15079,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::max( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::max( + _self.into(), + rhs.into(), ) .into(); output @@ -14148,10 +15094,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::DVec3::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::DVec3::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -14160,37 +15106,41 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: f64 = bevy::math::DVec3::min_element(_self).into(); + let output: f64 = ::bevy::math::DVec3::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: f64 = bevy::math::DVec3::max_element(_self).into(); + let output: f64 = ::bevy::math::DVec3::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: f64 = bevy::math::DVec3::element_sum(_self).into(); + let output: f64 = ::bevy::math::DVec3::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: f64 = bevy::math::DVec3::element_product(_self).into(); + let output: f64 = ::bevy::math::DVec3::element_product(_self.into()) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -14199,9 +15149,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -14210,9 +15160,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -14221,9 +15171,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -14232,9 +15182,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::cmple( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -14243,9 +15193,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -14254,7 +15204,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Val| { - let output: Val = bevy::math::DVec3::abs(_self) + let output: Val = ::bevy::math::DVec3::abs( + _self.into(), + ) .into(); output }, @@ -14262,7 +15214,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "signum", |_self: Val| { - let output: Val = bevy::math::DVec3::signum(_self) + let output: Val = ::bevy::math::DVec3::signum( + _self.into(), + ) .into(); output }, @@ -14270,9 +15224,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "copysign", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::copysign( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::copysign( + _self.into(), + rhs.into(), ) .into(); output @@ -14281,7 +15235,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_negative_bitmask", |_self: Val| { - let output: u32 = bevy::math::DVec3::is_negative_bitmask(_self) + let output: u32 = ::bevy::math::DVec3::is_negative_bitmask( + _self.into(), + ) .into(); output }, @@ -14289,15 +15245,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Val| { - let output: bool = bevy::math::DVec3::is_finite(_self).into(); + let output: bool = ::bevy::math::DVec3::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_finite_mask", |_self: Val| { - let output: Val = bevy::math::DVec3::is_finite_mask( - _self, + let output: Val = ::bevy::math::DVec3::is_finite_mask( + _self.into(), ) .into(); output @@ -14306,15 +15263,15 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_nan", |_self: Val| { - let output: bool = bevy::math::DVec3::is_nan(_self).into(); + let output: bool = ::bevy::math::DVec3::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "is_nan_mask", |_self: Val| { - let output: Val = bevy::math::DVec3::is_nan_mask( - _self, + let output: Val = ::bevy::math::DVec3::is_nan_mask( + _self.into(), ) .into(); output @@ -14323,35 +15280,44 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length", |_self: Val| { - let output: f64 = bevy::math::DVec3::length(_self).into(); + let output: f64 = ::bevy::math::DVec3::length(_self.into()).into(); output }, ) .overwrite_script_function( "length_squared", |_self: Val| { - let output: f64 = bevy::math::DVec3::length_squared(_self).into(); + let output: f64 = ::bevy::math::DVec3::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "length_recip", |_self: Val| { - let output: f64 = bevy::math::DVec3::length_recip(_self).into(); + let output: f64 = ::bevy::math::DVec3::length_recip(_self.into()) + .into(); output }, ) .overwrite_script_function( "distance", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DVec3::distance(_self, rhs).into(); + let output: f64 = ::bevy::math::DVec3::distance( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "distance_squared", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DVec3::distance_squared(_self, rhs) + let output: f64 = ::bevy::math::DVec3::distance_squared( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -14359,9 +15325,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::div_euclid( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::div_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -14370,9 +15336,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::rem_euclid( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::rem_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -14381,8 +15347,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize", |_self: Val| { - let output: Val = bevy::math::DVec3::normalize( - _self, + let output: Val = ::bevy::math::DVec3::normalize( + _self.into(), ) .into(); output @@ -14391,9 +15357,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or", |_self: Val, fallback: Val| { - let output: Val = bevy::math::DVec3::normalize_or( - _self, - fallback, + let output: Val = ::bevy::math::DVec3::normalize_or( + _self.into(), + fallback.into(), ) .into(); output @@ -14402,8 +15368,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or_zero", |_self: Val| { - let output: Val = bevy::math::DVec3::normalize_or_zero( - _self, + let output: Val = ::bevy::math::DVec3::normalize_or_zero( + _self.into(), ) .into(); output @@ -14412,16 +15378,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_normalized", |_self: Val| { - let output: bool = bevy::math::DVec3::is_normalized(_self).into(); + let output: bool = ::bevy::math::DVec3::is_normalized(_self.into()) + .into(); output }, ) .overwrite_script_function( "project_onto", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::project_onto( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::project_onto( + _self.into(), + rhs.into(), ) .into(); output @@ -14430,9 +15397,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::reject_from( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::reject_from( + _self.into(), + rhs.into(), ) .into(); output @@ -14441,9 +15408,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "project_onto_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::project_onto_normalized( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::project_onto_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -14452,9 +15419,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::reject_from_normalized( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::reject_from_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -14463,7 +15430,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "round", |_self: Val| { - let output: Val = bevy::math::DVec3::round(_self) + let output: Val = ::bevy::math::DVec3::round( + _self.into(), + ) .into(); output }, @@ -14471,7 +15440,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "floor", |_self: Val| { - let output: Val = bevy::math::DVec3::floor(_self) + let output: Val = ::bevy::math::DVec3::floor( + _self.into(), + ) .into(); output }, @@ -14479,7 +15450,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "ceil", |_self: Val| { - let output: Val = bevy::math::DVec3::ceil(_self) + let output: Val = ::bevy::math::DVec3::ceil( + _self.into(), + ) .into(); output }, @@ -14487,7 +15460,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "trunc", |_self: Val| { - let output: Val = bevy::math::DVec3::trunc(_self) + let output: Val = ::bevy::math::DVec3::trunc( + _self.into(), + ) .into(); output }, @@ -14495,7 +15470,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract", |_self: Val| { - let output: Val = bevy::math::DVec3::fract(_self) + let output: Val = ::bevy::math::DVec3::fract( + _self.into(), + ) .into(); output }, @@ -14503,8 +15480,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract_gl", |_self: Val| { - let output: Val = bevy::math::DVec3::fract_gl( - _self, + let output: Val = ::bevy::math::DVec3::fract_gl( + _self.into(), ) .into(); output @@ -14513,7 +15490,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "exp", |_self: Val| { - let output: Val = bevy::math::DVec3::exp(_self) + let output: Val = ::bevy::math::DVec3::exp( + _self.into(), + ) .into(); output }, @@ -14521,9 +15500,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "powf", |_self: Val, n: f64| { - let output: Val = bevy::math::DVec3::powf( - _self, - n, + let output: Val = ::bevy::math::DVec3::powf( + _self.into(), + n.into(), ) .into(); output @@ -14532,7 +15511,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "recip", |_self: Val| { - let output: Val = bevy::math::DVec3::recip(_self) + let output: Val = ::bevy::math::DVec3::recip( + _self.into(), + ) .into(); output }, @@ -14540,10 +15521,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "lerp", |_self: Val, rhs: Val, s: f64| { - let output: Val = bevy::math::DVec3::lerp( - _self, - rhs, - s, + let output: Val = ::bevy::math::DVec3::lerp( + _self.into(), + rhs.into(), + s.into(), ) .into(); output @@ -14552,10 +15533,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "move_towards", |_self: Ref, rhs: Val, d: f64| { - let output: Val = bevy::math::DVec3::move_towards( - _self, - rhs, - d, + let output: Val = ::bevy::math::DVec3::move_towards( + _self.into(), + rhs.into(), + d.into(), ) .into(); output @@ -14564,9 +15545,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "midpoint", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::midpoint( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::midpoint( + _self.into(), + rhs.into(), ) .into(); output @@ -14579,10 +15560,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f64| { - let output: bool = bevy::math::DVec3::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::DVec3::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -14591,10 +15572,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length", |_self: Val, min: f64, max: f64| { - let output: Val = bevy::math::DVec3::clamp_length( - _self, - min, - max, + let output: Val = ::bevy::math::DVec3::clamp_length( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -14603,9 +15584,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_max", |_self: Val, max: f64| { - let output: Val = bevy::math::DVec3::clamp_length_max( - _self, - max, + let output: Val = ::bevy::math::DVec3::clamp_length_max( + _self.into(), + max.into(), ) .into(); output @@ -14614,9 +15595,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_min", |_self: Val, min: f64| { - let output: Val = bevy::math::DVec3::clamp_length_min( - _self, - min, + let output: Val = ::bevy::math::DVec3::clamp_length_min( + _self.into(), + min.into(), ) .into(); output @@ -14629,10 +15610,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { a: Val, b: Val| { - let output: Val = bevy::math::DVec3::mul_add( - _self, - a, - b, + let output: Val = ::bevy::math::DVec3::mul_add( + _self.into(), + a.into(), + b.into(), ) .into(); output @@ -14641,9 +15622,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reflect", |_self: Val, normal: Val| { - let output: Val = bevy::math::DVec3::reflect( - _self, - normal, + let output: Val = ::bevy::math::DVec3::reflect( + _self.into(), + normal.into(), ) .into(); output @@ -14656,10 +15637,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { normal: Val, eta: f64| { - let output: Val = bevy::math::DVec3::refract( - _self, - normal, - eta, + let output: Val = ::bevy::math::DVec3::refract( + _self.into(), + normal.into(), + eta.into(), ) .into(); output @@ -14668,7 +15649,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "angle_between", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DVec3::angle_between(_self, rhs) + let output: f64 = ::bevy::math::DVec3::angle_between( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -14676,8 +15660,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "any_orthogonal_vector", |_self: Ref| { - let output: Val = bevy::math::DVec3::any_orthogonal_vector( - _self, + let output: Val = ::bevy::math::DVec3::any_orthogonal_vector( + _self.into(), ) .into(); output @@ -14686,8 +15670,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "any_orthonormal_vector", |_self: Ref| { - let output: Val = bevy::math::DVec3::any_orthonormal_vector( - _self, + let output: Val = ::bevy::math::DVec3::any_orthonormal_vector( + _self.into(), ) .into(); output @@ -14696,7 +15680,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec3", |_self: Ref| { - let output: Val = bevy::math::DVec3::as_vec3(_self) + let output: Val = ::bevy::math::DVec3::as_vec3( + _self.into(), + ) .into(); output }, @@ -14704,8 +15690,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec3a", |_self: Ref| { - let output: Val = bevy::math::DVec3::as_vec3a( - _self, + let output: Val = ::bevy::math::DVec3::as_vec3a( + _self.into(), ) .into(); output @@ -14714,8 +15700,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec3", |_self: Ref| { - let output: Val = bevy::math::DVec3::as_ivec3( - _self, + let output: Val = ::bevy::math::DVec3::as_ivec3( + _self.into(), ) .into(); output @@ -14724,8 +15710,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec3", |_self: Ref| { - let output: Val = bevy::math::DVec3::as_uvec3( - _self, + let output: Val = ::bevy::math::DVec3::as_uvec3( + _self.into(), ) .into(); output @@ -14734,8 +15720,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec3", |_self: Ref| { - let output: Val = bevy::math::DVec3::as_i64vec3( - _self, + let output: Val = ::bevy::math::DVec3::as_i64vec3( + _self.into(), ) .into(); output @@ -14744,8 +15730,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec3", |_self: Ref| { - let output: Val = bevy::math::DVec3::as_u64vec3( - _self, + let output: Val = ::bevy::math::DVec3::as_u64vec3( + _self.into(), ) .into(); output @@ -14754,9 +15740,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -14765,7 +15751,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::DVec3::clone(_self) + let output: Val = ::bevy::math::DVec3::clone( + _self.into(), + ) .into(); output }, @@ -14773,9 +15761,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec3::mul( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -14784,21 +15772,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec3::sub( - _self, - rhs, + let output: Val = ::bevy::math::DVec3::sub( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::DVec4>::new(world) .overwrite_script_function( "rem", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -14807,7 +15795,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::DVec4::clone(_self) + let output: Val = ::bevy::math::DVec4::clone( + _self.into(), + ) .into(); output }, @@ -14815,7 +15805,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::DVec4::neg(_self) + let output: Val = ::bevy::math::DVec4::neg( + _self.into(), + ) .into(); output }, @@ -14823,11 +15815,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "new", |x: f64, y: f64, z: f64, w: f64| { - let output: Val = bevy::math::DVec4::new( - x, - y, - z, - w, + let output: Val = ::bevy::math::DVec4::new( + x.into(), + y.into(), + z.into(), + w.into(), ) .into(); output @@ -14836,7 +15828,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: f64| { - let output: Val = bevy::math::DVec4::splat(v) + let output: Val = ::bevy::math::DVec4::splat( + v.into(), + ) .into(); output }, @@ -14848,10 +15842,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { if_true: Val, if_false: Val| { - let output: Val = bevy::math::DVec4::select( - mask, - if_true, - if_false, + let output: Val = ::bevy::math::DVec4::select( + mask.into(), + if_true.into(), + if_false.into(), ) .into(); output @@ -14860,7 +15854,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [f64; 4]| { - let output: Val = bevy::math::DVec4::from_array(a) + let output: Val = ::bevy::math::DVec4::from_array( + a.into(), + ) .into(); output }, @@ -14868,15 +15864,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [f64; 4] = bevy::math::DVec4::to_array(_self).into(); + let output: [f64; 4] = ::bevy::math::DVec4::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "truncate", |_self: Val| { - let output: Val = bevy::math::DVec4::truncate( - _self, + let output: Val = ::bevy::math::DVec4::truncate( + _self.into(), ) .into(); output @@ -14885,9 +15882,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_x", |_self: Val, x: f64| { - let output: Val = bevy::math::DVec4::with_x( - _self, - x, + let output: Val = ::bevy::math::DVec4::with_x( + _self.into(), + x.into(), ) .into(); output @@ -14896,9 +15893,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_y", |_self: Val, y: f64| { - let output: Val = bevy::math::DVec4::with_y( - _self, - y, + let output: Val = ::bevy::math::DVec4::with_y( + _self.into(), + y.into(), ) .into(); output @@ -14907,9 +15904,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_z", |_self: Val, z: f64| { - let output: Val = bevy::math::DVec4::with_z( - _self, - z, + let output: Val = ::bevy::math::DVec4::with_z( + _self.into(), + z.into(), ) .into(); output @@ -14918,9 +15915,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "with_w", |_self: Val, w: f64| { - let output: Val = bevy::math::DVec4::with_w( - _self, - w, + let output: Val = ::bevy::math::DVec4::with_w( + _self.into(), + w.into(), ) .into(); output @@ -14929,16 +15926,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DVec4::dot(_self, rhs).into(); + let output: f64 = ::bevy::math::DVec4::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "dot_into_vec", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::dot_into_vec( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::dot_into_vec( + _self.into(), + rhs.into(), ) .into(); output @@ -14947,9 +15945,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::min( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::min( + _self.into(), + rhs.into(), ) .into(); output @@ -14958,9 +15956,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "max", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::max( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::max( + _self.into(), + rhs.into(), ) .into(); output @@ -14973,10 +15971,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { min: Val, max: Val| { - let output: Val = bevy::math::DVec4::clamp( - _self, - min, - max, + let output: Val = ::bevy::math::DVec4::clamp( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -14985,37 +15983,41 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "min_element", |_self: Val| { - let output: f64 = bevy::math::DVec4::min_element(_self).into(); + let output: f64 = ::bevy::math::DVec4::min_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "max_element", |_self: Val| { - let output: f64 = bevy::math::DVec4::max_element(_self).into(); + let output: f64 = ::bevy::math::DVec4::max_element(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_sum", |_self: Val| { - let output: f64 = bevy::math::DVec4::element_sum(_self).into(); + let output: f64 = ::bevy::math::DVec4::element_sum(_self.into()) + .into(); output }, ) .overwrite_script_function( "element_product", |_self: Val| { - let output: f64 = bevy::math::DVec4::element_product(_self).into(); + let output: f64 = ::bevy::math::DVec4::element_product(_self.into()) + .into(); output }, ) .overwrite_script_function( "cmpeq", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::cmpeq( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::cmpeq( + _self.into(), + rhs.into(), ) .into(); output @@ -15024,9 +16026,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpne", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::cmpne( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::cmpne( + _self.into(), + rhs.into(), ) .into(); output @@ -15035,9 +16037,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpge", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::cmpge( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::cmpge( + _self.into(), + rhs.into(), ) .into(); output @@ -15046,9 +16048,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmpgt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::cmpgt( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::cmpgt( + _self.into(), + rhs.into(), ) .into(); output @@ -15057,9 +16059,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmple", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::cmple( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::cmple( + _self.into(), + rhs.into(), ) .into(); output @@ -15068,9 +16070,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "cmplt", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::cmplt( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::cmplt( + _self.into(), + rhs.into(), ) .into(); output @@ -15079,7 +16081,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Val| { - let output: Val = bevy::math::DVec4::abs(_self) + let output: Val = ::bevy::math::DVec4::abs( + _self.into(), + ) .into(); output }, @@ -15087,7 +16091,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "signum", |_self: Val| { - let output: Val = bevy::math::DVec4::signum(_self) + let output: Val = ::bevy::math::DVec4::signum( + _self.into(), + ) .into(); output }, @@ -15095,9 +16101,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "copysign", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::copysign( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::copysign( + _self.into(), + rhs.into(), ) .into(); output @@ -15106,7 +16112,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_negative_bitmask", |_self: Val| { - let output: u32 = bevy::math::DVec4::is_negative_bitmask(_self) + let output: u32 = ::bevy::math::DVec4::is_negative_bitmask( + _self.into(), + ) .into(); output }, @@ -15114,15 +16122,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Val| { - let output: bool = bevy::math::DVec4::is_finite(_self).into(); + let output: bool = ::bevy::math::DVec4::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_finite_mask", |_self: Val| { - let output: Val = bevy::math::DVec4::is_finite_mask( - _self, + let output: Val = ::bevy::math::DVec4::is_finite_mask( + _self.into(), ) .into(); output @@ -15131,15 +16140,15 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_nan", |_self: Val| { - let output: bool = bevy::math::DVec4::is_nan(_self).into(); + let output: bool = ::bevy::math::DVec4::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "is_nan_mask", |_self: Val| { - let output: Val = bevy::math::DVec4::is_nan_mask( - _self, + let output: Val = ::bevy::math::DVec4::is_nan_mask( + _self.into(), ) .into(); output @@ -15148,35 +16157,44 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "length", |_self: Val| { - let output: f64 = bevy::math::DVec4::length(_self).into(); + let output: f64 = ::bevy::math::DVec4::length(_self.into()).into(); output }, ) .overwrite_script_function( "length_squared", |_self: Val| { - let output: f64 = bevy::math::DVec4::length_squared(_self).into(); + let output: f64 = ::bevy::math::DVec4::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "length_recip", |_self: Val| { - let output: f64 = bevy::math::DVec4::length_recip(_self).into(); + let output: f64 = ::bevy::math::DVec4::length_recip(_self.into()) + .into(); output }, ) .overwrite_script_function( "distance", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DVec4::distance(_self, rhs).into(); + let output: f64 = ::bevy::math::DVec4::distance( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "distance_squared", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DVec4::distance_squared(_self, rhs) + let output: f64 = ::bevy::math::DVec4::distance_squared( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -15184,9 +16202,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::div_euclid( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::div_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -15195,9 +16213,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem_euclid", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::rem_euclid( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::rem_euclid( + _self.into(), + rhs.into(), ) .into(); output @@ -15206,8 +16224,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize", |_self: Val| { - let output: Val = bevy::math::DVec4::normalize( - _self, + let output: Val = ::bevy::math::DVec4::normalize( + _self.into(), ) .into(); output @@ -15216,9 +16234,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or", |_self: Val, fallback: Val| { - let output: Val = bevy::math::DVec4::normalize_or( - _self, - fallback, + let output: Val = ::bevy::math::DVec4::normalize_or( + _self.into(), + fallback.into(), ) .into(); output @@ -15227,8 +16245,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "normalize_or_zero", |_self: Val| { - let output: Val = bevy::math::DVec4::normalize_or_zero( - _self, + let output: Val = ::bevy::math::DVec4::normalize_or_zero( + _self.into(), ) .into(); output @@ -15237,16 +16255,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_normalized", |_self: Val| { - let output: bool = bevy::math::DVec4::is_normalized(_self).into(); + let output: bool = ::bevy::math::DVec4::is_normalized(_self.into()) + .into(); output }, ) .overwrite_script_function( "project_onto", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::project_onto( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::project_onto( + _self.into(), + rhs.into(), ) .into(); output @@ -15255,9 +16274,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::reject_from( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::reject_from( + _self.into(), + rhs.into(), ) .into(); output @@ -15266,9 +16285,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "project_onto_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::project_onto_normalized( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::project_onto_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -15277,9 +16296,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reject_from_normalized", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::reject_from_normalized( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::reject_from_normalized( + _self.into(), + rhs.into(), ) .into(); output @@ -15288,7 +16307,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "round", |_self: Val| { - let output: Val = bevy::math::DVec4::round(_self) + let output: Val = ::bevy::math::DVec4::round( + _self.into(), + ) .into(); output }, @@ -15296,7 +16317,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "floor", |_self: Val| { - let output: Val = bevy::math::DVec4::floor(_self) + let output: Val = ::bevy::math::DVec4::floor( + _self.into(), + ) .into(); output }, @@ -15304,7 +16327,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "ceil", |_self: Val| { - let output: Val = bevy::math::DVec4::ceil(_self) + let output: Val = ::bevy::math::DVec4::ceil( + _self.into(), + ) .into(); output }, @@ -15312,7 +16337,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "trunc", |_self: Val| { - let output: Val = bevy::math::DVec4::trunc(_self) + let output: Val = ::bevy::math::DVec4::trunc( + _self.into(), + ) .into(); output }, @@ -15320,7 +16347,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract", |_self: Val| { - let output: Val = bevy::math::DVec4::fract(_self) + let output: Val = ::bevy::math::DVec4::fract( + _self.into(), + ) .into(); output }, @@ -15328,8 +16357,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "fract_gl", |_self: Val| { - let output: Val = bevy::math::DVec4::fract_gl( - _self, + let output: Val = ::bevy::math::DVec4::fract_gl( + _self.into(), ) .into(); output @@ -15338,7 +16367,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "exp", |_self: Val| { - let output: Val = bevy::math::DVec4::exp(_self) + let output: Val = ::bevy::math::DVec4::exp( + _self.into(), + ) .into(); output }, @@ -15346,9 +16377,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "powf", |_self: Val, n: f64| { - let output: Val = bevy::math::DVec4::powf( - _self, - n, + let output: Val = ::bevy::math::DVec4::powf( + _self.into(), + n.into(), ) .into(); output @@ -15357,7 +16388,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "recip", |_self: Val| { - let output: Val = bevy::math::DVec4::recip(_self) + let output: Val = ::bevy::math::DVec4::recip( + _self.into(), + ) .into(); output }, @@ -15365,10 +16398,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "lerp", |_self: Val, rhs: Val, s: f64| { - let output: Val = bevy::math::DVec4::lerp( - _self, - rhs, - s, + let output: Val = ::bevy::math::DVec4::lerp( + _self.into(), + rhs.into(), + s.into(), ) .into(); output @@ -15377,10 +16410,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "move_towards", |_self: Ref, rhs: Val, d: f64| { - let output: Val = bevy::math::DVec4::move_towards( - _self, - rhs, - d, + let output: Val = ::bevy::math::DVec4::move_towards( + _self.into(), + rhs.into(), + d.into(), ) .into(); output @@ -15389,9 +16422,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "midpoint", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::midpoint( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::midpoint( + _self.into(), + rhs.into(), ) .into(); output @@ -15404,10 +16437,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f64| { - let output: bool = bevy::math::DVec4::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::DVec4::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -15416,10 +16449,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length", |_self: Val, min: f64, max: f64| { - let output: Val = bevy::math::DVec4::clamp_length( - _self, - min, - max, + let output: Val = ::bevy::math::DVec4::clamp_length( + _self.into(), + min.into(), + max.into(), ) .into(); output @@ -15428,9 +16461,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_max", |_self: Val, max: f64| { - let output: Val = bevy::math::DVec4::clamp_length_max( - _self, - max, + let output: Val = ::bevy::math::DVec4::clamp_length_max( + _self.into(), + max.into(), ) .into(); output @@ -15439,9 +16472,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clamp_length_min", |_self: Val, min: f64| { - let output: Val = bevy::math::DVec4::clamp_length_min( - _self, - min, + let output: Val = ::bevy::math::DVec4::clamp_length_min( + _self.into(), + min.into(), ) .into(); output @@ -15454,10 +16487,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { a: Val, b: Val| { - let output: Val = bevy::math::DVec4::mul_add( - _self, - a, - b, + let output: Val = ::bevy::math::DVec4::mul_add( + _self.into(), + a.into(), + b.into(), ) .into(); output @@ -15466,9 +16499,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "reflect", |_self: Val, normal: Val| { - let output: Val = bevy::math::DVec4::reflect( - _self, - normal, + let output: Val = ::bevy::math::DVec4::reflect( + _self.into(), + normal.into(), ) .into(); output @@ -15481,10 +16514,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { normal: Val, eta: f64| { - let output: Val = bevy::math::DVec4::refract( - _self, - normal, - eta, + let output: Val = ::bevy::math::DVec4::refract( + _self.into(), + normal.into(), + eta.into(), ) .into(); output @@ -15493,7 +16526,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_vec4", |_self: Ref| { - let output: Val = bevy::math::DVec4::as_vec4(_self) + let output: Val = ::bevy::math::DVec4::as_vec4( + _self.into(), + ) .into(); output }, @@ -15501,8 +16536,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_ivec4", |_self: Ref| { - let output: Val = bevy::math::DVec4::as_ivec4( - _self, + let output: Val = ::bevy::math::DVec4::as_ivec4( + _self.into(), ) .into(); output @@ -15511,8 +16546,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_uvec4", |_self: Ref| { - let output: Val = bevy::math::DVec4::as_uvec4( - _self, + let output: Val = ::bevy::math::DVec4::as_uvec4( + _self.into(), ) .into(); output @@ -15521,8 +16556,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_i64vec4", |_self: Ref| { - let output: Val = bevy::math::DVec4::as_i64vec4( - _self, + let output: Val = ::bevy::math::DVec4::as_i64vec4( + _self.into(), ) .into(); output @@ -15531,8 +16566,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_u64vec4", |_self: Ref| { - let output: Val = bevy::math::DVec4::as_u64vec4( - _self, + let output: Val = ::bevy::math::DVec4::as_u64vec4( + _self.into(), ) .into(); output @@ -15541,16 +16576,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::DVec4::eq(_self, other).into(); + let output: bool = ::bevy::math::DVec4::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -15559,9 +16598,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec4::div( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -15570,9 +16609,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec4::add( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -15581,9 +16620,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -15592,9 +16631,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -15603,9 +16642,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -15614,9 +16653,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::div( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -15625,9 +16664,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::sub( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -15636,9 +16675,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -15647,9 +16686,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec4::add( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -15658,9 +16697,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::add( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -15669,9 +16708,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "rem", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DVec4::rem( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::rem( + _self.into(), + rhs.into(), ) .into(); output @@ -15680,9 +16719,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: Ref| { - let output: Val = bevy::math::DVec4::div( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -15691,19 +16730,22 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DVec4::mul( - _self, - rhs, + let output: Val = ::bevy::math::DVec4::mul( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Mat2>::new(world) .overwrite_script_function( "div", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Mat2::div(_self, rhs) + let output: Val = ::bevy::math::Mat2::div( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -15711,14 +16753,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::Mat2::eq(_self, rhs).into(); + let output: bool = ::bevy::math::Mat2::eq(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::Mat2::neg(_self) + let output: Val = ::bevy::math::Mat2::neg( + _self.into(), + ) .into(); output }, @@ -15726,7 +16771,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Mat2::clone(_self) + let output: Val = ::bevy::math::Mat2::clone( + _self.into(), + ) .into(); output }, @@ -15734,9 +16781,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_cols", |x_axis: Val, y_axis: Val| { - let output: Val = bevy::math::Mat2::from_cols( - x_axis, - y_axis, + let output: Val = ::bevy::math::Mat2::from_cols( + x_axis.into(), + y_axis.into(), ) .into(); output @@ -15745,14 +16792,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array", |_self: Ref| { - let output: [f32; 4] = bevy::math::Mat2::to_cols_array(_self).into(); + let output: [f32; 4] = ::bevy::math::Mat2::to_cols_array( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "to_cols_array_2d", |_self: Ref| { - let output: [[f32; 2]; 2] = bevy::math::Mat2::to_cols_array_2d(_self) + let output: [[f32; 2]; 2] = ::bevy::math::Mat2::to_cols_array_2d( + _self.into(), + ) .into(); output }, @@ -15760,8 +16812,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_diagonal", |diagonal: Val| { - let output: Val = bevy::math::Mat2::from_diagonal( - diagonal, + let output: Val = ::bevy::math::Mat2::from_diagonal( + diagonal.into(), ) .into(); output @@ -15770,9 +16822,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_scale_angle", |scale: Val, angle: f32| { - let output: Val = bevy::math::Mat2::from_scale_angle( - scale, - angle, + let output: Val = ::bevy::math::Mat2::from_scale_angle( + scale.into(), + angle.into(), ) .into(); output @@ -15781,8 +16833,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_angle", |angle: f32| { - let output: Val = bevy::math::Mat2::from_angle( - angle, + let output: Val = ::bevy::math::Mat2::from_angle( + angle.into(), ) .into(); output @@ -15791,7 +16843,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3", |m: Val| { - let output: Val = bevy::math::Mat2::from_mat3(m) + let output: Val = ::bevy::math::Mat2::from_mat3( + m.into(), + ) .into(); output }, @@ -15799,10 +16853,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3_minor", |m: Val, i: usize, j: usize| { - let output: Val = bevy::math::Mat2::from_mat3_minor( - m, - i, - j, + let output: Val = ::bevy::math::Mat2::from_mat3_minor( + m.into(), + i.into(), + j.into(), ) .into(); output @@ -15811,7 +16865,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3a", |m: Val| { - let output: Val = bevy::math::Mat2::from_mat3a(m) + let output: Val = ::bevy::math::Mat2::from_mat3a( + m.into(), + ) .into(); output }, @@ -15819,10 +16875,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3a_minor", |m: Val, i: usize, j: usize| { - let output: Val = bevy::math::Mat2::from_mat3a_minor( - m, - i, - j, + let output: Val = ::bevy::math::Mat2::from_mat3a_minor( + m.into(), + i.into(), + j.into(), ) .into(); output @@ -15831,9 +16887,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "col", |_self: Ref, index: usize| { - let output: Val = bevy::math::Mat2::col( - _self, - index, + let output: Val = ::bevy::math::Mat2::col( + _self.into(), + index.into(), ) .into(); output @@ -15842,9 +16898,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "row", |_self: Ref, index: usize| { - let output: Val = bevy::math::Mat2::row( - _self, - index, + let output: Val = ::bevy::math::Mat2::row( + _self.into(), + index.into(), ) .into(); output @@ -15853,22 +16909,23 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Ref| { - let output: bool = bevy::math::Mat2::is_finite(_self).into(); + let output: bool = ::bevy::math::Mat2::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Ref| { - let output: bool = bevy::math::Mat2::is_nan(_self).into(); + let output: bool = ::bevy::math::Mat2::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "transpose", |_self: Ref| { - let output: Val = bevy::math::Mat2::transpose( - _self, + let output: Val = ::bevy::math::Mat2::transpose( + _self.into(), ) .into(); output @@ -15877,14 +16934,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "determinant", |_self: Ref| { - let output: f32 = bevy::math::Mat2::determinant(_self).into(); + let output: f32 = ::bevy::math::Mat2::determinant(_self.into()) + .into(); output }, ) .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::Mat2::inverse(_self) + let output: Val = ::bevy::math::Mat2::inverse( + _self.into(), + ) .into(); output }, @@ -15892,9 +16952,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_vec2", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat2::mul_vec2( - _self, - rhs, + let output: Val = ::bevy::math::Mat2::mul_vec2( + _self.into(), + rhs.into(), ) .into(); output @@ -15903,9 +16963,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_mat2", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::Mat2::mul_mat2( - _self, - rhs, + let output: Val = ::bevy::math::Mat2::mul_mat2( + _self.into(), + rhs.into(), ) .into(); output @@ -15914,9 +16974,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add_mat2", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::Mat2::add_mat2( - _self, - rhs, + let output: Val = ::bevy::math::Mat2::add_mat2( + _self.into(), + rhs.into(), ) .into(); output @@ -15925,9 +16985,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub_mat2", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::Mat2::sub_mat2( - _self, - rhs, + let output: Val = ::bevy::math::Mat2::sub_mat2( + _self.into(), + rhs.into(), ) .into(); output @@ -15936,9 +16996,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_scalar", |_self: Ref, rhs: f32| { - let output: Val = bevy::math::Mat2::mul_scalar( - _self, - rhs, + let output: Val = ::bevy::math::Mat2::mul_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -15947,9 +17007,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_scalar", |_self: Ref, rhs: f32| { - let output: Val = bevy::math::Mat2::div_scalar( - _self, - rhs, + let output: Val = ::bevy::math::Mat2::div_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -15962,10 +17022,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f32| { - let output: bool = bevy::math::Mat2::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::Mat2::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -15974,7 +17034,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Ref| { - let output: Val = bevy::math::Mat2::abs(_self) + let output: Val = ::bevy::math::Mat2::abs( + _self.into(), + ) .into(); output }, @@ -15982,8 +17044,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dmat2", |_self: Ref| { - let output: Val = bevy::math::Mat2::as_dmat2( - _self, + let output: Val = ::bevy::math::Mat2::as_dmat2( + _self.into(), ) .into(); output @@ -15992,7 +17054,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat2::sub(_self, rhs) + let output: Val = ::bevy::math::Mat2::sub( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -16000,7 +17065,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat2::mul(_self, rhs) + let output: Val = ::bevy::math::Mat2::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -16008,7 +17076,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat2::mul(_self, rhs) + let output: Val = ::bevy::math::Mat2::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -16016,7 +17087,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Mat2::mul(_self, rhs) + let output: Val = ::bevy::math::Mat2::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -16024,16 +17098,22 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat2::add(_self, rhs) + let output: Val = ::bevy::math::Mat2::add( + _self.into(), + rhs.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Mat3>::new(world) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat3::mul(_self, rhs) + let output: Val = ::bevy::math::Mat3::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -16041,7 +17121,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat3::mul(_self, rhs) + let output: Val = ::bevy::math::Mat3::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -16049,7 +17132,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat3::mul(_self, rhs) + let output: Val = ::bevy::math::Mat3::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -16057,9 +17143,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat3::mul( - _self, - rhs, + let output: Val = ::bevy::math::Mat3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -16068,7 +17154,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::Mat3::neg(_self) + let output: Val = ::bevy::math::Mat3::neg( + _self.into(), + ) .into(); output }, @@ -16076,7 +17164,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat3::add(_self, rhs) + let output: Val = ::bevy::math::Mat3::add( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -16084,7 +17175,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Mat3::clone(_self) + let output: Val = ::bevy::math::Mat3::clone( + _self.into(), + ) .into(); output }, @@ -16096,10 +17189,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { y_axis: Val, z_axis: Val| { - let output: Val = bevy::math::Mat3::from_cols( - x_axis, - y_axis, - z_axis, + let output: Val = ::bevy::math::Mat3::from_cols( + x_axis.into(), + y_axis.into(), + z_axis.into(), ) .into(); output @@ -16108,14 +17201,19 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array", |_self: Ref| { - let output: [f32; 9] = bevy::math::Mat3::to_cols_array(_self).into(); + let output: [f32; 9] = ::bevy::math::Mat3::to_cols_array( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "to_cols_array_2d", |_self: Ref| { - let output: [[f32; 3]; 3] = bevy::math::Mat3::to_cols_array_2d(_self) + let output: [[f32; 3]; 3] = ::bevy::math::Mat3::to_cols_array_2d( + _self.into(), + ) .into(); output }, @@ -16123,8 +17221,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_diagonal", |diagonal: Val| { - let output: Val = bevy::math::Mat3::from_diagonal( - diagonal, + let output: Val = ::bevy::math::Mat3::from_diagonal( + diagonal.into(), ) .into(); output @@ -16133,7 +17231,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat4", |m: Val| { - let output: Val = bevy::math::Mat3::from_mat4(m) + let output: Val = ::bevy::math::Mat3::from_mat4( + m.into(), + ) .into(); output }, @@ -16141,10 +17241,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat4_minor", |m: Val, i: usize, j: usize| { - let output: Val = bevy::math::Mat3::from_mat4_minor( - m, - i, - j, + let output: Val = ::bevy::math::Mat3::from_mat4_minor( + m.into(), + i.into(), + j.into(), ) .into(); output @@ -16153,8 +17253,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_quat", |rotation: Val| { - let output: Val = bevy::math::Mat3::from_quat( - rotation, + let output: Val = ::bevy::math::Mat3::from_quat( + rotation.into(), ) .into(); output @@ -16163,9 +17263,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_axis_angle", |axis: Val, angle: f32| { - let output: Val = bevy::math::Mat3::from_axis_angle( - axis, - angle, + let output: Val = ::bevy::math::Mat3::from_axis_angle( + axis.into(), + angle.into(), ) .into(); output @@ -16174,11 +17274,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_euler", |order: Val, a: f32, b: f32, c: f32| { - let output: Val = bevy::math::Mat3::from_euler( - order, - a, - b, - c, + let output: Val = ::bevy::math::Mat3::from_euler( + order.into(), + a.into(), + b.into(), + c.into(), ) .into(); output @@ -16187,9 +17287,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_euler", |_self: Ref, order: Val| { - let output: (f32, f32, f32) = bevy::math::Mat3::to_euler( - _self, - order, + let output: (f32, f32, f32) = ::bevy::math::Mat3::to_euler( + _self.into(), + order.into(), ) .into(); output @@ -16198,8 +17298,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_x", |angle: f32| { - let output: Val = bevy::math::Mat3::from_rotation_x( - angle, + let output: Val = ::bevy::math::Mat3::from_rotation_x( + angle.into(), ) .into(); output @@ -16208,8 +17308,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_y", |angle: f32| { - let output: Val = bevy::math::Mat3::from_rotation_y( - angle, + let output: Val = ::bevy::math::Mat3::from_rotation_y( + angle.into(), ) .into(); output @@ -16218,8 +17318,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_z", |angle: f32| { - let output: Val = bevy::math::Mat3::from_rotation_z( - angle, + let output: Val = ::bevy::math::Mat3::from_rotation_z( + angle.into(), ) .into(); output @@ -16228,8 +17328,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_translation", |translation: Val| { - let output: Val = bevy::math::Mat3::from_translation( - translation, + let output: Val = ::bevy::math::Mat3::from_translation( + translation.into(), ) .into(); output @@ -16238,8 +17338,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_angle", |angle: f32| { - let output: Val = bevy::math::Mat3::from_angle( - angle, + let output: Val = ::bevy::math::Mat3::from_angle( + angle.into(), ) .into(); output @@ -16252,10 +17352,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { angle: f32, translation: Val| { - let output: Val = bevy::math::Mat3::from_scale_angle_translation( - scale, - angle, - translation, + let output: Val = ::bevy::math::Mat3::from_scale_angle_translation( + scale.into(), + angle.into(), + translation.into(), ) .into(); output @@ -16264,8 +17364,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_scale", |scale: Val| { - let output: Val = bevy::math::Mat3::from_scale( - scale, + let output: Val = ::bevy::math::Mat3::from_scale( + scale.into(), ) .into(); output @@ -16274,7 +17374,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat2", |m: Val| { - let output: Val = bevy::math::Mat3::from_mat2(m) + let output: Val = ::bevy::math::Mat3::from_mat2( + m.into(), + ) .into(); output }, @@ -16282,9 +17384,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "col", |_self: Ref, index: usize| { - let output: Val = bevy::math::Mat3::col( - _self, - index, + let output: Val = ::bevy::math::Mat3::col( + _self.into(), + index.into(), ) .into(); output @@ -16293,9 +17395,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "row", |_self: Ref, index: usize| { - let output: Val = bevy::math::Mat3::row( - _self, - index, + let output: Val = ::bevy::math::Mat3::row( + _self.into(), + index.into(), ) .into(); output @@ -16304,22 +17406,23 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Ref| { - let output: bool = bevy::math::Mat3::is_finite(_self).into(); + let output: bool = ::bevy::math::Mat3::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Ref| { - let output: bool = bevy::math::Mat3::is_nan(_self).into(); + let output: bool = ::bevy::math::Mat3::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "transpose", |_self: Ref| { - let output: Val = bevy::math::Mat3::transpose( - _self, + let output: Val = ::bevy::math::Mat3::transpose( + _self.into(), ) .into(); output @@ -16328,14 +17431,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "determinant", |_self: Ref| { - let output: f32 = bevy::math::Mat3::determinant(_self).into(); + let output: f32 = ::bevy::math::Mat3::determinant(_self.into()) + .into(); output }, ) .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::Mat3::inverse(_self) + let output: Val = ::bevy::math::Mat3::inverse( + _self.into(), + ) .into(); output }, @@ -16343,9 +17449,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_point2", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat3::transform_point2( - _self, - rhs, + let output: Val = ::bevy::math::Mat3::transform_point2( + _self.into(), + rhs.into(), ) .into(); output @@ -16354,9 +17460,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_vector2", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat3::transform_vector2( - _self, - rhs, + let output: Val = ::bevy::math::Mat3::transform_vector2( + _self.into(), + rhs.into(), ) .into(); output @@ -16365,9 +17471,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_vec3", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat3::mul_vec3( - _self, - rhs, + let output: Val = ::bevy::math::Mat3::mul_vec3( + _self.into(), + rhs.into(), ) .into(); output @@ -16376,9 +17482,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_vec3a", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat3::mul_vec3a( - _self, - rhs, + let output: Val = ::bevy::math::Mat3::mul_vec3a( + _self.into(), + rhs.into(), ) .into(); output @@ -16387,9 +17493,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_mat3", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::Mat3::mul_mat3( - _self, - rhs, + let output: Val = ::bevy::math::Mat3::mul_mat3( + _self.into(), + rhs.into(), ) .into(); output @@ -16398,9 +17504,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add_mat3", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::Mat3::add_mat3( - _self, - rhs, + let output: Val = ::bevy::math::Mat3::add_mat3( + _self.into(), + rhs.into(), ) .into(); output @@ -16409,9 +17515,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub_mat3", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::Mat3::sub_mat3( - _self, - rhs, + let output: Val = ::bevy::math::Mat3::sub_mat3( + _self.into(), + rhs.into(), ) .into(); output @@ -16420,9 +17526,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_scalar", |_self: Ref, rhs: f32| { - let output: Val = bevy::math::Mat3::mul_scalar( - _self, - rhs, + let output: Val = ::bevy::math::Mat3::mul_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -16431,9 +17537,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_scalar", |_self: Ref, rhs: f32| { - let output: Val = bevy::math::Mat3::div_scalar( - _self, - rhs, + let output: Val = ::bevy::math::Mat3::div_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -16446,10 +17552,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f32| { - let output: bool = bevy::math::Mat3::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::Mat3::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -16458,7 +17564,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Ref| { - let output: Val = bevy::math::Mat3::abs(_self) + let output: Val = ::bevy::math::Mat3::abs( + _self.into(), + ) .into(); output }, @@ -16466,8 +17574,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dmat3", |_self: Ref| { - let output: Val = bevy::math::Mat3::as_dmat3( - _self, + let output: Val = ::bevy::math::Mat3::as_dmat3( + _self.into(), ) .into(); output @@ -16476,7 +17584,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Mat3::mul(_self, rhs) + let output: Val = ::bevy::math::Mat3::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -16484,14 +17595,18 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::Mat3::eq(_self, rhs).into(); + let output: bool = ::bevy::math::Mat3::eq(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "div", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Mat3::div(_self, rhs) + let output: Val = ::bevy::math::Mat3::div( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -16499,18 +17614,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat3::sub(_self, rhs) + let output: Val = ::bevy::math::Mat3::sub( + _self.into(), + rhs.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Mat3A>::new(world) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat3A::mul( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -16519,7 +17637,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Mat3A::clone(_self) + let output: Val = ::bevy::math::Mat3A::clone( + _self.into(), + ) .into(); output }, @@ -16527,9 +17647,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat3A::mul( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -16538,7 +17658,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::Mat3A::neg(_self) + let output: Val = ::bevy::math::Mat3A::neg( + _self.into(), + ) .into(); output }, @@ -16546,9 +17668,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat3A::add( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::add( + _self.into(), + rhs.into(), ) .into(); output @@ -16557,9 +17679,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat3A::mul( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -16568,16 +17690,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::Mat3A::eq(_self, rhs).into(); + let output: bool = ::bevy::math::Mat3A::eq(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "mul", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Mat3A::mul( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -16586,9 +17709,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Mat3A::div( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::div( + _self.into(), + rhs.into(), ) .into(); output @@ -16597,9 +17720,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat3A::mul( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -16608,9 +17731,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat3A::sub( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -16623,10 +17746,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { y_axis: Val, z_axis: Val| { - let output: Val = bevy::math::Mat3A::from_cols( - x_axis, - y_axis, - z_axis, + let output: Val = ::bevy::math::Mat3A::from_cols( + x_axis.into(), + y_axis.into(), + z_axis.into(), ) .into(); output @@ -16635,7 +17758,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array", |_self: Ref| { - let output: [f32; 9] = bevy::math::Mat3A::to_cols_array(_self) + let output: [f32; 9] = ::bevy::math::Mat3A::to_cols_array( + _self.into(), + ) .into(); output }, @@ -16643,8 +17768,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array_2d", |_self: Ref| { - let output: [[f32; 3]; 3] = bevy::math::Mat3A::to_cols_array_2d( - _self, + let output: [[f32; 3]; 3] = ::bevy::math::Mat3A::to_cols_array_2d( + _self.into(), ) .into(); output @@ -16653,8 +17778,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_diagonal", |diagonal: Val| { - let output: Val = bevy::math::Mat3A::from_diagonal( - diagonal, + let output: Val = ::bevy::math::Mat3A::from_diagonal( + diagonal.into(), ) .into(); output @@ -16663,7 +17788,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat4", |m: Val| { - let output: Val = bevy::math::Mat3A::from_mat4(m) + let output: Val = ::bevy::math::Mat3A::from_mat4( + m.into(), + ) .into(); output }, @@ -16671,10 +17798,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat4_minor", |m: Val, i: usize, j: usize| { - let output: Val = bevy::math::Mat3A::from_mat4_minor( - m, - i, - j, + let output: Val = ::bevy::math::Mat3A::from_mat4_minor( + m.into(), + i.into(), + j.into(), ) .into(); output @@ -16683,8 +17810,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_quat", |rotation: Val| { - let output: Val = bevy::math::Mat3A::from_quat( - rotation, + let output: Val = ::bevy::math::Mat3A::from_quat( + rotation.into(), ) .into(); output @@ -16693,9 +17820,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_axis_angle", |axis: Val, angle: f32| { - let output: Val = bevy::math::Mat3A::from_axis_angle( - axis, - angle, + let output: Val = ::bevy::math::Mat3A::from_axis_angle( + axis.into(), + angle.into(), ) .into(); output @@ -16704,11 +17831,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_euler", |order: Val, a: f32, b: f32, c: f32| { - let output: Val = bevy::math::Mat3A::from_euler( - order, - a, - b, - c, + let output: Val = ::bevy::math::Mat3A::from_euler( + order.into(), + a.into(), + b.into(), + c.into(), ) .into(); output @@ -16717,9 +17844,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_euler", |_self: Ref, order: Val| { - let output: (f32, f32, f32) = bevy::math::Mat3A::to_euler( - _self, - order, + let output: (f32, f32, f32) = ::bevy::math::Mat3A::to_euler( + _self.into(), + order.into(), ) .into(); output @@ -16728,8 +17855,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_x", |angle: f32| { - let output: Val = bevy::math::Mat3A::from_rotation_x( - angle, + let output: Val = ::bevy::math::Mat3A::from_rotation_x( + angle.into(), ) .into(); output @@ -16738,8 +17865,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_y", |angle: f32| { - let output: Val = bevy::math::Mat3A::from_rotation_y( - angle, + let output: Val = ::bevy::math::Mat3A::from_rotation_y( + angle.into(), ) .into(); output @@ -16748,8 +17875,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_z", |angle: f32| { - let output: Val = bevy::math::Mat3A::from_rotation_z( - angle, + let output: Val = ::bevy::math::Mat3A::from_rotation_z( + angle.into(), ) .into(); output @@ -16758,8 +17885,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_translation", |translation: Val| { - let output: Val = bevy::math::Mat3A::from_translation( - translation, + let output: Val = ::bevy::math::Mat3A::from_translation( + translation.into(), ) .into(); output @@ -16768,8 +17895,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_angle", |angle: f32| { - let output: Val = bevy::math::Mat3A::from_angle( - angle, + let output: Val = ::bevy::math::Mat3A::from_angle( + angle.into(), ) .into(); output @@ -16782,10 +17909,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { angle: f32, translation: Val| { - let output: Val = bevy::math::Mat3A::from_scale_angle_translation( - scale, - angle, - translation, + let output: Val = ::bevy::math::Mat3A::from_scale_angle_translation( + scale.into(), + angle.into(), + translation.into(), ) .into(); output @@ -16794,8 +17921,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_scale", |scale: Val| { - let output: Val = bevy::math::Mat3A::from_scale( - scale, + let output: Val = ::bevy::math::Mat3A::from_scale( + scale.into(), ) .into(); output @@ -16804,7 +17931,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat2", |m: Val| { - let output: Val = bevy::math::Mat3A::from_mat2(m) + let output: Val = ::bevy::math::Mat3A::from_mat2( + m.into(), + ) .into(); output }, @@ -16812,9 +17941,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "col", |_self: Ref, index: usize| { - let output: Val = bevy::math::Mat3A::col( - _self, - index, + let output: Val = ::bevy::math::Mat3A::col( + _self.into(), + index.into(), ) .into(); output @@ -16823,9 +17952,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "row", |_self: Ref, index: usize| { - let output: Val = bevy::math::Mat3A::row( - _self, - index, + let output: Val = ::bevy::math::Mat3A::row( + _self.into(), + index.into(), ) .into(); output @@ -16834,22 +17963,23 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Ref| { - let output: bool = bevy::math::Mat3A::is_finite(_self).into(); + let output: bool = ::bevy::math::Mat3A::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Ref| { - let output: bool = bevy::math::Mat3A::is_nan(_self).into(); + let output: bool = ::bevy::math::Mat3A::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "transpose", |_self: Ref| { - let output: Val = bevy::math::Mat3A::transpose( - _self, + let output: Val = ::bevy::math::Mat3A::transpose( + _self.into(), ) .into(); output @@ -16858,15 +17988,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "determinant", |_self: Ref| { - let output: f32 = bevy::math::Mat3A::determinant(_self).into(); + let output: f32 = ::bevy::math::Mat3A::determinant(_self.into()) + .into(); output }, ) .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::Mat3A::inverse( - _self, + let output: Val = ::bevy::math::Mat3A::inverse( + _self.into(), ) .into(); output @@ -16875,9 +18006,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_point2", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat3A::transform_point2( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::transform_point2( + _self.into(), + rhs.into(), ) .into(); output @@ -16886,9 +18017,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_vector2", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat3A::transform_vector2( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::transform_vector2( + _self.into(), + rhs.into(), ) .into(); output @@ -16897,9 +18028,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_vec3", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat3A::mul_vec3( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::mul_vec3( + _self.into(), + rhs.into(), ) .into(); output @@ -16908,9 +18039,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_vec3a", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat3A::mul_vec3a( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::mul_vec3a( + _self.into(), + rhs.into(), ) .into(); output @@ -16919,9 +18050,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_mat3", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::Mat3A::mul_mat3( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::mul_mat3( + _self.into(), + rhs.into(), ) .into(); output @@ -16930,9 +18061,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add_mat3", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::Mat3A::add_mat3( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::add_mat3( + _self.into(), + rhs.into(), ) .into(); output @@ -16941,9 +18072,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub_mat3", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::Mat3A::sub_mat3( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::sub_mat3( + _self.into(), + rhs.into(), ) .into(); output @@ -16952,9 +18083,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_scalar", |_self: Ref, rhs: f32| { - let output: Val = bevy::math::Mat3A::mul_scalar( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::mul_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -16963,9 +18094,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_scalar", |_self: Ref, rhs: f32| { - let output: Val = bevy::math::Mat3A::div_scalar( - _self, - rhs, + let output: Val = ::bevy::math::Mat3A::div_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -16978,10 +18109,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f32| { - let output: bool = bevy::math::Mat3A::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::Mat3A::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -16990,7 +18121,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Ref| { - let output: Val = bevy::math::Mat3A::abs(_self) + let output: Val = ::bevy::math::Mat3A::abs( + _self.into(), + ) .into(); output }, @@ -16998,18 +18131,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dmat3", |_self: Ref| { - let output: Val = bevy::math::Mat3A::as_dmat3( - _self, + let output: Val = ::bevy::math::Mat3A::as_dmat3( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Mat4>::new(world) .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::Mat4::neg(_self) + let output: Val = ::bevy::math::Mat4::neg( + _self.into(), + ) .into(); output }, @@ -17017,7 +18152,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Mat4::clone(_self) + let output: Val = ::bevy::math::Mat4::clone( + _self.into(), + ) .into(); output }, @@ -17025,7 +18162,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat4::mul(_self, rhs) + let output: Val = ::bevy::math::Mat4::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -17033,7 +18173,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat4::mul(_self, rhs) + let output: Val = ::bevy::math::Mat4::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -17041,7 +18184,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat4::add(_self, rhs) + let output: Val = ::bevy::math::Mat4::add( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -17049,7 +18195,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Mat4::mul(_self, rhs) + let output: Val = ::bevy::math::Mat4::mul( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -17057,14 +18206,18 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::Mat4::eq(_self, rhs).into(); + let output: bool = ::bevy::math::Mat4::eq(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat4::sub(_self, rhs) + let output: Val = ::bevy::math::Mat4::sub( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -17072,7 +18225,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: f32| { - let output: Val = bevy::math::Mat4::div(_self, rhs) + let output: Val = ::bevy::math::Mat4::div( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -17085,11 +18241,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { z_axis: Val, w_axis: Val| { - let output: Val = bevy::math::Mat4::from_cols( - x_axis, - y_axis, - z_axis, - w_axis, + let output: Val = ::bevy::math::Mat4::from_cols( + x_axis.into(), + y_axis.into(), + z_axis.into(), + w_axis.into(), ) .into(); output @@ -17098,7 +18254,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array", |_self: Ref| { - let output: [f32; 16] = bevy::math::Mat4::to_cols_array(_self) + let output: [f32; 16] = ::bevy::math::Mat4::to_cols_array( + _self.into(), + ) .into(); output }, @@ -17106,7 +18264,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array_2d", |_self: Ref| { - let output: [[f32; 4]; 4] = bevy::math::Mat4::to_cols_array_2d(_self) + let output: [[f32; 4]; 4] = ::bevy::math::Mat4::to_cols_array_2d( + _self.into(), + ) .into(); output }, @@ -17114,8 +18274,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_diagonal", |diagonal: Val| { - let output: Val = bevy::math::Mat4::from_diagonal( - diagonal, + let output: Val = ::bevy::math::Mat4::from_diagonal( + diagonal.into(), ) .into(); output @@ -17128,10 +18288,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rotation: Val, translation: Val| { - let output: Val = bevy::math::Mat4::from_scale_rotation_translation( - scale, - rotation, - translation, + let output: Val = ::bevy::math::Mat4::from_scale_rotation_translation( + scale.into(), + rotation.into(), + translation.into(), ) .into(); output @@ -17140,9 +18300,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_translation", |rotation: Val, translation: Val| { - let output: Val = bevy::math::Mat4::from_rotation_translation( - rotation, - translation, + let output: Val = ::bevy::math::Mat4::from_rotation_translation( + rotation.into(), + translation.into(), ) .into(); output @@ -17151,8 +18311,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_quat", |rotation: Val| { - let output: Val = bevy::math::Mat4::from_quat( - rotation, + let output: Val = ::bevy::math::Mat4::from_quat( + rotation.into(), ) .into(); output @@ -17161,7 +18321,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3", |m: Val| { - let output: Val = bevy::math::Mat4::from_mat3(m) + let output: Val = ::bevy::math::Mat4::from_mat3( + m.into(), + ) .into(); output }, @@ -17169,7 +18331,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3a", |m: Val| { - let output: Val = bevy::math::Mat4::from_mat3a(m) + let output: Val = ::bevy::math::Mat4::from_mat3a( + m.into(), + ) .into(); output }, @@ -17177,8 +18341,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_translation", |translation: Val| { - let output: Val = bevy::math::Mat4::from_translation( - translation, + let output: Val = ::bevy::math::Mat4::from_translation( + translation.into(), ) .into(); output @@ -17187,9 +18351,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_axis_angle", |axis: Val, angle: f32| { - let output: Val = bevy::math::Mat4::from_axis_angle( - axis, - angle, + let output: Val = ::bevy::math::Mat4::from_axis_angle( + axis.into(), + angle.into(), ) .into(); output @@ -17198,11 +18362,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_euler", |order: Val, a: f32, b: f32, c: f32| { - let output: Val = bevy::math::Mat4::from_euler( - order, - a, - b, - c, + let output: Val = ::bevy::math::Mat4::from_euler( + order.into(), + a.into(), + b.into(), + c.into(), ) .into(); output @@ -17211,9 +18375,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_euler", |_self: Ref, order: Val| { - let output: (f32, f32, f32) = bevy::math::Mat4::to_euler( - _self, - order, + let output: (f32, f32, f32) = ::bevy::math::Mat4::to_euler( + _self.into(), + order.into(), ) .into(); output @@ -17222,8 +18386,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_x", |angle: f32| { - let output: Val = bevy::math::Mat4::from_rotation_x( - angle, + let output: Val = ::bevy::math::Mat4::from_rotation_x( + angle.into(), ) .into(); output @@ -17232,8 +18396,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_y", |angle: f32| { - let output: Val = bevy::math::Mat4::from_rotation_y( - angle, + let output: Val = ::bevy::math::Mat4::from_rotation_y( + angle.into(), ) .into(); output @@ -17242,8 +18406,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_z", |angle: f32| { - let output: Val = bevy::math::Mat4::from_rotation_z( - angle, + let output: Val = ::bevy::math::Mat4::from_rotation_z( + angle.into(), ) .into(); output @@ -17252,8 +18416,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_scale", |scale: Val| { - let output: Val = bevy::math::Mat4::from_scale( - scale, + let output: Val = ::bevy::math::Mat4::from_scale( + scale.into(), ) .into(); output @@ -17262,9 +18426,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "col", |_self: Ref, index: usize| { - let output: Val = bevy::math::Mat4::col( - _self, - index, + let output: Val = ::bevy::math::Mat4::col( + _self.into(), + index.into(), ) .into(); output @@ -17273,9 +18437,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "row", |_self: Ref, index: usize| { - let output: Val = bevy::math::Mat4::row( - _self, - index, + let output: Val = ::bevy::math::Mat4::row( + _self.into(), + index.into(), ) .into(); output @@ -17284,22 +18448,23 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Ref| { - let output: bool = bevy::math::Mat4::is_finite(_self).into(); + let output: bool = ::bevy::math::Mat4::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Ref| { - let output: bool = bevy::math::Mat4::is_nan(_self).into(); + let output: bool = ::bevy::math::Mat4::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "transpose", |_self: Ref| { - let output: Val = bevy::math::Mat4::transpose( - _self, + let output: Val = ::bevy::math::Mat4::transpose( + _self.into(), ) .into(); output @@ -17308,14 +18473,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "determinant", |_self: Ref| { - let output: f32 = bevy::math::Mat4::determinant(_self).into(); + let output: f32 = ::bevy::math::Mat4::determinant(_self.into()) + .into(); output }, ) .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::Mat4::inverse(_self) + let output: Val = ::bevy::math::Mat4::inverse( + _self.into(), + ) .into(); output }, @@ -17327,10 +18495,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { dir: Val, up: Val| { - let output: Val = bevy::math::Mat4::look_to_lh( - eye, - dir, - up, + let output: Val = ::bevy::math::Mat4::look_to_lh( + eye.into(), + dir.into(), + up.into(), ) .into(); output @@ -17343,10 +18511,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { dir: Val, up: Val| { - let output: Val = bevy::math::Mat4::look_to_rh( - eye, - dir, - up, + let output: Val = ::bevy::math::Mat4::look_to_rh( + eye.into(), + dir.into(), + up.into(), ) .into(); output @@ -17359,10 +18527,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { center: Val, up: Val| { - let output: Val = bevy::math::Mat4::look_at_lh( - eye, - center, - up, + let output: Val = ::bevy::math::Mat4::look_at_lh( + eye.into(), + center.into(), + up.into(), ) .into(); output @@ -17375,10 +18543,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { center: Val, up: Val| { - let output: Val = bevy::math::Mat4::look_at_rh( - eye, - center, - up, + let output: Val = ::bevy::math::Mat4::look_at_rh( + eye.into(), + center.into(), + up.into(), ) .into(); output @@ -17387,11 +18555,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_rh_gl", |fov_y_radians: f32, aspect_ratio: f32, z_near: f32, z_far: f32| { - let output: Val = bevy::math::Mat4::perspective_rh_gl( - fov_y_radians, - aspect_ratio, - z_near, - z_far, + let output: Val = ::bevy::math::Mat4::perspective_rh_gl( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), + z_far.into(), ) .into(); output @@ -17400,11 +18568,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_lh", |fov_y_radians: f32, aspect_ratio: f32, z_near: f32, z_far: f32| { - let output: Val = bevy::math::Mat4::perspective_lh( - fov_y_radians, - aspect_ratio, - z_near, - z_far, + let output: Val = ::bevy::math::Mat4::perspective_lh( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), + z_far.into(), ) .into(); output @@ -17413,11 +18581,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_rh", |fov_y_radians: f32, aspect_ratio: f32, z_near: f32, z_far: f32| { - let output: Val = bevy::math::Mat4::perspective_rh( - fov_y_radians, - aspect_ratio, - z_near, - z_far, + let output: Val = ::bevy::math::Mat4::perspective_rh( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), + z_far.into(), ) .into(); output @@ -17426,10 +18594,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_infinite_lh", |fov_y_radians: f32, aspect_ratio: f32, z_near: f32| { - let output: Val = bevy::math::Mat4::perspective_infinite_lh( - fov_y_radians, - aspect_ratio, - z_near, + let output: Val = ::bevy::math::Mat4::perspective_infinite_lh( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), ) .into(); output @@ -17438,10 +18606,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_infinite_reverse_lh", |fov_y_radians: f32, aspect_ratio: f32, z_near: f32| { - let output: Val = bevy::math::Mat4::perspective_infinite_reverse_lh( - fov_y_radians, - aspect_ratio, - z_near, + let output: Val = ::bevy::math::Mat4::perspective_infinite_reverse_lh( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), ) .into(); output @@ -17450,10 +18618,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_infinite_rh", |fov_y_radians: f32, aspect_ratio: f32, z_near: f32| { - let output: Val = bevy::math::Mat4::perspective_infinite_rh( - fov_y_radians, - aspect_ratio, - z_near, + let output: Val = ::bevy::math::Mat4::perspective_infinite_rh( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), ) .into(); output @@ -17462,10 +18630,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_infinite_reverse_rh", |fov_y_radians: f32, aspect_ratio: f32, z_near: f32| { - let output: Val = bevy::math::Mat4::perspective_infinite_reverse_rh( - fov_y_radians, - aspect_ratio, - z_near, + let output: Val = ::bevy::math::Mat4::perspective_infinite_reverse_rh( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), ) .into(); output @@ -17474,13 +18642,13 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "orthographic_rh_gl", |left: f32, right: f32, bottom: f32, top: f32, near: f32, far: f32| { - let output: Val = bevy::math::Mat4::orthographic_rh_gl( - left, - right, - bottom, - top, - near, - far, + let output: Val = ::bevy::math::Mat4::orthographic_rh_gl( + left.into(), + right.into(), + bottom.into(), + top.into(), + near.into(), + far.into(), ) .into(); output @@ -17489,13 +18657,13 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "orthographic_lh", |left: f32, right: f32, bottom: f32, top: f32, near: f32, far: f32| { - let output: Val = bevy::math::Mat4::orthographic_lh( - left, - right, - bottom, - top, - near, - far, + let output: Val = ::bevy::math::Mat4::orthographic_lh( + left.into(), + right.into(), + bottom.into(), + top.into(), + near.into(), + far.into(), ) .into(); output @@ -17504,13 +18672,13 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "orthographic_rh", |left: f32, right: f32, bottom: f32, top: f32, near: f32, far: f32| { - let output: Val = bevy::math::Mat4::orthographic_rh( - left, - right, - bottom, - top, - near, - far, + let output: Val = ::bevy::math::Mat4::orthographic_rh( + left.into(), + right.into(), + bottom.into(), + top.into(), + near.into(), + far.into(), ) .into(); output @@ -17519,9 +18687,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "project_point3", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat4::project_point3( - _self, - rhs, + let output: Val = ::bevy::math::Mat4::project_point3( + _self.into(), + rhs.into(), ) .into(); output @@ -17530,9 +18698,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_point3", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat4::transform_point3( - _self, - rhs, + let output: Val = ::bevy::math::Mat4::transform_point3( + _self.into(), + rhs.into(), ) .into(); output @@ -17541,9 +18709,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_vector3", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat4::transform_vector3( - _self, - rhs, + let output: Val = ::bevy::math::Mat4::transform_vector3( + _self.into(), + rhs.into(), ) .into(); output @@ -17552,9 +18720,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "project_point3a", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat4::project_point3a( - _self, - rhs, + let output: Val = ::bevy::math::Mat4::project_point3a( + _self.into(), + rhs.into(), ) .into(); output @@ -17563,9 +18731,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_point3a", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat4::transform_point3a( - _self, - rhs, + let output: Val = ::bevy::math::Mat4::transform_point3a( + _self.into(), + rhs.into(), ) .into(); output @@ -17574,9 +18742,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_vector3a", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat4::transform_vector3a( - _self, - rhs, + let output: Val = ::bevy::math::Mat4::transform_vector3a( + _self.into(), + rhs.into(), ) .into(); output @@ -17585,9 +18753,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_vec4", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Mat4::mul_vec4( - _self, - rhs, + let output: Val = ::bevy::math::Mat4::mul_vec4( + _self.into(), + rhs.into(), ) .into(); output @@ -17596,9 +18764,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_mat4", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::Mat4::mul_mat4( - _self, - rhs, + let output: Val = ::bevy::math::Mat4::mul_mat4( + _self.into(), + rhs.into(), ) .into(); output @@ -17607,9 +18775,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add_mat4", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::Mat4::add_mat4( - _self, - rhs, + let output: Val = ::bevy::math::Mat4::add_mat4( + _self.into(), + rhs.into(), ) .into(); output @@ -17618,9 +18786,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub_mat4", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::Mat4::sub_mat4( - _self, - rhs, + let output: Val = ::bevy::math::Mat4::sub_mat4( + _self.into(), + rhs.into(), ) .into(); output @@ -17629,9 +18797,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_scalar", |_self: Ref, rhs: f32| { - let output: Val = bevy::math::Mat4::mul_scalar( - _self, - rhs, + let output: Val = ::bevy::math::Mat4::mul_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -17640,9 +18808,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_scalar", |_self: Ref, rhs: f32| { - let output: Val = bevy::math::Mat4::div_scalar( - _self, - rhs, + let output: Val = ::bevy::math::Mat4::div_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -17655,10 +18823,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f32| { - let output: bool = bevy::math::Mat4::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::Mat4::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -17667,7 +18835,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Ref| { - let output: Val = bevy::math::Mat4::abs(_self) + let output: Val = ::bevy::math::Mat4::abs( + _self.into(), + ) .into(); output }, @@ -17675,8 +18845,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_dmat4", |_self: Ref| { - let output: Val = bevy::math::Mat4::as_dmat4( - _self, + let output: Val = ::bevy::math::Mat4::as_dmat4( + _self.into(), ) .into(); output @@ -17685,23 +18855,29 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Mat4::mul(_self, rhs) + let output: Val = ::bevy::math::Mat4::mul( + _self.into(), + rhs.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::DMat2>::new(world) .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::DMat2::eq(_self, rhs).into(); + let output: bool = ::bevy::math::DMat2::eq(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::DMat2::clone(_self) + let output: Val = ::bevy::math::DMat2::clone( + _self.into(), + ) .into(); output }, @@ -17709,9 +18885,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat2::add( - _self, - rhs, + let output: Val = ::bevy::math::DMat2::add( + _self.into(), + rhs.into(), ) .into(); output @@ -17720,9 +18896,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat2::sub( - _self, - rhs, + let output: Val = ::bevy::math::DMat2::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -17731,9 +18907,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat2::mul( - _self, - rhs, + let output: Val = ::bevy::math::DMat2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -17742,7 +18918,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::DMat2::neg(_self) + let output: Val = ::bevy::math::DMat2::neg( + _self.into(), + ) .into(); output }, @@ -17750,9 +18928,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat2::mul( - _self, - rhs, + let output: Val = ::bevy::math::DMat2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -17761,9 +18939,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_cols", |x_axis: Val, y_axis: Val| { - let output: Val = bevy::math::DMat2::from_cols( - x_axis, - y_axis, + let output: Val = ::bevy::math::DMat2::from_cols( + x_axis.into(), + y_axis.into(), ) .into(); output @@ -17772,7 +18950,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array", |_self: Ref| { - let output: [f64; 4] = bevy::math::DMat2::to_cols_array(_self) + let output: [f64; 4] = ::bevy::math::DMat2::to_cols_array( + _self.into(), + ) .into(); output }, @@ -17780,8 +18960,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array_2d", |_self: Ref| { - let output: [[f64; 2]; 2] = bevy::math::DMat2::to_cols_array_2d( - _self, + let output: [[f64; 2]; 2] = ::bevy::math::DMat2::to_cols_array_2d( + _self.into(), ) .into(); output @@ -17790,8 +18970,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_diagonal", |diagonal: Val| { - let output: Val = bevy::math::DMat2::from_diagonal( - diagonal, + let output: Val = ::bevy::math::DMat2::from_diagonal( + diagonal.into(), ) .into(); output @@ -17800,9 +18980,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_scale_angle", |scale: Val, angle: f64| { - let output: Val = bevy::math::DMat2::from_scale_angle( - scale, - angle, + let output: Val = ::bevy::math::DMat2::from_scale_angle( + scale.into(), + angle.into(), ) .into(); output @@ -17811,8 +18991,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_angle", |angle: f64| { - let output: Val = bevy::math::DMat2::from_angle( - angle, + let output: Val = ::bevy::math::DMat2::from_angle( + angle.into(), ) .into(); output @@ -17821,7 +19001,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3", |m: Val| { - let output: Val = bevy::math::DMat2::from_mat3(m) + let output: Val = ::bevy::math::DMat2::from_mat3( + m.into(), + ) .into(); output }, @@ -17829,10 +19011,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3_minor", |m: Val, i: usize, j: usize| { - let output: Val = bevy::math::DMat2::from_mat3_minor( - m, - i, - j, + let output: Val = ::bevy::math::DMat2::from_mat3_minor( + m.into(), + i.into(), + j.into(), ) .into(); output @@ -17841,9 +19023,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "col", |_self: Ref, index: usize| { - let output: Val = bevy::math::DMat2::col( - _self, - index, + let output: Val = ::bevy::math::DMat2::col( + _self.into(), + index.into(), ) .into(); output @@ -17852,9 +19034,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "row", |_self: Ref, index: usize| { - let output: Val = bevy::math::DMat2::row( - _self, - index, + let output: Val = ::bevy::math::DMat2::row( + _self.into(), + index.into(), ) .into(); output @@ -17863,22 +19045,23 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Ref| { - let output: bool = bevy::math::DMat2::is_finite(_self).into(); + let output: bool = ::bevy::math::DMat2::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Ref| { - let output: bool = bevy::math::DMat2::is_nan(_self).into(); + let output: bool = ::bevy::math::DMat2::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "transpose", |_self: Ref| { - let output: Val = bevy::math::DMat2::transpose( - _self, + let output: Val = ::bevy::math::DMat2::transpose( + _self.into(), ) .into(); output @@ -17887,15 +19070,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "determinant", |_self: Ref| { - let output: f64 = bevy::math::DMat2::determinant(_self).into(); + let output: f64 = ::bevy::math::DMat2::determinant(_self.into()) + .into(); output }, ) .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::DMat2::inverse( - _self, + let output: Val = ::bevy::math::DMat2::inverse( + _self.into(), ) .into(); output @@ -17904,9 +19088,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_vec2", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::DMat2::mul_vec2( - _self, - rhs, + let output: Val = ::bevy::math::DMat2::mul_vec2( + _self.into(), + rhs.into(), ) .into(); output @@ -17915,9 +19099,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_mat2", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::DMat2::mul_mat2( - _self, - rhs, + let output: Val = ::bevy::math::DMat2::mul_mat2( + _self.into(), + rhs.into(), ) .into(); output @@ -17926,9 +19110,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add_mat2", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::DMat2::add_mat2( - _self, - rhs, + let output: Val = ::bevy::math::DMat2::add_mat2( + _self.into(), + rhs.into(), ) .into(); output @@ -17937,9 +19121,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub_mat2", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::DMat2::sub_mat2( - _self, - rhs, + let output: Val = ::bevy::math::DMat2::sub_mat2( + _self.into(), + rhs.into(), ) .into(); output @@ -17948,9 +19132,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_scalar", |_self: Ref, rhs: f64| { - let output: Val = bevy::math::DMat2::mul_scalar( - _self, - rhs, + let output: Val = ::bevy::math::DMat2::mul_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -17959,9 +19143,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_scalar", |_self: Ref, rhs: f64| { - let output: Val = bevy::math::DMat2::div_scalar( - _self, - rhs, + let output: Val = ::bevy::math::DMat2::div_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -17974,10 +19158,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f64| { - let output: bool = bevy::math::DMat2::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::DMat2::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -17986,7 +19170,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Ref| { - let output: Val = bevy::math::DMat2::abs(_self) + let output: Val = ::bevy::math::DMat2::abs( + _self.into(), + ) .into(); output }, @@ -17994,7 +19180,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_mat2", |_self: Ref| { - let output: Val = bevy::math::DMat2::as_mat2(_self) + let output: Val = ::bevy::math::DMat2::as_mat2( + _self.into(), + ) .into(); output }, @@ -18002,9 +19190,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DMat2::mul( - _self, - rhs, + let output: Val = ::bevy::math::DMat2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -18013,21 +19201,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DMat2::div( - _self, - rhs, + let output: Val = ::bevy::math::DMat2::div( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::DMat3>::new(world) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat3::mul( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -18036,9 +19224,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat3::mul( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -18047,9 +19235,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat3::add( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::add( + _self.into(), + rhs.into(), ) .into(); output @@ -18062,10 +19250,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { y_axis: Val, z_axis: Val| { - let output: Val = bevy::math::DMat3::from_cols( - x_axis, - y_axis, - z_axis, + let output: Val = ::bevy::math::DMat3::from_cols( + x_axis.into(), + y_axis.into(), + z_axis.into(), ) .into(); output @@ -18074,7 +19262,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array", |_self: Ref| { - let output: [f64; 9] = bevy::math::DMat3::to_cols_array(_self) + let output: [f64; 9] = ::bevy::math::DMat3::to_cols_array( + _self.into(), + ) .into(); output }, @@ -18082,8 +19272,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array_2d", |_self: Ref| { - let output: [[f64; 3]; 3] = bevy::math::DMat3::to_cols_array_2d( - _self, + let output: [[f64; 3]; 3] = ::bevy::math::DMat3::to_cols_array_2d( + _self.into(), ) .into(); output @@ -18092,8 +19282,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_diagonal", |diagonal: Val| { - let output: Val = bevy::math::DMat3::from_diagonal( - diagonal, + let output: Val = ::bevy::math::DMat3::from_diagonal( + diagonal.into(), ) .into(); output @@ -18102,7 +19292,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat4", |m: Val| { - let output: Val = bevy::math::DMat3::from_mat4(m) + let output: Val = ::bevy::math::DMat3::from_mat4( + m.into(), + ) .into(); output }, @@ -18110,10 +19302,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat4_minor", |m: Val, i: usize, j: usize| { - let output: Val = bevy::math::DMat3::from_mat4_minor( - m, - i, - j, + let output: Val = ::bevy::math::DMat3::from_mat4_minor( + m.into(), + i.into(), + j.into(), ) .into(); output @@ -18122,8 +19314,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_quat", |rotation: Val| { - let output: Val = bevy::math::DMat3::from_quat( - rotation, + let output: Val = ::bevy::math::DMat3::from_quat( + rotation.into(), ) .into(); output @@ -18132,9 +19324,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_axis_angle", |axis: Val, angle: f64| { - let output: Val = bevy::math::DMat3::from_axis_angle( - axis, - angle, + let output: Val = ::bevy::math::DMat3::from_axis_angle( + axis.into(), + angle.into(), ) .into(); output @@ -18143,11 +19335,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_euler", |order: Val, a: f64, b: f64, c: f64| { - let output: Val = bevy::math::DMat3::from_euler( - order, - a, - b, - c, + let output: Val = ::bevy::math::DMat3::from_euler( + order.into(), + a.into(), + b.into(), + c.into(), ) .into(); output @@ -18156,9 +19348,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_euler", |_self: Ref, order: Val| { - let output: (f64, f64, f64) = bevy::math::DMat3::to_euler( - _self, - order, + let output: (f64, f64, f64) = ::bevy::math::DMat3::to_euler( + _self.into(), + order.into(), ) .into(); output @@ -18167,8 +19359,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_x", |angle: f64| { - let output: Val = bevy::math::DMat3::from_rotation_x( - angle, + let output: Val = ::bevy::math::DMat3::from_rotation_x( + angle.into(), ) .into(); output @@ -18177,8 +19369,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_y", |angle: f64| { - let output: Val = bevy::math::DMat3::from_rotation_y( - angle, + let output: Val = ::bevy::math::DMat3::from_rotation_y( + angle.into(), ) .into(); output @@ -18187,8 +19379,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_z", |angle: f64| { - let output: Val = bevy::math::DMat3::from_rotation_z( - angle, + let output: Val = ::bevy::math::DMat3::from_rotation_z( + angle.into(), ) .into(); output @@ -18197,8 +19389,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_translation", |translation: Val| { - let output: Val = bevy::math::DMat3::from_translation( - translation, + let output: Val = ::bevy::math::DMat3::from_translation( + translation.into(), ) .into(); output @@ -18207,8 +19399,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_angle", |angle: f64| { - let output: Val = bevy::math::DMat3::from_angle( - angle, + let output: Val = ::bevy::math::DMat3::from_angle( + angle.into(), ) .into(); output @@ -18221,10 +19413,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { angle: f64, translation: Val| { - let output: Val = bevy::math::DMat3::from_scale_angle_translation( - scale, - angle, - translation, + let output: Val = ::bevy::math::DMat3::from_scale_angle_translation( + scale.into(), + angle.into(), + translation.into(), ) .into(); output @@ -18233,8 +19425,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_scale", |scale: Val| { - let output: Val = bevy::math::DMat3::from_scale( - scale, + let output: Val = ::bevy::math::DMat3::from_scale( + scale.into(), ) .into(); output @@ -18243,7 +19435,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat2", |m: Val| { - let output: Val = bevy::math::DMat3::from_mat2(m) + let output: Val = ::bevy::math::DMat3::from_mat2( + m.into(), + ) .into(); output }, @@ -18251,9 +19445,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "col", |_self: Ref, index: usize| { - let output: Val = bevy::math::DMat3::col( - _self, - index, + let output: Val = ::bevy::math::DMat3::col( + _self.into(), + index.into(), ) .into(); output @@ -18262,9 +19456,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "row", |_self: Ref, index: usize| { - let output: Val = bevy::math::DMat3::row( - _self, - index, + let output: Val = ::bevy::math::DMat3::row( + _self.into(), + index.into(), ) .into(); output @@ -18273,22 +19467,23 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Ref| { - let output: bool = bevy::math::DMat3::is_finite(_self).into(); + let output: bool = ::bevy::math::DMat3::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Ref| { - let output: bool = bevy::math::DMat3::is_nan(_self).into(); + let output: bool = ::bevy::math::DMat3::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "transpose", |_self: Ref| { - let output: Val = bevy::math::DMat3::transpose( - _self, + let output: Val = ::bevy::math::DMat3::transpose( + _self.into(), ) .into(); output @@ -18297,15 +19492,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "determinant", |_self: Ref| { - let output: f64 = bevy::math::DMat3::determinant(_self).into(); + let output: f64 = ::bevy::math::DMat3::determinant(_self.into()) + .into(); output }, ) .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::DMat3::inverse( - _self, + let output: Val = ::bevy::math::DMat3::inverse( + _self.into(), ) .into(); output @@ -18314,9 +19510,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_point2", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::DMat3::transform_point2( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::transform_point2( + _self.into(), + rhs.into(), ) .into(); output @@ -18325,9 +19521,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_vector2", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::DMat3::transform_vector2( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::transform_vector2( + _self.into(), + rhs.into(), ) .into(); output @@ -18336,9 +19532,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_vec3", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::DMat3::mul_vec3( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::mul_vec3( + _self.into(), + rhs.into(), ) .into(); output @@ -18347,9 +19543,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_mat3", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::DMat3::mul_mat3( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::mul_mat3( + _self.into(), + rhs.into(), ) .into(); output @@ -18358,9 +19554,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add_mat3", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::DMat3::add_mat3( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::add_mat3( + _self.into(), + rhs.into(), ) .into(); output @@ -18369,9 +19565,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub_mat3", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::DMat3::sub_mat3( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::sub_mat3( + _self.into(), + rhs.into(), ) .into(); output @@ -18380,9 +19576,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_scalar", |_self: Ref, rhs: f64| { - let output: Val = bevy::math::DMat3::mul_scalar( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::mul_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -18391,9 +19587,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_scalar", |_self: Ref, rhs: f64| { - let output: Val = bevy::math::DMat3::div_scalar( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::div_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -18406,10 +19602,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f64| { - let output: bool = bevy::math::DMat3::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::DMat3::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -18418,7 +19614,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Ref| { - let output: Val = bevy::math::DMat3::abs(_self) + let output: Val = ::bevy::math::DMat3::abs( + _self.into(), + ) .into(); output }, @@ -18426,7 +19624,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_mat3", |_self: Ref| { - let output: Val = bevy::math::DMat3::as_mat3(_self) + let output: Val = ::bevy::math::DMat3::as_mat3( + _self.into(), + ) .into(); output }, @@ -18434,14 +19634,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::DMat3::eq(_self, rhs).into(); + let output: bool = ::bevy::math::DMat3::eq(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::DMat3::clone(_self) + let output: Val = ::bevy::math::DMat3::clone( + _self.into(), + ) .into(); output }, @@ -18449,9 +19652,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DMat3::mul( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -18460,7 +19663,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::DMat3::neg(_self) + let output: Val = ::bevy::math::DMat3::neg( + _self.into(), + ) .into(); output }, @@ -18468,9 +19673,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat3::sub( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -18479,9 +19684,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat3::mul( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -18490,21 +19695,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DMat3::div( - _self, - rhs, + let output: Val = ::bevy::math::DMat3::div( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::DMat4>::new(world) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat4::mul( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -18513,9 +19718,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat4::mul( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -18529,11 +19734,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { z_axis: Val, w_axis: Val| { - let output: Val = bevy::math::DMat4::from_cols( - x_axis, - y_axis, - z_axis, - w_axis, + let output: Val = ::bevy::math::DMat4::from_cols( + x_axis.into(), + y_axis.into(), + z_axis.into(), + w_axis.into(), ) .into(); output @@ -18542,7 +19747,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array", |_self: Ref| { - let output: [f64; 16] = bevy::math::DMat4::to_cols_array(_self) + let output: [f64; 16] = ::bevy::math::DMat4::to_cols_array( + _self.into(), + ) .into(); output }, @@ -18550,8 +19757,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array_2d", |_self: Ref| { - let output: [[f64; 4]; 4] = bevy::math::DMat4::to_cols_array_2d( - _self, + let output: [[f64; 4]; 4] = ::bevy::math::DMat4::to_cols_array_2d( + _self.into(), ) .into(); output @@ -18560,8 +19767,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_diagonal", |diagonal: Val| { - let output: Val = bevy::math::DMat4::from_diagonal( - diagonal, + let output: Val = ::bevy::math::DMat4::from_diagonal( + diagonal.into(), ) .into(); output @@ -18574,10 +19781,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rotation: Val, translation: Val| { - let output: Val = bevy::math::DMat4::from_scale_rotation_translation( - scale, - rotation, - translation, + let output: Val = ::bevy::math::DMat4::from_scale_rotation_translation( + scale.into(), + rotation.into(), + translation.into(), ) .into(); output @@ -18586,9 +19793,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_translation", |rotation: Val, translation: Val| { - let output: Val = bevy::math::DMat4::from_rotation_translation( - rotation, - translation, + let output: Val = ::bevy::math::DMat4::from_rotation_translation( + rotation.into(), + translation.into(), ) .into(); output @@ -18597,8 +19804,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_quat", |rotation: Val| { - let output: Val = bevy::math::DMat4::from_quat( - rotation, + let output: Val = ::bevy::math::DMat4::from_quat( + rotation.into(), ) .into(); output @@ -18607,7 +19814,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3", |m: Val| { - let output: Val = bevy::math::DMat4::from_mat3(m) + let output: Val = ::bevy::math::DMat4::from_mat3( + m.into(), + ) .into(); output }, @@ -18615,8 +19824,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_translation", |translation: Val| { - let output: Val = bevy::math::DMat4::from_translation( - translation, + let output: Val = ::bevy::math::DMat4::from_translation( + translation.into(), ) .into(); output @@ -18625,9 +19834,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_axis_angle", |axis: Val, angle: f64| { - let output: Val = bevy::math::DMat4::from_axis_angle( - axis, - angle, + let output: Val = ::bevy::math::DMat4::from_axis_angle( + axis.into(), + angle.into(), ) .into(); output @@ -18636,11 +19845,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_euler", |order: Val, a: f64, b: f64, c: f64| { - let output: Val = bevy::math::DMat4::from_euler( - order, - a, - b, - c, + let output: Val = ::bevy::math::DMat4::from_euler( + order.into(), + a.into(), + b.into(), + c.into(), ) .into(); output @@ -18649,9 +19858,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_euler", |_self: Ref, order: Val| { - let output: (f64, f64, f64) = bevy::math::DMat4::to_euler( - _self, - order, + let output: (f64, f64, f64) = ::bevy::math::DMat4::to_euler( + _self.into(), + order.into(), ) .into(); output @@ -18660,8 +19869,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_x", |angle: f64| { - let output: Val = bevy::math::DMat4::from_rotation_x( - angle, + let output: Val = ::bevy::math::DMat4::from_rotation_x( + angle.into(), ) .into(); output @@ -18670,8 +19879,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_y", |angle: f64| { - let output: Val = bevy::math::DMat4::from_rotation_y( - angle, + let output: Val = ::bevy::math::DMat4::from_rotation_y( + angle.into(), ) .into(); output @@ -18680,8 +19889,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_z", |angle: f64| { - let output: Val = bevy::math::DMat4::from_rotation_z( - angle, + let output: Val = ::bevy::math::DMat4::from_rotation_z( + angle.into(), ) .into(); output @@ -18690,8 +19899,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_scale", |scale: Val| { - let output: Val = bevy::math::DMat4::from_scale( - scale, + let output: Val = ::bevy::math::DMat4::from_scale( + scale.into(), ) .into(); output @@ -18700,9 +19909,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "col", |_self: Ref, index: usize| { - let output: Val = bevy::math::DMat4::col( - _self, - index, + let output: Val = ::bevy::math::DMat4::col( + _self.into(), + index.into(), ) .into(); output @@ -18711,9 +19920,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "row", |_self: Ref, index: usize| { - let output: Val = bevy::math::DMat4::row( - _self, - index, + let output: Val = ::bevy::math::DMat4::row( + _self.into(), + index.into(), ) .into(); output @@ -18722,22 +19931,23 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Ref| { - let output: bool = bevy::math::DMat4::is_finite(_self).into(); + let output: bool = ::bevy::math::DMat4::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Ref| { - let output: bool = bevy::math::DMat4::is_nan(_self).into(); + let output: bool = ::bevy::math::DMat4::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "transpose", |_self: Ref| { - let output: Val = bevy::math::DMat4::transpose( - _self, + let output: Val = ::bevy::math::DMat4::transpose( + _self.into(), ) .into(); output @@ -18746,15 +19956,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "determinant", |_self: Ref| { - let output: f64 = bevy::math::DMat4::determinant(_self).into(); + let output: f64 = ::bevy::math::DMat4::determinant(_self.into()) + .into(); output }, ) .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::DMat4::inverse( - _self, + let output: Val = ::bevy::math::DMat4::inverse( + _self.into(), ) .into(); output @@ -18767,10 +19978,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { dir: Val, up: Val| { - let output: Val = bevy::math::DMat4::look_to_lh( - eye, - dir, - up, + let output: Val = ::bevy::math::DMat4::look_to_lh( + eye.into(), + dir.into(), + up.into(), ) .into(); output @@ -18783,10 +19994,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { dir: Val, up: Val| { - let output: Val = bevy::math::DMat4::look_to_rh( - eye, - dir, - up, + let output: Val = ::bevy::math::DMat4::look_to_rh( + eye.into(), + dir.into(), + up.into(), ) .into(); output @@ -18799,10 +20010,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { center: Val, up: Val| { - let output: Val = bevy::math::DMat4::look_at_lh( - eye, - center, - up, + let output: Val = ::bevy::math::DMat4::look_at_lh( + eye.into(), + center.into(), + up.into(), ) .into(); output @@ -18815,10 +20026,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { center: Val, up: Val| { - let output: Val = bevy::math::DMat4::look_at_rh( - eye, - center, - up, + let output: Val = ::bevy::math::DMat4::look_at_rh( + eye.into(), + center.into(), + up.into(), ) .into(); output @@ -18827,11 +20038,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_rh_gl", |fov_y_radians: f64, aspect_ratio: f64, z_near: f64, z_far: f64| { - let output: Val = bevy::math::DMat4::perspective_rh_gl( - fov_y_radians, - aspect_ratio, - z_near, - z_far, + let output: Val = ::bevy::math::DMat4::perspective_rh_gl( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), + z_far.into(), ) .into(); output @@ -18840,11 +20051,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_lh", |fov_y_radians: f64, aspect_ratio: f64, z_near: f64, z_far: f64| { - let output: Val = bevy::math::DMat4::perspective_lh( - fov_y_radians, - aspect_ratio, - z_near, - z_far, + let output: Val = ::bevy::math::DMat4::perspective_lh( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), + z_far.into(), ) .into(); output @@ -18853,11 +20064,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_rh", |fov_y_radians: f64, aspect_ratio: f64, z_near: f64, z_far: f64| { - let output: Val = bevy::math::DMat4::perspective_rh( - fov_y_radians, - aspect_ratio, - z_near, - z_far, + let output: Val = ::bevy::math::DMat4::perspective_rh( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), + z_far.into(), ) .into(); output @@ -18866,10 +20077,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_infinite_lh", |fov_y_radians: f64, aspect_ratio: f64, z_near: f64| { - let output: Val = bevy::math::DMat4::perspective_infinite_lh( - fov_y_radians, - aspect_ratio, - z_near, + let output: Val = ::bevy::math::DMat4::perspective_infinite_lh( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), ) .into(); output @@ -18878,10 +20089,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_infinite_reverse_lh", |fov_y_radians: f64, aspect_ratio: f64, z_near: f64| { - let output: Val = bevy::math::DMat4::perspective_infinite_reverse_lh( - fov_y_radians, - aspect_ratio, - z_near, + let output: Val = ::bevy::math::DMat4::perspective_infinite_reverse_lh( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), ) .into(); output @@ -18890,10 +20101,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_infinite_rh", |fov_y_radians: f64, aspect_ratio: f64, z_near: f64| { - let output: Val = bevy::math::DMat4::perspective_infinite_rh( - fov_y_radians, - aspect_ratio, - z_near, + let output: Val = ::bevy::math::DMat4::perspective_infinite_rh( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), ) .into(); output @@ -18902,10 +20113,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "perspective_infinite_reverse_rh", |fov_y_radians: f64, aspect_ratio: f64, z_near: f64| { - let output: Val = bevy::math::DMat4::perspective_infinite_reverse_rh( - fov_y_radians, - aspect_ratio, - z_near, + let output: Val = ::bevy::math::DMat4::perspective_infinite_reverse_rh( + fov_y_radians.into(), + aspect_ratio.into(), + z_near.into(), ) .into(); output @@ -18914,13 +20125,13 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "orthographic_rh_gl", |left: f64, right: f64, bottom: f64, top: f64, near: f64, far: f64| { - let output: Val = bevy::math::DMat4::orthographic_rh_gl( - left, - right, - bottom, - top, - near, - far, + let output: Val = ::bevy::math::DMat4::orthographic_rh_gl( + left.into(), + right.into(), + bottom.into(), + top.into(), + near.into(), + far.into(), ) .into(); output @@ -18929,13 +20140,13 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "orthographic_lh", |left: f64, right: f64, bottom: f64, top: f64, near: f64, far: f64| { - let output: Val = bevy::math::DMat4::orthographic_lh( - left, - right, - bottom, - top, - near, - far, + let output: Val = ::bevy::math::DMat4::orthographic_lh( + left.into(), + right.into(), + bottom.into(), + top.into(), + near.into(), + far.into(), ) .into(); output @@ -18944,13 +20155,13 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "orthographic_rh", |left: f64, right: f64, bottom: f64, top: f64, near: f64, far: f64| { - let output: Val = bevy::math::DMat4::orthographic_rh( - left, - right, - bottom, - top, - near, - far, + let output: Val = ::bevy::math::DMat4::orthographic_rh( + left.into(), + right.into(), + bottom.into(), + top.into(), + near.into(), + far.into(), ) .into(); output @@ -18959,9 +20170,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "project_point3", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::DMat4::project_point3( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::project_point3( + _self.into(), + rhs.into(), ) .into(); output @@ -18970,9 +20181,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_point3", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::DMat4::transform_point3( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::transform_point3( + _self.into(), + rhs.into(), ) .into(); output @@ -18981,9 +20192,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_vector3", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::DMat4::transform_vector3( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::transform_vector3( + _self.into(), + rhs.into(), ) .into(); output @@ -18992,9 +20203,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_vec4", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::DMat4::mul_vec4( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::mul_vec4( + _self.into(), + rhs.into(), ) .into(); output @@ -19003,9 +20214,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_mat4", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::DMat4::mul_mat4( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::mul_mat4( + _self.into(), + rhs.into(), ) .into(); output @@ -19014,9 +20225,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add_mat4", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::DMat4::add_mat4( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::add_mat4( + _self.into(), + rhs.into(), ) .into(); output @@ -19025,9 +20236,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub_mat4", |_self: Ref, rhs: Ref| { - let output: Val = bevy::math::DMat4::sub_mat4( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::sub_mat4( + _self.into(), + rhs.into(), ) .into(); output @@ -19036,9 +20247,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_scalar", |_self: Ref, rhs: f64| { - let output: Val = bevy::math::DMat4::mul_scalar( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::mul_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -19047,9 +20258,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div_scalar", |_self: Ref, rhs: f64| { - let output: Val = bevy::math::DMat4::div_scalar( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::div_scalar( + _self.into(), + rhs.into(), ) .into(); output @@ -19062,10 +20273,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f64| { - let output: bool = bevy::math::DMat4::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::DMat4::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -19074,7 +20285,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "abs", |_self: Ref| { - let output: Val = bevy::math::DMat4::abs(_self) + let output: Val = ::bevy::math::DMat4::abs( + _self.into(), + ) .into(); output }, @@ -19082,7 +20295,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_mat4", |_self: Ref| { - let output: Val = bevy::math::DMat4::as_mat4(_self) + let output: Val = ::bevy::math::DMat4::as_mat4( + _self.into(), + ) .into(); output }, @@ -19090,7 +20305,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::DMat4::neg(_self) + let output: Val = ::bevy::math::DMat4::neg( + _self.into(), + ) .into(); output }, @@ -19098,7 +20315,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::DMat4::clone(_self) + let output: Val = ::bevy::math::DMat4::clone( + _self.into(), + ) .into(); output }, @@ -19106,9 +20325,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat4::sub( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -19117,9 +20336,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DMat4::mul( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -19128,16 +20347,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::DMat4::eq(_self, rhs).into(); + let output: bool = ::bevy::math::DMat4::eq(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat4::add( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::add( + _self.into(), + rhs.into(), ) .into(); output @@ -19146,9 +20366,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "div", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DMat4::div( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::div( + _self.into(), + rhs.into(), ) .into(); output @@ -19157,21 +20377,21 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DMat4::mul( - _self, - rhs, + let output: Val = ::bevy::math::DMat4::mul( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Affine2>::new(world) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Affine2::mul( - _self, - rhs, + let output: Val = ::bevy::math::Affine2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -19180,9 +20400,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Affine2::mul( - _self, - rhs, + let output: Val = ::bevy::math::Affine2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -19191,8 +20411,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Affine2::clone( - _self, + let output: Val = ::bevy::math::Affine2::clone( + _self.into(), ) .into(); output @@ -19205,10 +20425,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { y_axis: Val, z_axis: Val| { - let output: Val = bevy::math::Affine2::from_cols( - x_axis, - y_axis, - z_axis, + let output: Val = ::bevy::math::Affine2::from_cols( + x_axis.into(), + y_axis.into(), + z_axis.into(), ) .into(); output @@ -19217,7 +20437,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array", |_self: Ref| { - let output: [f32; 6] = bevy::math::Affine2::to_cols_array(_self) + let output: [f32; 6] = ::bevy::math::Affine2::to_cols_array( + _self.into(), + ) .into(); output }, @@ -19225,8 +20447,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array_2d", |_self: Ref| { - let output: [[f32; 2]; 3] = bevy::math::Affine2::to_cols_array_2d( - _self, + let output: [[f32; 2]; 3] = ::bevy::math::Affine2::to_cols_array_2d( + _self.into(), ) .into(); output @@ -19235,8 +20457,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_scale", |scale: Val| { - let output: Val = bevy::math::Affine2::from_scale( - scale, + let output: Val = ::bevy::math::Affine2::from_scale( + scale.into(), ) .into(); output @@ -19245,8 +20467,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_angle", |angle: f32| { - let output: Val = bevy::math::Affine2::from_angle( - angle, + let output: Val = ::bevy::math::Affine2::from_angle( + angle.into(), ) .into(); output @@ -19255,8 +20477,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_translation", |translation: Val| { - let output: Val = bevy::math::Affine2::from_translation( - translation, + let output: Val = ::bevy::math::Affine2::from_translation( + translation.into(), ) .into(); output @@ -19265,8 +20487,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat2", |matrix2: Val| { - let output: Val = bevy::math::Affine2::from_mat2( - matrix2, + let output: Val = ::bevy::math::Affine2::from_mat2( + matrix2.into(), ) .into(); output @@ -19275,9 +20497,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat2_translation", |matrix2: Val, translation: Val| { - let output: Val = bevy::math::Affine2::from_mat2_translation( - matrix2, - translation, + let output: Val = ::bevy::math::Affine2::from_mat2_translation( + matrix2.into(), + translation.into(), ) .into(); output @@ -19290,10 +20512,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { angle: f32, translation: Val| { - let output: Val = bevy::math::Affine2::from_scale_angle_translation( - scale, - angle, - translation, + let output: Val = ::bevy::math::Affine2::from_scale_angle_translation( + scale.into(), + angle.into(), + translation.into(), ) .into(); output @@ -19302,9 +20524,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_angle_translation", |angle: f32, translation: Val| { - let output: Val = bevy::math::Affine2::from_angle_translation( - angle, - translation, + let output: Val = ::bevy::math::Affine2::from_angle_translation( + angle.into(), + translation.into(), ) .into(); output @@ -19313,8 +20535,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3", |m: Val| { - let output: Val = bevy::math::Affine2::from_mat3( - m, + let output: Val = ::bevy::math::Affine2::from_mat3( + m.into(), ) .into(); output @@ -19323,8 +20545,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3a", |m: Val| { - let output: Val = bevy::math::Affine2::from_mat3a( - m, + let output: Val = ::bevy::math::Affine2::from_mat3a( + m.into(), ) .into(); output @@ -19333,9 +20555,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_point2", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Affine2::transform_point2( - _self, - rhs, + let output: Val = ::bevy::math::Affine2::transform_point2( + _self.into(), + rhs.into(), ) .into(); output @@ -19344,9 +20566,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_vector2", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Affine2::transform_vector2( - _self, - rhs, + let output: Val = ::bevy::math::Affine2::transform_vector2( + _self.into(), + rhs.into(), ) .into(); output @@ -19355,14 +20577,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Ref| { - let output: bool = bevy::math::Affine2::is_finite(_self).into(); + let output: bool = ::bevy::math::Affine2::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Ref| { - let output: bool = bevy::math::Affine2::is_nan(_self).into(); + let output: bool = ::bevy::math::Affine2::is_nan(_self.into()) + .into(); output }, ) @@ -19373,10 +20597,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f32| { - let output: bool = bevy::math::Affine2::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::Affine2::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -19385,8 +20609,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::Affine2::inverse( - _self, + let output: Val = ::bevy::math::Affine2::inverse( + _self.into(), ) .into(); output @@ -19395,34 +20619,42 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::Affine2::eq(_self, rhs).into(); + let output: bool = ::bevy::math::Affine2::eq( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Affine2::mul( - _self, - rhs, + let output: Val = ::bevy::math::Affine2::mul( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::Affine3A>::new(world) .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::Affine3A::eq(_self, rhs).into(); + let output: bool = ::bevy::math::Affine3A::eq( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::Affine3A::clone( - _self, + let output: Val = ::bevy::math::Affine3A::clone( + _self.into(), ) .into(); output @@ -19436,11 +20668,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { z_axis: Val, w_axis: Val| { - let output: Val = bevy::math::Affine3A::from_cols( - x_axis, - y_axis, - z_axis, - w_axis, + let output: Val = ::bevy::math::Affine3A::from_cols( + x_axis.into(), + y_axis.into(), + z_axis.into(), + w_axis.into(), ) .into(); output @@ -19449,7 +20681,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array", |_self: Ref| { - let output: [f32; 12] = bevy::math::Affine3A::to_cols_array(_self) + let output: [f32; 12] = ::bevy::math::Affine3A::to_cols_array( + _self.into(), + ) .into(); output }, @@ -19457,8 +20691,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array_2d", |_self: Ref| { - let output: [[f32; 3]; 4] = bevy::math::Affine3A::to_cols_array_2d( - _self, + let output: [[f32; 3]; 4] = ::bevy::math::Affine3A::to_cols_array_2d( + _self.into(), ) .into(); output @@ -19467,8 +20701,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_scale", |scale: Val| { - let output: Val = bevy::math::Affine3A::from_scale( - scale, + let output: Val = ::bevy::math::Affine3A::from_scale( + scale.into(), ) .into(); output @@ -19477,8 +20711,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_quat", |rotation: Val| { - let output: Val = bevy::math::Affine3A::from_quat( - rotation, + let output: Val = ::bevy::math::Affine3A::from_quat( + rotation.into(), ) .into(); output @@ -19487,9 +20721,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_axis_angle", |axis: Val, angle: f32| { - let output: Val = bevy::math::Affine3A::from_axis_angle( - axis, - angle, + let output: Val = ::bevy::math::Affine3A::from_axis_angle( + axis.into(), + angle.into(), ) .into(); output @@ -19498,8 +20732,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_x", |angle: f32| { - let output: Val = bevy::math::Affine3A::from_rotation_x( - angle, + let output: Val = ::bevy::math::Affine3A::from_rotation_x( + angle.into(), ) .into(); output @@ -19508,8 +20742,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_y", |angle: f32| { - let output: Val = bevy::math::Affine3A::from_rotation_y( - angle, + let output: Val = ::bevy::math::Affine3A::from_rotation_y( + angle.into(), ) .into(); output @@ -19518,8 +20752,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_z", |angle: f32| { - let output: Val = bevy::math::Affine3A::from_rotation_z( - angle, + let output: Val = ::bevy::math::Affine3A::from_rotation_z( + angle.into(), ) .into(); output @@ -19528,8 +20762,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_translation", |translation: Val| { - let output: Val = bevy::math::Affine3A::from_translation( - translation, + let output: Val = ::bevy::math::Affine3A::from_translation( + translation.into(), ) .into(); output @@ -19538,8 +20772,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3", |mat3: Val| { - let output: Val = bevy::math::Affine3A::from_mat3( - mat3, + let output: Val = ::bevy::math::Affine3A::from_mat3( + mat3.into(), ) .into(); output @@ -19548,9 +20782,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3_translation", |mat3: Val, translation: Val| { - let output: Val = bevy::math::Affine3A::from_mat3_translation( - mat3, - translation, + let output: Val = ::bevy::math::Affine3A::from_mat3_translation( + mat3.into(), + translation.into(), ) .into(); output @@ -19563,10 +20797,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rotation: Val, translation: Val| { - let output: Val = bevy::math::Affine3A::from_scale_rotation_translation( - scale, - rotation, - translation, + let output: Val = ::bevy::math::Affine3A::from_scale_rotation_translation( + scale.into(), + rotation.into(), + translation.into(), ) .into(); output @@ -19575,9 +20809,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_translation", |rotation: Val, translation: Val| { - let output: Val = bevy::math::Affine3A::from_rotation_translation( - rotation, - translation, + let output: Val = ::bevy::math::Affine3A::from_rotation_translation( + rotation.into(), + translation.into(), ) .into(); output @@ -19586,8 +20820,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat4", |m: Val| { - let output: Val = bevy::math::Affine3A::from_mat4( - m, + let output: Val = ::bevy::math::Affine3A::from_mat4( + m.into(), ) .into(); output @@ -19600,10 +20834,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { dir: Val, up: Val| { - let output: Val = bevy::math::Affine3A::look_to_lh( - eye, - dir, - up, + let output: Val = ::bevy::math::Affine3A::look_to_lh( + eye.into(), + dir.into(), + up.into(), ) .into(); output @@ -19616,10 +20850,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { dir: Val, up: Val| { - let output: Val = bevy::math::Affine3A::look_to_rh( - eye, - dir, - up, + let output: Val = ::bevy::math::Affine3A::look_to_rh( + eye.into(), + dir.into(), + up.into(), ) .into(); output @@ -19632,10 +20866,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { center: Val, up: Val| { - let output: Val = bevy::math::Affine3A::look_at_lh( - eye, - center, - up, + let output: Val = ::bevy::math::Affine3A::look_at_lh( + eye.into(), + center.into(), + up.into(), ) .into(); output @@ -19648,10 +20882,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { center: Val, up: Val| { - let output: Val = bevy::math::Affine3A::look_at_rh( - eye, - center, - up, + let output: Val = ::bevy::math::Affine3A::look_at_rh( + eye.into(), + center.into(), + up.into(), ) .into(); output @@ -19660,9 +20894,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_point3", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Affine3A::transform_point3( - _self, - rhs, + let output: Val = ::bevy::math::Affine3A::transform_point3( + _self.into(), + rhs.into(), ) .into(); output @@ -19671,9 +20905,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_vector3", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Affine3A::transform_vector3( - _self, - rhs, + let output: Val = ::bevy::math::Affine3A::transform_vector3( + _self.into(), + rhs.into(), ) .into(); output @@ -19682,9 +20916,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_point3a", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Affine3A::transform_point3a( - _self, - rhs, + let output: Val = ::bevy::math::Affine3A::transform_point3a( + _self.into(), + rhs.into(), ) .into(); output @@ -19693,9 +20927,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_vector3a", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::Affine3A::transform_vector3a( - _self, - rhs, + let output: Val = ::bevy::math::Affine3A::transform_vector3a( + _self.into(), + rhs.into(), ) .into(); output @@ -19704,14 +20938,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Ref| { - let output: bool = bevy::math::Affine3A::is_finite(_self).into(); + let output: bool = ::bevy::math::Affine3A::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Ref| { - let output: bool = bevy::math::Affine3A::is_nan(_self).into(); + let output: bool = ::bevy::math::Affine3A::is_nan(_self.into()) + .into(); output }, ) @@ -19722,10 +20958,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f32| { - let output: bool = bevy::math::Affine3A::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::Affine3A::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -19734,8 +20970,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::Affine3A::inverse( - _self, + let output: Val = ::bevy::math::Affine3A::inverse( + _self.into(), ) .into(); output @@ -19744,9 +20980,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Affine3A::mul( - _self, - rhs, + let output: Val = ::bevy::math::Affine3A::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -19755,19 +20991,23 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::Affine3A::mul( - _self, - rhs, + let output: Val = ::bevy::math::Affine3A::mul( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::DAffine2>::new(world) .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::DAffine2::eq(_self, rhs).into(); + let output: bool = ::bevy::math::DAffine2::eq( + _self.into(), + rhs.into(), + ) + .into(); output }, ) @@ -19778,10 +21018,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { y_axis: Val, z_axis: Val| { - let output: Val = bevy::math::DAffine2::from_cols( - x_axis, - y_axis, - z_axis, + let output: Val = ::bevy::math::DAffine2::from_cols( + x_axis.into(), + y_axis.into(), + z_axis.into(), ) .into(); output @@ -19790,7 +21030,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array", |_self: Ref| { - let output: [f64; 6] = bevy::math::DAffine2::to_cols_array(_self) + let output: [f64; 6] = ::bevy::math::DAffine2::to_cols_array( + _self.into(), + ) .into(); output }, @@ -19798,8 +21040,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array_2d", |_self: Ref| { - let output: [[f64; 2]; 3] = bevy::math::DAffine2::to_cols_array_2d( - _self, + let output: [[f64; 2]; 3] = ::bevy::math::DAffine2::to_cols_array_2d( + _self.into(), ) .into(); output @@ -19808,8 +21050,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_scale", |scale: Val| { - let output: Val = bevy::math::DAffine2::from_scale( - scale, + let output: Val = ::bevy::math::DAffine2::from_scale( + scale.into(), ) .into(); output @@ -19818,8 +21060,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_angle", |angle: f64| { - let output: Val = bevy::math::DAffine2::from_angle( - angle, + let output: Val = ::bevy::math::DAffine2::from_angle( + angle.into(), ) .into(); output @@ -19828,8 +21070,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_translation", |translation: Val| { - let output: Val = bevy::math::DAffine2::from_translation( - translation, + let output: Val = ::bevy::math::DAffine2::from_translation( + translation.into(), ) .into(); output @@ -19838,8 +21080,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat2", |matrix2: Val| { - let output: Val = bevy::math::DAffine2::from_mat2( - matrix2, + let output: Val = ::bevy::math::DAffine2::from_mat2( + matrix2.into(), ) .into(); output @@ -19848,9 +21090,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat2_translation", |matrix2: Val, translation: Val| { - let output: Val = bevy::math::DAffine2::from_mat2_translation( - matrix2, - translation, + let output: Val = ::bevy::math::DAffine2::from_mat2_translation( + matrix2.into(), + translation.into(), ) .into(); output @@ -19863,10 +21105,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { angle: f64, translation: Val| { - let output: Val = bevy::math::DAffine2::from_scale_angle_translation( - scale, - angle, - translation, + let output: Val = ::bevy::math::DAffine2::from_scale_angle_translation( + scale.into(), + angle.into(), + translation.into(), ) .into(); output @@ -19875,9 +21117,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_angle_translation", |angle: f64, translation: Val| { - let output: Val = bevy::math::DAffine2::from_angle_translation( - angle, - translation, + let output: Val = ::bevy::math::DAffine2::from_angle_translation( + angle.into(), + translation.into(), ) .into(); output @@ -19886,8 +21128,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3", |m: Val| { - let output: Val = bevy::math::DAffine2::from_mat3( - m, + let output: Val = ::bevy::math::DAffine2::from_mat3( + m.into(), ) .into(); output @@ -19896,9 +21138,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_point2", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::DAffine2::transform_point2( - _self, - rhs, + let output: Val = ::bevy::math::DAffine2::transform_point2( + _self.into(), + rhs.into(), ) .into(); output @@ -19907,9 +21149,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_vector2", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::DAffine2::transform_vector2( - _self, - rhs, + let output: Val = ::bevy::math::DAffine2::transform_vector2( + _self.into(), + rhs.into(), ) .into(); output @@ -19918,14 +21160,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Ref| { - let output: bool = bevy::math::DAffine2::is_finite(_self).into(); + let output: bool = ::bevy::math::DAffine2::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Ref| { - let output: bool = bevy::math::DAffine2::is_nan(_self).into(); + let output: bool = ::bevy::math::DAffine2::is_nan(_self.into()) + .into(); output }, ) @@ -19936,10 +21180,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f64| { - let output: bool = bevy::math::DAffine2::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::DAffine2::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -19948,8 +21192,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::DAffine2::inverse( - _self, + let output: Val = ::bevy::math::DAffine2::inverse( + _self.into(), ) .into(); output @@ -19958,9 +21202,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DAffine2::mul( - _self, - rhs, + let output: Val = ::bevy::math::DAffine2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -19969,9 +21213,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DAffine2::mul( - _self, - rhs, + let output: Val = ::bevy::math::DAffine2::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -19980,14 +21224,14 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::DAffine2::clone( - _self, + let output: Val = ::bevy::math::DAffine2::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::DAffine3>::new(world) .overwrite_script_function( "from_cols", | @@ -19996,11 +21240,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { z_axis: Val, w_axis: Val| { - let output: Val = bevy::math::DAffine3::from_cols( - x_axis, - y_axis, - z_axis, - w_axis, + let output: Val = ::bevy::math::DAffine3::from_cols( + x_axis.into(), + y_axis.into(), + z_axis.into(), + w_axis.into(), ) .into(); output @@ -20009,7 +21253,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array", |_self: Ref| { - let output: [f64; 12] = bevy::math::DAffine3::to_cols_array(_self) + let output: [f64; 12] = ::bevy::math::DAffine3::to_cols_array( + _self.into(), + ) .into(); output }, @@ -20017,8 +21263,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_cols_array_2d", |_self: Ref| { - let output: [[f64; 3]; 4] = bevy::math::DAffine3::to_cols_array_2d( - _self, + let output: [[f64; 3]; 4] = ::bevy::math::DAffine3::to_cols_array_2d( + _self.into(), ) .into(); output @@ -20027,8 +21273,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_scale", |scale: Val| { - let output: Val = bevy::math::DAffine3::from_scale( - scale, + let output: Val = ::bevy::math::DAffine3::from_scale( + scale.into(), ) .into(); output @@ -20037,8 +21283,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_quat", |rotation: Val| { - let output: Val = bevy::math::DAffine3::from_quat( - rotation, + let output: Val = ::bevy::math::DAffine3::from_quat( + rotation.into(), ) .into(); output @@ -20047,9 +21293,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_axis_angle", |axis: Val, angle: f64| { - let output: Val = bevy::math::DAffine3::from_axis_angle( - axis, - angle, + let output: Val = ::bevy::math::DAffine3::from_axis_angle( + axis.into(), + angle.into(), ) .into(); output @@ -20058,8 +21304,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_x", |angle: f64| { - let output: Val = bevy::math::DAffine3::from_rotation_x( - angle, + let output: Val = ::bevy::math::DAffine3::from_rotation_x( + angle.into(), ) .into(); output @@ -20068,8 +21314,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_y", |angle: f64| { - let output: Val = bevy::math::DAffine3::from_rotation_y( - angle, + let output: Val = ::bevy::math::DAffine3::from_rotation_y( + angle.into(), ) .into(); output @@ -20078,8 +21324,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_z", |angle: f64| { - let output: Val = bevy::math::DAffine3::from_rotation_z( - angle, + let output: Val = ::bevy::math::DAffine3::from_rotation_z( + angle.into(), ) .into(); output @@ -20088,8 +21334,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_translation", |translation: Val| { - let output: Val = bevy::math::DAffine3::from_translation( - translation, + let output: Val = ::bevy::math::DAffine3::from_translation( + translation.into(), ) .into(); output @@ -20098,8 +21344,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3", |mat3: Val| { - let output: Val = bevy::math::DAffine3::from_mat3( - mat3, + let output: Val = ::bevy::math::DAffine3::from_mat3( + mat3.into(), ) .into(); output @@ -20108,9 +21354,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3_translation", |mat3: Val, translation: Val| { - let output: Val = bevy::math::DAffine3::from_mat3_translation( - mat3, - translation, + let output: Val = ::bevy::math::DAffine3::from_mat3_translation( + mat3.into(), + translation.into(), ) .into(); output @@ -20123,10 +21369,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rotation: Val, translation: Val| { - let output: Val = bevy::math::DAffine3::from_scale_rotation_translation( - scale, - rotation, - translation, + let output: Val = ::bevy::math::DAffine3::from_scale_rotation_translation( + scale.into(), + rotation.into(), + translation.into(), ) .into(); output @@ -20135,9 +21381,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_translation", |rotation: Val, translation: Val| { - let output: Val = bevy::math::DAffine3::from_rotation_translation( - rotation, - translation, + let output: Val = ::bevy::math::DAffine3::from_rotation_translation( + rotation.into(), + translation.into(), ) .into(); output @@ -20146,8 +21392,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat4", |m: Val| { - let output: Val = bevy::math::DAffine3::from_mat4( - m, + let output: Val = ::bevy::math::DAffine3::from_mat4( + m.into(), ) .into(); output @@ -20160,10 +21406,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { dir: Val, up: Val| { - let output: Val = bevy::math::DAffine3::look_to_lh( - eye, - dir, - up, + let output: Val = ::bevy::math::DAffine3::look_to_lh( + eye.into(), + dir.into(), + up.into(), ) .into(); output @@ -20176,10 +21422,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { dir: Val, up: Val| { - let output: Val = bevy::math::DAffine3::look_to_rh( - eye, - dir, - up, + let output: Val = ::bevy::math::DAffine3::look_to_rh( + eye.into(), + dir.into(), + up.into(), ) .into(); output @@ -20192,10 +21438,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { center: Val, up: Val| { - let output: Val = bevy::math::DAffine3::look_at_lh( - eye, - center, - up, + let output: Val = ::bevy::math::DAffine3::look_at_lh( + eye.into(), + center.into(), + up.into(), ) .into(); output @@ -20208,10 +21454,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { center: Val, up: Val| { - let output: Val = bevy::math::DAffine3::look_at_rh( - eye, - center, - up, + let output: Val = ::bevy::math::DAffine3::look_at_rh( + eye.into(), + center.into(), + up.into(), ) .into(); output @@ -20220,9 +21466,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_point3", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::DAffine3::transform_point3( - _self, - rhs, + let output: Val = ::bevy::math::DAffine3::transform_point3( + _self.into(), + rhs.into(), ) .into(); output @@ -20231,9 +21477,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "transform_vector3", |_self: Ref, rhs: Val| { - let output: Val = bevy::math::DAffine3::transform_vector3( - _self, - rhs, + let output: Val = ::bevy::math::DAffine3::transform_vector3( + _self.into(), + rhs.into(), ) .into(); output @@ -20242,14 +21488,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Ref| { - let output: bool = bevy::math::DAffine3::is_finite(_self).into(); + let output: bool = ::bevy::math::DAffine3::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Ref| { - let output: bool = bevy::math::DAffine3::is_nan(_self).into(); + let output: bool = ::bevy::math::DAffine3::is_nan(_self.into()) + .into(); output }, ) @@ -20260,10 +21508,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f64| { - let output: bool = bevy::math::DAffine3::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::DAffine3::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -20272,8 +21520,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "inverse", |_self: Ref| { - let output: Val = bevy::math::DAffine3::inverse( - _self, + let output: Val = ::bevy::math::DAffine3::inverse( + _self.into(), ) .into(); output @@ -20282,16 +21530,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::DAffine3::eq(_self, rhs).into(); + let output: bool = ::bevy::math::DAffine3::eq( + _self.into(), + rhs.into(), + ) + .into(); output }, ) .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DAffine3::mul( - _self, - rhs, + let output: Val = ::bevy::math::DAffine3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -20300,9 +21552,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DAffine3::mul( - _self, - rhs, + let output: Val = ::bevy::math::DAffine3::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -20311,27 +21563,28 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::DAffine3::clone( - _self, + let output: Val = ::bevy::math::DAffine3::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::DQuat>::new(world) .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::DQuat::eq(_self, rhs).into(); + let output: bool = ::bevy::math::DQuat::eq(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "div", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DQuat::div( - _self, - rhs, + let output: Val = ::bevy::math::DQuat::div( + _self.into(), + rhs.into(), ) .into(); output @@ -20340,11 +21593,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_xyzw", |x: f64, y: f64, z: f64, w: f64| { - let output: Val = bevy::math::DQuat::from_xyzw( - x, - y, - z, - w, + let output: Val = ::bevy::math::DQuat::from_xyzw( + x.into(), + y.into(), + z.into(), + w.into(), ) .into(); output @@ -20353,7 +21606,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [f64; 4]| { - let output: Val = bevy::math::DQuat::from_array(a) + let output: Val = ::bevy::math::DQuat::from_array( + a.into(), + ) .into(); output }, @@ -20361,7 +21616,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_vec4", |v: Val| { - let output: Val = bevy::math::DQuat::from_vec4(v) + let output: Val = ::bevy::math::DQuat::from_vec4( + v.into(), + ) .into(); output }, @@ -20369,9 +21626,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_axis_angle", |axis: Val, angle: f64| { - let output: Val = bevy::math::DQuat::from_axis_angle( - axis, - angle, + let output: Val = ::bevy::math::DQuat::from_axis_angle( + axis.into(), + angle.into(), ) .into(); output @@ -20380,8 +21637,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_scaled_axis", |v: Val| { - let output: Val = bevy::math::DQuat::from_scaled_axis( - v, + let output: Val = ::bevy::math::DQuat::from_scaled_axis( + v.into(), ) .into(); output @@ -20390,8 +21647,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_x", |angle: f64| { - let output: Val = bevy::math::DQuat::from_rotation_x( - angle, + let output: Val = ::bevy::math::DQuat::from_rotation_x( + angle.into(), ) .into(); output @@ -20400,8 +21657,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_y", |angle: f64| { - let output: Val = bevy::math::DQuat::from_rotation_y( - angle, + let output: Val = ::bevy::math::DQuat::from_rotation_y( + angle.into(), ) .into(); output @@ -20410,8 +21667,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_z", |angle: f64| { - let output: Val = bevy::math::DQuat::from_rotation_z( - angle, + let output: Val = ::bevy::math::DQuat::from_rotation_z( + angle.into(), ) .into(); output @@ -20420,11 +21677,11 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_euler", |euler: Val, a: f64, b: f64, c: f64| { - let output: Val = bevy::math::DQuat::from_euler( - euler, - a, - b, - c, + let output: Val = ::bevy::math::DQuat::from_euler( + euler.into(), + a.into(), + b.into(), + c.into(), ) .into(); output @@ -20433,8 +21690,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat3", |mat: Ref| { - let output: Val = bevy::math::DQuat::from_mat3( - mat, + let output: Val = ::bevy::math::DQuat::from_mat3( + mat.into(), ) .into(); output @@ -20443,8 +21700,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_mat4", |mat: Ref| { - let output: Val = bevy::math::DQuat::from_mat4( - mat, + let output: Val = ::bevy::math::DQuat::from_mat4( + mat.into(), ) .into(); output @@ -20453,9 +21710,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_arc", |from: Val, to: Val| { - let output: Val = bevy::math::DQuat::from_rotation_arc( - from, - to, + let output: Val = ::bevy::math::DQuat::from_rotation_arc( + from.into(), + to.into(), ) .into(); output @@ -20464,9 +21721,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_arc_colinear", |from: Val, to: Val| { - let output: Val = bevy::math::DQuat::from_rotation_arc_colinear( - from, - to, + let output: Val = ::bevy::math::DQuat::from_rotation_arc_colinear( + from.into(), + to.into(), ) .into(); output @@ -20475,9 +21732,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_rotation_arc_2d", |from: Val, to: Val| { - let output: Val = bevy::math::DQuat::from_rotation_arc_2d( - from, - to, + let output: Val = ::bevy::math::DQuat::from_rotation_arc_2d( + from.into(), + to.into(), ) .into(); output @@ -20486,8 +21743,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_scaled_axis", |_self: Val| { - let output: Val = bevy::math::DQuat::to_scaled_axis( - _self, + let output: Val = ::bevy::math::DQuat::to_scaled_axis( + _self.into(), ) .into(); output @@ -20496,9 +21753,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_euler", |_self: Val, order: Val| { - let output: (f64, f64, f64) = bevy::math::DQuat::to_euler( - _self, - order, + let output: (f64, f64, f64) = ::bevy::math::DQuat::to_euler( + _self.into(), + order.into(), ) .into(); output @@ -20507,14 +21764,17 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "to_array", |_self: Ref| { - let output: [f64; 4] = bevy::math::DQuat::to_array(_self).into(); + let output: [f64; 4] = ::bevy::math::DQuat::to_array(_self.into()) + .into(); output }, ) .overwrite_script_function( "xyz", |_self: Val| { - let output: Val = bevy::math::DQuat::xyz(_self) + let output: Val = ::bevy::math::DQuat::xyz( + _self.into(), + ) .into(); output }, @@ -20522,8 +21782,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "conjugate", |_self: Val| { - let output: Val = bevy::math::DQuat::conjugate( - _self, + let output: Val = ::bevy::math::DQuat::conjugate( + _self.into(), ) .into(); output @@ -20532,8 +21792,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "inverse", |_self: Val| { - let output: Val = bevy::math::DQuat::inverse( - _self, + let output: Val = ::bevy::math::DQuat::inverse( + _self.into(), ) .into(); output @@ -20542,36 +21802,39 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "dot", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DQuat::dot(_self, rhs).into(); + let output: f64 = ::bevy::math::DQuat::dot(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "length", |_self: Val| { - let output: f64 = bevy::math::DQuat::length(_self).into(); + let output: f64 = ::bevy::math::DQuat::length(_self.into()).into(); output }, ) .overwrite_script_function( "length_squared", |_self: Val| { - let output: f64 = bevy::math::DQuat::length_squared(_self).into(); + let output: f64 = ::bevy::math::DQuat::length_squared(_self.into()) + .into(); output }, ) .overwrite_script_function( "length_recip", |_self: Val| { - let output: f64 = bevy::math::DQuat::length_recip(_self).into(); + let output: f64 = ::bevy::math::DQuat::length_recip(_self.into()) + .into(); output }, ) .overwrite_script_function( "normalize", |_self: Val| { - let output: Val = bevy::math::DQuat::normalize( - _self, + let output: Val = ::bevy::math::DQuat::normalize( + _self.into(), ) .into(); output @@ -20580,35 +21843,43 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Val| { - let output: bool = bevy::math::DQuat::is_finite(_self).into(); + let output: bool = ::bevy::math::DQuat::is_finite(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nan", |_self: Val| { - let output: bool = bevy::math::DQuat::is_nan(_self).into(); + let output: bool = ::bevy::math::DQuat::is_nan(_self.into()).into(); output }, ) .overwrite_script_function( "is_normalized", |_self: Val| { - let output: bool = bevy::math::DQuat::is_normalized(_self).into(); + let output: bool = ::bevy::math::DQuat::is_normalized(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_near_identity", |_self: Val| { - let output: bool = bevy::math::DQuat::is_near_identity(_self).into(); + let output: bool = ::bevy::math::DQuat::is_near_identity( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "angle_between", |_self: Val, rhs: Val| { - let output: f64 = bevy::math::DQuat::angle_between(_self, rhs) + let output: f64 = ::bevy::math::DQuat::angle_between( + _self.into(), + rhs.into(), + ) .into(); output }, @@ -20620,10 +21891,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_angle: f64| { - let output: Val = bevy::math::DQuat::rotate_towards( - _self, - rhs, - max_angle, + let output: Val = ::bevy::math::DQuat::rotate_towards( + _self.into(), + rhs.into(), + max_angle.into(), ) .into(); output @@ -20636,10 +21907,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { rhs: Val, max_abs_diff: f64| { - let output: bool = bevy::math::DQuat::abs_diff_eq( - _self, - rhs, - max_abs_diff, + let output: bool = ::bevy::math::DQuat::abs_diff_eq( + _self.into(), + rhs.into(), + max_abs_diff.into(), ) .into(); output @@ -20648,10 +21919,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "lerp", |_self: Val, end: Val, s: f64| { - let output: Val = bevy::math::DQuat::lerp( - _self, - end, - s, + let output: Val = ::bevy::math::DQuat::lerp( + _self.into(), + end.into(), + s.into(), ) .into(); output @@ -20660,10 +21931,10 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "slerp", |_self: Val, end: Val, s: f64| { - let output: Val = bevy::math::DQuat::slerp( - _self, - end, - s, + let output: Val = ::bevy::math::DQuat::slerp( + _self.into(), + end.into(), + s.into(), ) .into(); output @@ -20672,9 +21943,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_vec3", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DQuat::mul_vec3( - _self, - rhs, + let output: Val = ::bevy::math::DQuat::mul_vec3( + _self.into(), + rhs.into(), ) .into(); output @@ -20683,9 +21954,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul_quat", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DQuat::mul_quat( - _self, - rhs, + let output: Val = ::bevy::math::DQuat::mul_quat( + _self.into(), + rhs.into(), ) .into(); output @@ -20694,8 +21965,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_affine3", |a: Ref| { - let output: Val = bevy::math::DQuat::from_affine3( - a, + let output: Val = ::bevy::math::DQuat::from_affine3( + a.into(), ) .into(); output @@ -20704,7 +21975,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "as_quat", |_self: Val| { - let output: Val = bevy::math::DQuat::as_quat(_self) + let output: Val = ::bevy::math::DQuat::as_quat( + _self.into(), + ) .into(); output }, @@ -20712,9 +21985,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DQuat::mul( - _self, - rhs, + let output: Val = ::bevy::math::DQuat::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -20723,9 +21996,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DQuat::mul( - _self, - rhs, + let output: Val = ::bevy::math::DQuat::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -20734,7 +22007,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::DQuat::clone(_self) + let output: Val = ::bevy::math::DQuat::clone( + _self.into(), + ) .into(); output }, @@ -20742,9 +22017,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "sub", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DQuat::sub( - _self, - rhs, + let output: Val = ::bevy::math::DQuat::sub( + _self.into(), + rhs.into(), ) .into(); output @@ -20753,9 +22028,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "mul", |_self: Val, rhs: f64| { - let output: Val = bevy::math::DQuat::mul( - _self, - rhs, + let output: Val = ::bevy::math::DQuat::mul( + _self.into(), + rhs.into(), ) .into(); output @@ -20764,7 +22039,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "neg", |_self: Val| { - let output: Val = bevy::math::DQuat::neg(_self) + let output: Val = ::bevy::math::DQuat::neg( + _self.into(), + ) .into(); output }, @@ -20772,20 +22049,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "add", |_self: Val, rhs: Val| { - let output: Val = bevy::math::DQuat::add( - _self, - rhs, + let output: Val = ::bevy::math::DQuat::add( + _self.into(), + rhs.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::EulerRot>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::EulerRot::clone( - _self, + let output: Val = ::bevy::math::EulerRot::clone( + _self.into(), ) .into(); output @@ -20794,28 +22071,32 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::math::EulerRot::eq(_self, other).into(); + let output: bool = ::bevy::math::EulerRot::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::math::EulerRot::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::math::EulerRot::assert_receiver_is_total_eq( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::BVec3A>::new(world) .overwrite_script_function( "new", |x: bool, y: bool, z: bool| { - let output: Val = bevy::math::BVec3A::new( - x, - y, - z, + let output: Val = ::bevy::math::BVec3A::new( + x.into(), + y.into(), + z.into(), ) .into(); output @@ -20824,7 +22105,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: bool| { - let output: Val = bevy::math::BVec3A::splat(v) + let output: Val = ::bevy::math::BVec3A::splat( + v.into(), + ) .into(); output }, @@ -20832,8 +22115,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [bool; 3]| { - let output: Val = bevy::math::BVec3A::from_array( - a, + let output: Val = ::bevy::math::BVec3A::from_array( + a.into(), ) .into(); output @@ -20842,43 +22125,52 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "bitmask", |_self: Val| { - let output: u32 = bevy::math::BVec3A::bitmask(_self).into(); + let output: u32 = ::bevy::math::BVec3A::bitmask(_self.into()).into(); output }, ) .overwrite_script_function( "any", |_self: Val| { - let output: bool = bevy::math::BVec3A::any(_self).into(); + let output: bool = ::bevy::math::BVec3A::any(_self.into()).into(); output }, ) .overwrite_script_function( "all", |_self: Val| { - let output: bool = bevy::math::BVec3A::all(_self).into(); + let output: bool = ::bevy::math::BVec3A::all(_self.into()).into(); output }, ) .overwrite_script_function( "test", |_self: Ref, index: usize| { - let output: bool = bevy::math::BVec3A::test(_self, index).into(); + let output: bool = ::bevy::math::BVec3A::test( + _self.into(), + index.into(), + ) + .into(); output }, ) .overwrite_script_function( "set", |_self: Mut, index: usize, value: bool| { - let output: () = bevy::math::BVec3A::set(_self, index, value).into(); + let output: () = ::bevy::math::BVec3A::set( + _self.into(), + index.into(), + value.into(), + ) + .into(); output }, ) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::BVec3A::clone( - _self, + let output: Val = ::bevy::math::BVec3A::clone( + _self.into(), ) .into(); output @@ -20887,19 +22179,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::BVec3A::eq(_self, rhs).into(); + let output: bool = ::bevy::math::BVec3A::eq(_self.into(), rhs.into()) + .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::math::BVec4A>::new(world) .overwrite_script_function( "new", |x: bool, y: bool, z: bool, w: bool| { - let output: Val = bevy::math::BVec4A::new( - x, - y, - z, - w, + let output: Val = ::bevy::math::BVec4A::new( + x.into(), + y.into(), + z.into(), + w.into(), ) .into(); output @@ -20908,7 +22201,9 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "splat", |v: bool| { - let output: Val = bevy::math::BVec4A::splat(v) + let output: Val = ::bevy::math::BVec4A::splat( + v.into(), + ) .into(); output }, @@ -20916,8 +22211,8 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_array", |a: [bool; 4]| { - let output: Val = bevy::math::BVec4A::from_array( - a, + let output: Val = ::bevy::math::BVec4A::from_array( + a.into(), ) .into(); output @@ -20926,60 +22221,72 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "bitmask", |_self: Val| { - let output: u32 = bevy::math::BVec4A::bitmask(_self).into(); + let output: u32 = ::bevy::math::BVec4A::bitmask(_self.into()).into(); output }, ) .overwrite_script_function( "any", |_self: Val| { - let output: bool = bevy::math::BVec4A::any(_self).into(); + let output: bool = ::bevy::math::BVec4A::any(_self.into()).into(); output }, ) .overwrite_script_function( "all", |_self: Val| { - let output: bool = bevy::math::BVec4A::all(_self).into(); + let output: bool = ::bevy::math::BVec4A::all(_self.into()).into(); output }, ) .overwrite_script_function( "test", |_self: Ref, index: usize| { - let output: bool = bevy::math::BVec4A::test(_self, index).into(); + let output: bool = ::bevy::math::BVec4A::test( + _self.into(), + index.into(), + ) + .into(); output }, ) .overwrite_script_function( "set", |_self: Mut, index: usize, value: bool| { - let output: () = bevy::math::BVec4A::set(_self, index, value).into(); + let output: () = ::bevy::math::BVec4A::set( + _self.into(), + index.into(), + value.into(), + ) + .into(); output }, ) .overwrite_script_function( "eq", |_self: Ref, rhs: Ref| { - let output: bool = bevy::math::BVec4A::eq(_self, rhs).into(); + let output: bool = ::bevy::math::BVec4A::eq(_self.into(), rhs.into()) + .into(); output }, ) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::math::BVec4A::clone( - _self, + let output: Val = ::bevy::math::BVec4A::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::smol_str::SmolStr>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = smol_str::SmolStr::clone(_self) + let output: Val = ::smol_str::SmolStr::clone( + _self.into(), + ) .into(); output }, @@ -20987,14 +22294,20 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = smol_str::SmolStr::eq(_self, other).into(); + let output: bool = ::smol_str::SmolStr::eq( + _self.into(), + other.into(), + ) + .into(); output }, ) .overwrite_script_function( "to_string", |_self: Ref| { - let output: std::string::String = smol_str::SmolStr::to_string(_self) + let output: std::string::String = ::smol_str::SmolStr::to_string( + _self.into(), + ) .into(); output }, @@ -21002,86 +22315,92 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "len", |_self: Ref| { - let output: usize = smol_str::SmolStr::len(_self).into(); + let output: usize = ::smol_str::SmolStr::len(_self.into()).into(); output }, ) .overwrite_script_function( "is_empty", |_self: Ref| { - let output: bool = smol_str::SmolStr::is_empty(_self).into(); + let output: bool = ::smol_str::SmolStr::is_empty(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_heap_allocated", |_self: Ref| { - let output: bool = smol_str::SmolStr::is_heap_allocated(_self) + let output: bool = ::smol_str::SmolStr::is_heap_allocated( + _self.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::uuid::Uuid>::new(world) .overwrite_script_function( "get_version_num", |_self: Ref| { - let output: usize = uuid::Uuid::get_version_num(_self).into(); + let output: usize = ::uuid::Uuid::get_version_num(_self.into()) + .into(); output }, ) .overwrite_script_function( "as_u128", |_self: Ref| { - let output: u128 = uuid::Uuid::as_u128(_self).into(); + let output: u128 = ::uuid::Uuid::as_u128(_self.into()).into(); output }, ) .overwrite_script_function( "to_u128_le", |_self: Ref| { - let output: u128 = uuid::Uuid::to_u128_le(_self).into(); + let output: u128 = ::uuid::Uuid::to_u128_le(_self.into()).into(); output }, ) .overwrite_script_function( "as_u64_pair", |_self: Ref| { - let output: (u64, u64) = uuid::Uuid::as_u64_pair(_self).into(); + let output: (u64, u64) = ::uuid::Uuid::as_u64_pair(_self.into()) + .into(); output }, ) .overwrite_script_function( "into_bytes", |_self: Val| { - let output: [u8; 16] = uuid::Uuid::into_bytes(_self).into(); + let output: [u8; 16] = ::uuid::Uuid::into_bytes(_self.into()).into(); output }, ) .overwrite_script_function( "to_bytes_le", |_self: Ref| { - let output: [u8; 16] = uuid::Uuid::to_bytes_le(_self).into(); + let output: [u8; 16] = ::uuid::Uuid::to_bytes_le(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_nil", |_self: Ref| { - let output: bool = uuid::Uuid::is_nil(_self).into(); + let output: bool = ::uuid::Uuid::is_nil(_self.into()).into(); output }, ) .overwrite_script_function( "is_max", |_self: Ref| { - let output: bool = uuid::Uuid::is_max(_self).into(); + let output: bool = ::uuid::Uuid::is_max(_self.into()).into(); output }, ) .overwrite_script_function( "encode_buffer", || { - let output: [u8; 45] = uuid::Uuid::encode_buffer().into(); + let output: [u8; 45] = ::uuid::Uuid::encode_buffer().into(); output }, ) @@ -21090,14 +22409,16 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { |_self: Ref| { let output: bevy::reflect::erased_serde::__private::serde::__private::Option< [u8; 6], - > = uuid::Uuid::get_node_id(_self).into(); + > = ::uuid::Uuid::get_node_id(_self.into()).into(); output }, ) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = uuid::Uuid::assert_receiver_is_total_eq(_self) + let output: () = ::uuid::Uuid::assert_receiver_is_total_eq( + _self.into(), + ) .into(); output }, @@ -21105,37 +22426,39 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "nil", || { - let output: Val = uuid::Uuid::nil().into(); + let output: Val = ::uuid::Uuid::nil().into(); output }, ) .overwrite_script_function( "max", || { - let output: Val = uuid::Uuid::max().into(); + let output: Val = ::uuid::Uuid::max().into(); output }, ) .overwrite_script_function( "from_u128", |v: u128| { - let output: Val = uuid::Uuid::from_u128(v).into(); + let output: Val = ::uuid::Uuid::from_u128(v.into()) + .into(); output }, ) .overwrite_script_function( "from_u128_le", |v: u128| { - let output: Val = uuid::Uuid::from_u128_le(v).into(); + let output: Val = ::uuid::Uuid::from_u128_le(v.into()) + .into(); output }, ) .overwrite_script_function( "from_u64_pair", |high_bits: u64, low_bits: u64| { - let output: Val = uuid::Uuid::from_u64_pair( - high_bits, - low_bits, + let output: Val = ::uuid::Uuid::from_u64_pair( + high_bits.into(), + low_bits.into(), ) .into(); output @@ -21144,35 +22467,39 @@ impl bevy::app::Plugin for BevyReflectScriptingPlugin { .overwrite_script_function( "from_bytes", |bytes: [u8; 16]| { - let output: Val = uuid::Uuid::from_bytes(bytes).into(); + let output: Val = ::uuid::Uuid::from_bytes(bytes.into()) + .into(); output }, ) .overwrite_script_function( "from_bytes_le", |b: [u8; 16]| { - let output: Val = uuid::Uuid::from_bytes_le(b).into(); + let output: Val = ::uuid::Uuid::from_bytes_le(b.into()) + .into(); output }, ) .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = uuid::Uuid::eq(_self, other).into(); + let output: bool = ::uuid::Uuid::eq(_self.into(), other.into()) + .into(); output }, ) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = uuid::Uuid::clone(_self).into(); + let output: Val = ::uuid::Uuid::clone(_self.into()) + .into(); output }, ) .overwrite_script_function( "new_v4", || { - let output: Val = uuid::Uuid::new_v4().into(); + let output: Val = ::uuid::Uuid::new_v4().into(); output }, ); diff --git a/crates/bevy_mod_scripting_functions/src/bevy/bevy_time.rs b/crates/bevy_mod_scripting_functions/src/bevy/bevy_time.rs index a7cda66096..94e19efea1 100644 --- a/crates/bevy_mod_scripting_functions/src/bevy/bevy_time.rs +++ b/crates/bevy_mod_scripting_functions/src/bevy/bevy_time.rs @@ -13,34 +13,34 @@ pub struct BevyTimeScriptingPlugin; impl bevy::app::Plugin for BevyTimeScriptingPlugin { fn build(&self, app: &mut bevy::prelude::App) { let mut world = app.world_mut(); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::time::prelude::Fixed>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::time::prelude::Fixed::clone( - _self, + let output: Val = ::bevy::time::prelude::Fixed::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::time::prelude::Real>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::time::prelude::Real::clone( - _self, + let output: Val = ::bevy::time::prelude::Real::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::time::prelude::Timer>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::time::prelude::Timer::clone( - _self, + let output: Val = ::bevy::time::prelude::Timer::clone( + _self.into(), ) .into(); output @@ -49,8 +49,8 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::time::prelude::Timer::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::time::prelude::Timer::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -59,9 +59,9 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "from_seconds", |duration: f32, mode: Val| { - let output: Val = bevy::time::prelude::Timer::from_seconds( - duration, - mode, + let output: Val = ::bevy::time::prelude::Timer::from_seconds( + duration.into(), + mode.into(), ) .into(); output @@ -70,7 +70,9 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "finished", |_self: Ref| { - let output: bool = bevy::time::prelude::Timer::finished(_self) + let output: bool = ::bevy::time::prelude::Timer::finished( + _self.into(), + ) .into(); output }, @@ -78,7 +80,9 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "just_finished", |_self: Ref| { - let output: bool = bevy::time::prelude::Timer::just_finished(_self) + let output: bool = ::bevy::time::prelude::Timer::just_finished( + _self.into(), + ) .into(); output }, @@ -86,7 +90,9 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "elapsed_secs", |_self: Ref| { - let output: f32 = bevy::time::prelude::Timer::elapsed_secs(_self) + let output: f32 = ::bevy::time::prelude::Timer::elapsed_secs( + _self.into(), + ) .into(); output }, @@ -94,7 +100,9 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "elapsed_secs_f64", |_self: Ref| { - let output: f64 = bevy::time::prelude::Timer::elapsed_secs_f64(_self) + let output: f64 = ::bevy::time::prelude::Timer::elapsed_secs_f64( + _self.into(), + ) .into(); output }, @@ -102,8 +110,8 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "mode", |_self: Ref| { - let output: Val = bevy::time::prelude::Timer::mode( - _self, + let output: Val = ::bevy::time::prelude::Timer::mode( + _self.into(), ) .into(); output @@ -115,7 +123,10 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { _self: Mut, mode: Val| { - let output: () = bevy::time::prelude::Timer::set_mode(_self, mode) + let output: () = ::bevy::time::prelude::Timer::set_mode( + _self.into(), + mode.into(), + ) .into(); output }, @@ -123,43 +134,50 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "pause", |_self: Mut| { - let output: () = bevy::time::prelude::Timer::pause(_self).into(); + let output: () = ::bevy::time::prelude::Timer::pause(_self.into()) + .into(); output }, ) .overwrite_script_function( "unpause", |_self: Mut| { - let output: () = bevy::time::prelude::Timer::unpause(_self).into(); + let output: () = ::bevy::time::prelude::Timer::unpause(_self.into()) + .into(); output }, ) .overwrite_script_function( "paused", |_self: Ref| { - let output: bool = bevy::time::prelude::Timer::paused(_self).into(); + let output: bool = ::bevy::time::prelude::Timer::paused(_self.into()) + .into(); output }, ) .overwrite_script_function( "reset", |_self: Mut| { - let output: () = bevy::time::prelude::Timer::reset(_self).into(); + let output: () = ::bevy::time::prelude::Timer::reset(_self.into()) + .into(); output }, ) .overwrite_script_function( "fraction", |_self: Ref| { - let output: f32 = bevy::time::prelude::Timer::fraction(_self).into(); + let output: f32 = ::bevy::time::prelude::Timer::fraction( + _self.into(), + ) + .into(); output }, ) .overwrite_script_function( "fraction_remaining", |_self: Ref| { - let output: f32 = bevy::time::prelude::Timer::fraction_remaining( - _self, + let output: f32 = ::bevy::time::prelude::Timer::fraction_remaining( + _self.into(), ) .into(); output @@ -168,7 +186,9 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "remaining_secs", |_self: Ref| { - let output: f32 = bevy::time::prelude::Timer::remaining_secs(_self) + let output: f32 = ::bevy::time::prelude::Timer::remaining_secs( + _self.into(), + ) .into(); output }, @@ -176,8 +196,8 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "times_finished_this_tick", |_self: Ref| { - let output: u32 = bevy::time::prelude::Timer::times_finished_this_tick( - _self, + let output: u32 = ::bevy::time::prelude::Timer::times_finished_this_tick( + _self.into(), ) .into(); output @@ -189,19 +209,25 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::time::prelude::Timer::eq(_self, other) + let output: bool = ::bevy::time::prelude::Timer::eq( + _self.into(), + other.into(), + ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::time::prelude::TimerMode>::new(world) .overwrite_script_function( "eq", | _self: Ref, other: Ref| { - let output: bool = bevy::time::prelude::TimerMode::eq(_self, other) + let output: bool = ::bevy::time::prelude::TimerMode::eq( + _self.into(), + other.into(), + ) .into(); output }, @@ -209,8 +235,8 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::time::prelude::TimerMode::clone( - _self, + let output: Val = ::bevy::time::prelude::TimerMode::clone( + _self.into(), ) .into(); output @@ -219,29 +245,29 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::time::prelude::TimerMode::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::time::prelude::TimerMode::assert_receiver_is_total_eq( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::time::prelude::Virtual>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::time::prelude::Virtual::clone( - _self, + let output: Val = ::bevy::time::prelude::Virtual::clone( + _self.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::time::Stopwatch>::new(world) .overwrite_script_function( "new", || { - let output: Val = bevy::time::Stopwatch::new() + let output: Val = ::bevy::time::Stopwatch::new() .into(); output }, @@ -249,14 +275,17 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "elapsed_secs", |_self: Ref| { - let output: f32 = bevy::time::Stopwatch::elapsed_secs(_self).into(); + let output: f32 = ::bevy::time::Stopwatch::elapsed_secs(_self.into()) + .into(); output }, ) .overwrite_script_function( "elapsed_secs_f64", |_self: Ref| { - let output: f64 = bevy::time::Stopwatch::elapsed_secs_f64(_self) + let output: f64 = ::bevy::time::Stopwatch::elapsed_secs_f64( + _self.into(), + ) .into(); output }, @@ -264,36 +293,38 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "pause", |_self: Mut| { - let output: () = bevy::time::Stopwatch::pause(_self).into(); + let output: () = ::bevy::time::Stopwatch::pause(_self.into()).into(); output }, ) .overwrite_script_function( "unpause", |_self: Mut| { - let output: () = bevy::time::Stopwatch::unpause(_self).into(); + let output: () = ::bevy::time::Stopwatch::unpause(_self.into()) + .into(); output }, ) .overwrite_script_function( "is_paused", |_self: Ref| { - let output: bool = bevy::time::Stopwatch::is_paused(_self).into(); + let output: bool = ::bevy::time::Stopwatch::is_paused(_self.into()) + .into(); output }, ) .overwrite_script_function( "reset", |_self: Mut| { - let output: () = bevy::time::Stopwatch::reset(_self).into(); + let output: () = ::bevy::time::Stopwatch::reset(_self.into()).into(); output }, ) .overwrite_script_function( "assert_receiver_is_total_eq", |_self: Ref| { - let output: () = bevy::time::Stopwatch::assert_receiver_is_total_eq( - _self, + let output: () = ::bevy::time::Stopwatch::assert_receiver_is_total_eq( + _self.into(), ) .into(); output @@ -302,8 +333,8 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::time::Stopwatch::clone( - _self, + let output: Val = ::bevy::time::Stopwatch::clone( + _self.into(), ) .into(); output @@ -312,7 +343,11 @@ impl bevy::app::Plugin for BevyTimeScriptingPlugin { .overwrite_script_function( "eq", |_self: Ref, other: Ref| { - let output: bool = bevy::time::Stopwatch::eq(_self, other).into(); + let output: bool = ::bevy::time::Stopwatch::eq( + _self.into(), + other.into(), + ) + .into(); output }, ); diff --git a/crates/bevy_mod_scripting_functions/src/bevy/bevy_transform.rs b/crates/bevy_mod_scripting_functions/src/bevy/bevy_transform.rs index d9a4963c6e..89b7321077 100644 --- a/crates/bevy_mod_scripting_functions/src/bevy/bevy_transform.rs +++ b/crates/bevy_mod_scripting_functions/src/bevy/bevy_transform.rs @@ -16,12 +16,12 @@ pub struct BevyTransformScriptingPlugin; impl bevy::app::Plugin for BevyTransformScriptingPlugin { fn build(&self, app: &mut bevy::prelude::App) { let mut world = app.world_mut(); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::transform::components::GlobalTransform>::new(world) .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::transform::components::GlobalTransform::clone( - _self, + let output: Val = ::bevy::transform::components::GlobalTransform::clone( + _self.into(), ) .into(); output @@ -33,9 +33,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { _self: Val, global_transform: Val| { - let output: Val = bevy::transform::components::GlobalTransform::mul( - _self, - global_transform, + let output: Val = ::bevy::transform::components::GlobalTransform::mul( + _self.into(), + global_transform.into(), ) .into(); output @@ -47,9 +47,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { _self: Val, transform: Val| { - let output: Val = bevy::transform::components::GlobalTransform::mul( - _self, - transform, + let output: Val = ::bevy::transform::components::GlobalTransform::mul( + _self.into(), + transform.into(), ) .into(); output @@ -61,9 +61,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::transform::components::GlobalTransform::eq( - _self, - other, + let output: bool = ::bevy::transform::components::GlobalTransform::eq( + _self.into(), + other.into(), ) .into(); output @@ -72,10 +72,10 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { .overwrite_script_function( "from_xyz", |x: f32, y: f32, z: f32| { - let output: Val = bevy::transform::components::GlobalTransform::from_xyz( - x, - y, - z, + let output: Val = ::bevy::transform::components::GlobalTransform::from_xyz( + x.into(), + y.into(), + z.into(), ) .into(); output @@ -84,8 +84,8 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { .overwrite_script_function( "compute_transform", |_self: Ref| { - let output: Val = bevy::transform::components::GlobalTransform::compute_transform( - _self, + let output: Val = ::bevy::transform::components::GlobalTransform::compute_transform( + _self.into(), ) .into(); output @@ -97,9 +97,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { _self: Ref, parent: Ref| { - let output: Val = bevy::transform::components::GlobalTransform::reparented_to( - _self, - parent, + let output: Val = ::bevy::transform::components::GlobalTransform::reparented_to( + _self.into(), + parent.into(), ) .into(); output @@ -111,22 +111,22 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { _self: Ref, transform: Val| { - let output: Val = bevy::transform::components::GlobalTransform::mul_transform( - _self, - transform, + let output: Val = ::bevy::transform::components::GlobalTransform::mul_transform( + _self.into(), + transform.into(), ) .into(); output }, ); - NamespaceBuilder::::new(world) + NamespaceBuilder::<::bevy::transform::components::Transform>::new(world) .overwrite_script_function( "from_xyz", |x: f32, y: f32, z: f32| { - let output: Val = bevy::transform::components::Transform::from_xyz( - x, - y, - z, + let output: Val = ::bevy::transform::components::Transform::from_xyz( + x.into(), + y.into(), + z.into(), ) .into(); output @@ -135,9 +135,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { .overwrite_script_function( "rotate_x", |_self: Mut, angle: f32| { - let output: () = bevy::transform::components::Transform::rotate_x( - _self, - angle, + let output: () = ::bevy::transform::components::Transform::rotate_x( + _self.into(), + angle.into(), ) .into(); output @@ -146,9 +146,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { .overwrite_script_function( "rotate_y", |_self: Mut, angle: f32| { - let output: () = bevy::transform::components::Transform::rotate_y( - _self, - angle, + let output: () = ::bevy::transform::components::Transform::rotate_y( + _self.into(), + angle.into(), ) .into(); output @@ -157,9 +157,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { .overwrite_script_function( "rotate_z", |_self: Mut, angle: f32| { - let output: () = bevy::transform::components::Transform::rotate_z( - _self, - angle, + let output: () = ::bevy::transform::components::Transform::rotate_z( + _self.into(), + angle.into(), ) .into(); output @@ -168,9 +168,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { .overwrite_script_function( "rotate_local_x", |_self: Mut, angle: f32| { - let output: () = bevy::transform::components::Transform::rotate_local_x( - _self, - angle, + let output: () = ::bevy::transform::components::Transform::rotate_local_x( + _self.into(), + angle.into(), ) .into(); output @@ -179,9 +179,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { .overwrite_script_function( "rotate_local_y", |_self: Mut, angle: f32| { - let output: () = bevy::transform::components::Transform::rotate_local_y( - _self, - angle, + let output: () = ::bevy::transform::components::Transform::rotate_local_y( + _self.into(), + angle.into(), ) .into(); output @@ -190,9 +190,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { .overwrite_script_function( "rotate_local_z", |_self: Mut, angle: f32| { - let output: () = bevy::transform::components::Transform::rotate_local_z( - _self, - angle, + let output: () = ::bevy::transform::components::Transform::rotate_local_z( + _self.into(), + angle.into(), ) .into(); output @@ -204,9 +204,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { _self: Ref, transform: Val| { - let output: Val = bevy::transform::components::Transform::mul_transform( - _self, - transform, + let output: Val = ::bevy::transform::components::Transform::mul_transform( + _self.into(), + transform.into(), ) .into(); output @@ -215,8 +215,8 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { .overwrite_script_function( "is_finite", |_self: Ref| { - let output: bool = bevy::transform::components::Transform::is_finite( - _self, + let output: bool = ::bevy::transform::components::Transform::is_finite( + _self.into(), ) .into(); output @@ -228,9 +228,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { _self: Ref, other: Ref| { - let output: bool = bevy::transform::components::Transform::eq( - _self, - other, + let output: bool = ::bevy::transform::components::Transform::eq( + _self.into(), + other.into(), ) .into(); output @@ -242,9 +242,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { _self: Val, transform: Val| { - let output: Val = bevy::transform::components::Transform::mul( - _self, - transform, + let output: Val = ::bevy::transform::components::Transform::mul( + _self.into(), + transform.into(), ) .into(); output @@ -256,9 +256,9 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { _self: Val, global_transform: Val| { - let output: Val = bevy::transform::components::Transform::mul( - _self, - global_transform, + let output: Val = ::bevy::transform::components::Transform::mul( + _self.into(), + global_transform.into(), ) .into(); output @@ -267,8 +267,8 @@ impl bevy::app::Plugin for BevyTransformScriptingPlugin { .overwrite_script_function( "clone", |_self: Ref| { - let output: Val = bevy::transform::components::Transform::clone( - _self, + let output: Val = ::bevy::transform::components::Transform::clone( + _self.into(), ) .into(); output