pub struct ButteryUIWindow {
pub relative_position: ButteryUIWindowRelativePosition,
pub offset: ButterUIWindowOffset,
pub corner_radius: f32,
pub inner_margin: i8,
pub max_width: f32,
pub max_height: f32,
pub background_color: ButteryUIColor,
pub child: ButteryUIElement,
}Fields§
§relative_position: ButteryUIWindowRelativePosition§offset: ButterUIWindowOffset§corner_radius: f32§inner_margin: i8§max_width: f32§max_height: f32§background_color: ButteryUIColor§child: ButteryUIElementTrait Implementations§
Source§impl Default for ButteryUIWindow
impl Default for ButteryUIWindow
Source§fn default() -> ButteryUIWindow
fn default() -> ButteryUIWindow
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ButteryUIWindow
impl RefUnwindSafe for ButteryUIWindow
impl Send for ButteryUIWindow
impl Sync for ButteryUIWindow
impl Unpin for ButteryUIWindow
impl UnsafeUnpin for ButteryUIWindow
impl UnwindSafe for ButteryUIWindow
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