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
Input used to build a Node, e.g. from a scene file entry.
Fields§
§id: NodeId§type_name: String§name: String§parent: Option<NodeId>§props: Props§script: Option<ScriptRef>Implementations§
Trait Implementations§
impl StructuralPartialEq for NodeDesc
Auto Trait Implementations§
impl Freeze 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