pub struct NodeDesc {
pub id: NodeId,
pub type_name: String,
pub name: String,
pub parent: Option<NodeId>,
pub props: Props,
pub script: Option<ScriptRef>,
}Expand description
Descriptor used to construct a Node, typically parsed from a .ptscn scene file.
Fields§
§id: NodeIdUnique identifier for the node.
type_name: StringConcrete node type name.
name: StringHuman-friendly display name.
parent: Option<NodeId>Identifier of the parent node, if any.
props: PropsNode properties table.
script: Option<ScriptRef>Attached script reference, if any.
Implementations§
Trait Implementations§
impl StructuralPartialEq for NodeDesc
Auto Trait Implementations§
impl Forget for NodeDesc
impl Freeze for NodeDesc
impl Move for NodeDesc
impl RefUnwindSafe for NodeDesc
impl Send for NodeDesc
impl Sync for NodeDesc
impl Unpin for NodeDesc
impl UnsafeUnpin for NodeDesc
impl UnwindSafe for NodeDesc
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