Realm

oa::ui::DetectionOverlayConfig

Struct published by the oa::ui module.

StRust public API

Declaration

pub struct DetectionOverlayConfig { pub max_detections: u32, pub max_glyphs: u32, pub thickness_pixels: f32, pub font_size: f32, pub label_padding_x: f32, pub label_padding_y: f32, pub box_color: Color, pub label_text_color: Color, pub show_labels: bool, }
Public Rust declaration.

Public Methods

fn clone(&self) -> DetectionOverlayConfig
fn fmt(&self, f: &mut Formatter<'_>) -> Result

Associated Functions

fn default() -> Self

Public Data Members

max_detectionsu32field
max_glyphsu32field
thickness_pixelsf32field
font_sizef32field
label_padding_xf32field
label_padding_yf32field
box_colorColorfield
label_text_colorColorfield
show_labelsboolfield

Public Method Documentation

fn clone( &self ) -> DetectionOverlayConfig
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.