Struct imageflow_core::flow::definitions::OpCtxMut
[−]
[src]
pub struct OpCtxMut<'a> { pub c: &'a Context, pub job: &'a mut Job, pub graph: &'a mut Graph, }
Fields
c: &'a Context
job: &'a mut Job
graph: &'a mut Graph
Methods
impl<'a> OpCtxMut<'a>
[src]
fn graph_to_str(&mut self) -> Result<String>
impl<'c> OpCtxMut<'c>
[src]
fn first_parent_of_kind(&self,
of_node: NodeIndex<u32>,
filter_by_kind: EdgeKind)
-> Option<NodeIndex<u32>>
of_node: NodeIndex<u32>,
filter_by_kind: EdgeKind)
-> Option<NodeIndex<u32>>
fn flow_c(&self) -> *mut ImageflowContext
fn first_parent_input(&self, of_node: NodeIndex<u32>) -> Option<NodeIndex<u32>>
fn first_parent_canvas(&self, of_node: NodeIndex<u32>) -> Option<NodeIndex<u32>>
fn first_parent_input_weight(&self, of_node: NodeIndex<u32>) -> Option<Node>
fn first_parent_frame_info_some(&self,
of_node: NodeIndex<u32>)
-> Option<FrameInfo>
of_node: NodeIndex<u32>)
-> Option<FrameInfo>
fn get_json_params(&self, ix: NodeIndex<u32>) -> Option<Node>
fn first_parent_canvas_weight(&self, of_node: NodeIndex<u32>) -> Option<&Node>
fn first_parent_result_frame(&self,
of_node: NodeIndex<u32>,
kind: EdgeKind)
-> Option<*mut BitmapBgra>
of_node: NodeIndex<u32>,
kind: EdgeKind)
-> Option<*mut BitmapBgra>
fn first_parent_input_weight_mut(&mut self,
of_node: NodeIndex<u32>)
-> Option<&mut Node>
of_node: NodeIndex<u32>)
-> Option<&mut Node>
fn has_other_children(&self,
of_node: NodeIndex<u32>,
except_child: NodeIndex<u32>)
-> bool
of_node: NodeIndex<u32>,
except_child: NodeIndex<u32>)
-> bool
fn weight(&self, ix: NodeIndex<u32>) -> &Node
fn weight_mut(&mut self, node_to_update: NodeIndex<u32>) -> &mut Node
fn copy_frame_est_from_first_input(&mut self, node_to_update: NodeIndex<u32>)
fn copy_frame_est_from_first_canvas(&mut self, node_to_update: NodeIndex<u32>)
fn assert_ok(&self)
fn panic_time(&self)
fn rotate_frame_est_from_first_input(&mut self, node_to_update: NodeIndex<u32>)
fn copy_edges_to(&mut self,
from_node: NodeIndex<u32>,
to_node: NodeIndex<u32>,
direction: EdgeDirection)
from_node: NodeIndex<u32>,
to_node: NodeIndex<u32>,
direction: EdgeDirection)
fn delete_child_edges_for(&mut self, from_node: NodeIndex<u32>)
fn delete_node_and_snap_together(&mut self, node_to_delete: NodeIndex<u32>)
fn replace_node(&mut self, index: NodeIndex<u32>, with_list: Vec<Node>)
fn replace_node_with_existing(&mut self,
index: NodeIndex<u32>,
with_index: NodeIndex<u32>)
index: NodeIndex<u32>,
with_index: NodeIndex<u32>)
fn get_decoder_io_ids(&self, ancestors_of_node: NodeIndex<u32>) -> Vec<i32>
fn get_image_info_list(&mut self,
ancestors_of_node: NodeIndex<u32>)
-> Vec<Result<ImageInfo, FlowError>>
ancestors_of_node: NodeIndex<u32>)
-> Vec<Result<ImageInfo, FlowError>>