pub struct ScriptGraph { /* private fields */ }Expand description
Graph handle returned by script evaluation.
Implementations§
Source§impl ScriptGraph
impl ScriptGraph
Sourcepub const fn metadata_schema(&self) -> &MetadataSchema
pub const fn metadata_schema(&self) -> &MetadataSchema
Returns metadata schema active during script evaluation.
Sourcepub fn into_graph(self) -> Graph
pub fn into_graph(self) -> Graph
Consumes this wrapper and returns constructed graph.
Sourcepub fn into_parts(self) -> (Graph, MetadataSchema)
pub fn into_parts(self) -> (Graph, MetadataSchema)
Consumes this wrapper and returns constructed graph plus active metadata schema.
Trait Implementations§
Source§impl Clone for ScriptGraph
impl Clone for ScriptGraph
Source§fn clone(&self) -> ScriptGraph
fn clone(&self) -> ScriptGraph
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScriptGraph
impl Debug for ScriptGraph
Source§impl PartialEq for ScriptGraph
impl PartialEq for ScriptGraph
Source§fn eq(&self, other: &ScriptGraph) -> bool
fn eq(&self, other: &ScriptGraph) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScriptGraph
Auto Trait Implementations§
impl Freeze for ScriptGraph
impl RefUnwindSafe for ScriptGraph
impl Send for ScriptGraph
impl Sync for ScriptGraph
impl Unpin for ScriptGraph
impl UnsafeUnpin for ScriptGraph
impl UnwindSafe for ScriptGraph
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