Type Alias kas_widgets::StrLabel

source ·
pub type StrLabel = Label<&'static str>;
Expand description

Label with &'static str as backing type

Warning: this type does not support HasString. Assignment is possible via Label::set_text, but only for &'static str, so most of the time StringLabel will be preferred when assignment is required. (Also note that the overhead of allocating and copying a String is irrelevant considering those used for text layout and drawing.)

Aliased Type§

struct StrLabel { /* private fields */ }