pub struct UiPanel {
pub position: Vec3,
pub width: usize,
pub height: usize,
pub border_color: Vec4,
pub fill_color: Vec4,
pub title: Option<String>,
pub title_color: Vec4,
pub char_scale: f32,
}Expand description
A bordered panel container (background + optional title).
Fields§
§position: Vec3§width: usize§height: usize§border_color: Vec4§fill_color: Vec4§title: Option<String>§title_color: Vec4§char_scale: f32Implementations§
Auto Trait Implementations§
impl Freeze for UiPanel
impl RefUnwindSafe for UiPanel
impl Send for UiPanel
impl Sync for UiPanel
impl Unpin for UiPanel
impl UnsafeUnpin for UiPanel
impl UnwindSafe for UiPanel
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