[−][src]Trait complexity::Complexity
A trait for calculating the cognitive complexity of a Rust type.
This is a sealed trait so only this crate can implement it.
Required methods
fn complexity(&self) -> u64
Returns the cognitive complexity index for the implementor.