pub struct ScriptInstance;
Available on crate feature
godot
only.Expand description
An instance of a Script
.
You need to cast this to a
GDScriptInstance
or
CSharpScriptInstance
to
do anything meaningful with it. Make sure to verify the script language
before casting.
Trait Implementations§
Source§impl Clone for ScriptInstance
impl Clone for ScriptInstance
Source§fn clone(&self) -> ScriptInstance
fn clone(&self) -> ScriptInstance
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ScriptInstance
impl Debug for ScriptInstance
impl Copy for ScriptInstance
Auto Trait Implementations§
impl Freeze for ScriptInstance
impl RefUnwindSafe for ScriptInstance
impl Send for ScriptInstance
impl Sync for ScriptInstance
impl Unpin for ScriptInstance
impl UnwindSafe for ScriptInstance
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