pub struct NodeDefinition {
pub name: Identifier,
pub constructor: NodeConstructor,
}Fields§
§name: Identifier§constructor: NodeConstructorTrait Implementations§
Source§impl Clone for NodeDefinition
impl Clone for NodeDefinition
Source§fn clone(&self) -> NodeDefinition
fn clone(&self) -> NodeDefinition
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 moreSource§impl Debug for NodeDefinition
impl Debug for NodeDefinition
Auto Trait Implementations§
impl Freeze for NodeDefinition
impl RefUnwindSafe for NodeDefinition
impl Send for NodeDefinition
impl Sync for NodeDefinition
impl Unpin for NodeDefinition
impl UnwindSafe for NodeDefinition
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