violation_count

Function violation_count 

Source
pub fn violation_count() -> u32
Expand description

Returns the count of allocation warnings emitted so far.

Only available when the warn_debug or warn release features are enabled.