pub struct FlowGraph { /* private fields */ }
Implementations§
source§impl FlowGraph
impl FlowGraph
pub fn new() -> Ref<Self>
pub fn nodes(&self) -> Array<FlowGraphNode>
pub fn low_level_il( &self, ) -> Result<Ref<RegularLowLevelILFunction<CoreArchitecture>>, ()>
pub fn medium_level_il(&self) -> Result<Ref<MediumLevelILFunction>, ()>
pub fn high_level_il( &self, full_ast: bool, ) -> Result<Ref<HighLevelILFunction>, ()>
pub fn get_node(&self, i: usize) -> Option<Ref<FlowGraphNode>>
pub fn get_node_count(&self) -> usize
pub fn has_nodes(&self) -> bool
pub fn append(&self, node: &FlowGraphNode) -> usize
pub fn replace(&self, index: usize, node: &FlowGraphNode)
pub fn clear(&self)
pub fn set_option(&self, option: FlowGraphOption, value: bool)
pub fn is_option_set(&self, option: FlowGraphOption) -> bool
sourcepub fn render_layers(&self) -> Array<CoreRenderLayer>
pub fn render_layers(&self) -> Array<CoreRenderLayer>
A list of the currently applied CoreRenderLayer
’s
sourcepub fn add_render_layer(&self, layer: &CoreRenderLayer)
pub fn add_render_layer(&self, layer: &CoreRenderLayer)
Add a Render Layer to be applied to this FlowGraph
.
NOTE: Layers will be applied in the order in which they are added.
sourcepub fn remove_render_layer(&self, layer: &CoreRenderLayer)
pub fn remove_render_layer(&self, layer: &CoreRenderLayer)
Remove a Render Layer from being applied to this FlowGraph
.
Trait Implementations§
source§impl ToOwned for FlowGraph
impl ToOwned for FlowGraph
impl Eq for FlowGraph
impl StructuralPartialEq for FlowGraph
Auto Trait Implementations§
impl Freeze for FlowGraph
impl RefUnwindSafe for FlowGraph
impl !Send for FlowGraph
impl !Sync for FlowGraph
impl Unpin for FlowGraph
impl UnwindSafe for FlowGraph
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