mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Introduce egui_extras with RetainedImage for loading svg,png,jpeg,… (#1282)
This commit is contained in:
@@ -51,6 +51,13 @@ impl From<&String> for RichText {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<&mut String> for RichText {
|
||||
#[inline]
|
||||
fn from(text: &mut String) -> Self {
|
||||
RichText::new(text.clone())
|
||||
}
|
||||
}
|
||||
|
||||
impl From<String> for RichText {
|
||||
#[inline]
|
||||
fn from(text: String) -> Self {
|
||||
|
||||
Reference in New Issue
Block a user