pub struct IssueGraph { /* private fields */ }Implementations§
Source§impl IssueGraph
impl IssueGraph
pub fn build(issues: &[Issue]) -> Self
pub fn issue(&self, id: &str) -> Option<&Issue>
pub fn issue_ids_sorted(&self) -> Vec<String>
pub fn node_count(&self) -> usize
pub const fn edge_count(&self) -> usize
pub fn blockers(&self, issue_id: &str) -> Vec<String>
pub fn dependents(&self, issue_id: &str) -> Vec<String>
pub fn open_blockers(&self, issue_id: &str) -> Vec<String>
pub fn actionable_ids(&self) -> Vec<String>
pub fn connected_open_components(&self) -> Vec<Vec<String>>
Sourcepub fn compute_metrics(&self) -> GraphMetrics
pub fn compute_metrics(&self) -> GraphMetrics
Compute all metrics using the default (full) config.
Sourcepub fn compute_metrics_with_config(
&self,
config: &AnalysisConfig,
) -> GraphMetrics
pub fn compute_metrics_with_config( &self, config: &AnalysisConfig, ) -> GraphMetrics
Compute metrics respecting the provided configuration.
Trait Implementations§
Source§impl Clone for IssueGraph
impl Clone for IssueGraph
Source§fn clone(&self) -> IssueGraph
fn clone(&self) -> IssueGraph
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IssueGraph
impl RefUnwindSafe for IssueGraph
impl Send for IssueGraph
impl Sync for IssueGraph
impl Unpin for IssueGraph
impl UnsafeUnpin for IssueGraph
impl UnwindSafe for IssueGraph
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