pub struct Config<'a> {
pub icon_width: f32,
pub icon_height: f32,
pub text_width: f32,
pub text_height: f32,
pub icon_text_gap: f32,
pub color_light: Color32,
pub color_light_hover: Color32,
pub color_dark: Color32,
pub color_dark_hover: Color32,
pub text: &'a str,
pub img: ImageSource<'a>,
}
Fields§
§icon_width: f32
§icon_height: f32
§text_width: f32
§text_height: f32
§icon_text_gap: f32
§color_light: Color32
§color_light_hover: Color32
§color_dark: Color32
§color_dark_hover: Color32
§text: &'a str
§img: ImageSource<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Config<'a>
impl<'a> RefUnwindSafe for Config<'a>
impl<'a> Send for Config<'a>
impl<'a> Sync for Config<'a>
impl<'a> Unpin for Config<'a>
impl<'a> UnwindSafe for Config<'a>
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