pub struct CallTreeEdge {
pub caller: usize,
pub callee: usize,
pub evidence: EvidenceKind,
pub forward: bool,
}Expand description
One call relation whose two ends are both placed in the tree. 一条两端都已放置在树中的调用关系。
Fields§
§caller: usizeIndex of the calling node. 调用方节点的下标。
callee: usizeIndex of the called node. 被调用方节点的下标。
evidence: EvidenceKindStrongest evidence supporting this relation. 支持该关系的最强证据。
forward: boolWhether the edge runs along the drawn axis, i.e. left to right. 该边是否沿绘制轴(即从左到右)延伸。
Trait Implementations§
Source§impl Clone for CallTreeEdge
impl Clone for CallTreeEdge
Source§fn clone(&self) -> CallTreeEdge
fn clone(&self) -> CallTreeEdge
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 moreimpl Copy for CallTreeEdge
Source§impl Debug for CallTreeEdge
impl Debug for CallTreeEdge
impl Eq for CallTreeEdge
Source§impl PartialEq for CallTreeEdge
impl PartialEq for CallTreeEdge
impl StructuralPartialEq for CallTreeEdge
Auto Trait Implementations§
impl Freeze for CallTreeEdge
impl RefUnwindSafe for CallTreeEdge
impl Send for CallTreeEdge
impl Sync for CallTreeEdge
impl Unpin for CallTreeEdge
impl UnsafeUnpin for CallTreeEdge
impl UnwindSafe for CallTreeEdge
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