pub struct Scene { /* private fields */ }Implementations§
Source§impl Scene
impl Scene
Sourcepub fn new<S: Into<GodotString>>(path: S) -> Self
pub fn new<S: Into<GodotString>>(path: S) -> Self
Creates a new node from a resource path.
§Safety
The scene must point to a “well-behaving, self-contained” component.
- Must not send references to
selfor any contained nodes in the subtree to another thread. - Must not modify the value of the internal meta
_grandeur_src_scene.
TODO: define what this actually means.
Trait Implementations§
impl Eq for Scene
impl StructuralPartialEq for Scene
impl VNodeKind for Scene
Auto Trait Implementations§
impl Freeze for Scene
impl RefUnwindSafe for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnwindSafe for Scene
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
Source§impl<T> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.