Trait kas_core::class::HasString

source ·
pub trait HasString: HasStr {
    fn set_string(&mut self, text: String) -> TkAction;

    fn set_str(&mut self, text: &str) -> TkAction { ... }
}
Expand description

Read / write an unformatted String

Required Methods§

Set text from a string

Provided Methods§

Set text from a &str

This is a convenience method around set_string(text.to_string()).

Implementors§