Struct ScriptGraph
pub struct ScriptGraph { /* private fields */ }Expand description
Graph handle returned by script evaluation.
Implementations§
§impl ScriptGraph
impl ScriptGraph
pub const fn metadata_schema(&self) -> &MetadataSchema
pub const fn metadata_schema(&self) -> &MetadataSchema
Returns metadata schema active during script evaluation.
pub fn into_graph(self) -> Graph
pub fn into_graph(self) -> Graph
Consumes this wrapper and returns constructed graph.
pub 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§
§impl Clone for ScriptGraph
impl Clone for ScriptGraph
§fn clone(&self) -> ScriptGraph
fn clone(&self) -> ScriptGraph
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 more§impl Debug for ScriptGraph
impl Debug for ScriptGraph
§impl PartialEq for ScriptGraph
impl PartialEq for ScriptGraph
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