pub struct SvgFonts {
pub faces: Vec<(String, u32, bool, u32)>,
pub mono: Option<u32>,
}Expand description
the faces SvgText may use (taken from the Ui at frame time)
Fields§
§faces: Vec<(String, u32, bool, u32)>(family lower case, weight, italic, font id) of ui.font_register
mono: Option<u32>“monospace”
Trait Implementations§
Auto Trait Implementations§
impl Forget for SvgFonts
impl Freeze for SvgFonts
impl RefUnwindSafe for SvgFonts
impl Send for SvgFonts
impl Sync for SvgFonts
impl Unpin for SvgFonts
impl UnsafeUnpin for SvgFonts
impl UnwindSafe for SvgFonts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more