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§
sourcefn set_string(&mut self, text: String) -> TkAction
fn set_string(&mut self, text: String) -> TkAction
Set text from a string