pub struct GraphModule {
pub module: Module,
pub graph: Option<ComputeGraph>,
}Expand description
Extends crate::Module with an optional computation graph.
When present, the graph describes how multiple entry points compose into a single model.
Fields§
§module: ModuleThe base IR module with types, globals, and entry points.
graph: Option<ComputeGraph>Optional multi-operation graph overlay.
Trait Implementations§
Source§impl Clone for GraphModule
impl Clone for GraphModule
Source§fn clone(&self) -> GraphModule
fn clone(&self) -> GraphModule
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 GraphModule
impl Debug for GraphModule
Source§impl Default for GraphModule
impl Default for GraphModule
Source§fn default() -> GraphModule
fn default() -> GraphModule
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GraphModule
impl RefUnwindSafe for GraphModule
impl Send for GraphModule
impl Sync for GraphModule
impl Unpin for GraphModule
impl UnsafeUnpin for GraphModule
impl UnwindSafe for GraphModule
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