pub struct PrefabNode {
pub name: String,
pub root_node: NodeId,
pub nodes: Vec<NodeId>,
pub overrides: HashMap<NodeId, HashMap<String, String>>,
}Expand description
A named, reusable subtree template.
Fields§
§name: String§root_node: NodeId§nodes: Vec<NodeId>§overrides: HashMap<NodeId, HashMap<String, String>>Implementations§
Trait Implementations§
Source§impl Clone for PrefabNode
impl Clone for PrefabNode
Source§fn clone(&self) -> PrefabNode
fn clone(&self) -> PrefabNode
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PrefabNode
impl RefUnwindSafe for PrefabNode
impl Send for PrefabNode
impl Sync for PrefabNode
impl Unpin for PrefabNode
impl UnsafeUnpin for PrefabNode
impl UnwindSafe for PrefabNode
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