oxilean_codegen/opt_parallel/dependenceinfo_traits.rs
1//! # DependenceInfo - Trait Implementations
2//!
3//! This module contains trait implementations for `DependenceInfo`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Display`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::DependenceInfo;
12use std::fmt;
13
14impl fmt::Display for DependenceInfo {
15 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
16 write!(
17 f,
18 "DependenceInfo {{ true={}, anti={}, output={}, loop_carried={}, parallelizable={} }}",
19 self.true_deps.len(),
20 self.anti_deps.len(),
21 self.output_deps.len(),
22 self.loop_carried_deps.len(),
23 self.is_parallelizable()
24 )
25 }
26}