pub enum RestoreNodeKind {
StateJson,
NodeJson(NodeFn),
Custom(Rc<dyn Fn(&Graph) -> GraphRestoreResult<Core>>),
}Expand description
RestoreNodeKind variants.
Variants§
StateJson
StateJson variant.
NodeJson(NodeFn)
NodeJson variant.
Custom(Rc<dyn Fn(&Graph) -> GraphRestoreResult<Core>>)
Custom variant.
Auto Trait Implementations§
impl Freeze for RestoreNodeKind
impl !RefUnwindSafe for RestoreNodeKind
impl !Send for RestoreNodeKind
impl !Sync for RestoreNodeKind
impl Unpin for RestoreNodeKind
impl UnsafeUnpin for RestoreNodeKind
impl !UnwindSafe for RestoreNodeKind
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