pub struct FlowGraphNode { /* private fields */ }
Implementations§
source§impl FlowGraphNode
impl FlowGraphNode
pub fn new(graph: &FlowGraph) -> Ref<Self>
pub fn basic_block<C: BlockContext>( &self, context: C, ) -> Option<Ref<BasicBlock<C>>>
pub fn set_basic_block<C: BlockContext>(&self, block: Option<&BasicBlock<C>>)
pub fn lines(&self) -> Array<DisassemblyTextLine>
pub fn set_lines(&self, lines: impl IntoIterator<Item = DisassemblyTextLine>)
sourcepub fn set_position(&self, x: i32, y: i32)
pub fn set_position(&self, x: i32, y: i32)
Sets the graph position of the node.
pub fn highlight_color(&self) -> HighlightColor
pub fn set_highlight_color(&self, highlight: HighlightColor)
pub fn add_outgoing_edge( &self, type_: BranchType, target: &FlowGraphNode, edge_style: EdgeStyle, )
Trait Implementations§
source§impl CoreArrayProvider for FlowGraphNode
impl CoreArrayProvider for FlowGraphNode
source§impl Hash for FlowGraphNode
impl Hash for FlowGraphNode
source§impl PartialEq for FlowGraphNode
impl PartialEq for FlowGraphNode
source§impl ToOwned for FlowGraphNode
impl ToOwned for FlowGraphNode
source§type Owned = Ref<FlowGraphNode>
type Owned = Ref<FlowGraphNode>
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Eq for FlowGraphNode
impl StructuralPartialEq for FlowGraphNode
Auto Trait Implementations§
impl Freeze for FlowGraphNode
impl RefUnwindSafe for FlowGraphNode
impl !Send for FlowGraphNode
impl !Sync for FlowGraphNode
impl Unpin for FlowGraphNode
impl UnwindSafe for FlowGraphNode
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