Skip to main content

callback_count

Function
This function is defined in the display module.
Get the number of registered callbacks for a display type

Signature

def callback_count(display_type: DisplayType) -> usize

Parameters

display_type
DisplayType
required
No description available.

Returns

Returns
usize
The result of the operation.

Uses

  • read
  • get
  • unwrap_or

Source

View on GitHub

praisonai/src/display.rs at line 575