pub struct UiLayout {
pub direction: UiDirection,
pub align: UiAlign,
pub gap: f32,
pub padding: UiEdge,
pub width: UiSizing,
pub height: UiSizing,
}Expand description
Layout descriptor passed to begin_panel.
Fields§
§direction: UiDirection§align: UiAlign§gap: f32§padding: UiEdge§width: UiSizing§height: UiSizingTrait Implementations§
Auto Trait Implementations§
impl Forget for UiLayout
impl Freeze for UiLayout
impl Move for UiLayout
impl RefUnwindSafe for UiLayout
impl Send for UiLayout
impl Sync for UiLayout
impl Unpin for UiLayout
impl UnsafeUnpin for UiLayout
impl UnwindSafe for UiLayout
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