pub enum SceneKind {
Scene,
Resource,
}Expand description
Whether the parsed file is a .tscn scene (gd_scene) or a .tres resource (gd_resource).
Variants§
Scene
A .tscn scene — has a [node] tree.
Resource
A .tres resource — has a [resource] body, no node tree.
Trait Implementations§
impl Copy for SceneKind
impl Eq for SceneKind
impl StructuralPartialEq for SceneKind
Auto Trait Implementations§
impl Freeze for SceneKind
impl RefUnwindSafe for SceneKind
impl Send for SceneKind
impl Sync for SceneKind
impl Unpin for SceneKind
impl UnsafeUnpin for SceneKind
impl UnwindSafe for SceneKind
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