Struct oxygengine_nodes::ScriptedNodeSignal
source · pub struct ScriptedNodeSignal { /* private fields */ }
Implementations§
source§impl ScriptedNodeSignal
impl ScriptedNodeSignal
pub fn parse(entity: Option<Entity>, content: &str) -> Result<Self, String>
pub fn new(entity: Option<Entity>, function: ScriptFunctionReference) -> Self
pub fn arg(self, data: impl Into<ScriptedNodesParam>) -> Self
pub fn broadcast(self) -> Self
pub fn bubble(self) -> Self
pub fn ignore_me(self) -> Self
pub fn dispatch<T: ScriptedNodeComponentPack>(&self, universe: &Universe)
pub fn execute<T: ScriptedNodeComponentPack>( entity: Entity, function_ref: &ScriptFunctionReference, args: &[ScriptedNodesParam], broadcast: bool, bubble: bool, ignore_me: bool, world: &World, nodes: &mut ScriptedNodes, scripting: &Scripting, hierarchy: &Hierarchy )
Auto Trait Implementations§
impl RefUnwindSafe for ScriptedNodeSignal
impl Send for ScriptedNodeSignal
impl Sync for ScriptedNodeSignal
impl Unpin for ScriptedNodeSignal
impl UnwindSafe for ScriptedNodeSignal
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more