pub struct HorizontalLayout {
pub origin: Vec2,
pub height: f32,
pub spacing: f32,
/* private fields */
}Expand description
Simple horizontal layout helper.
Fields§
§origin: Vec2Starting position.
height: f32Widget height (0 = auto).
spacing: f32Spacing between widgets.
Implementations§
Trait Implementations§
Source§impl Clone for HorizontalLayout
impl Clone for HorizontalLayout
Source§fn clone(&self) -> HorizontalLayout
fn clone(&self) -> HorizontalLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HorizontalLayout
impl RefUnwindSafe for HorizontalLayout
impl Send for HorizontalLayout
impl Sync for HorizontalLayout
impl Unpin for HorizontalLayout
impl UnsafeUnpin for HorizontalLayout
impl UnwindSafe for HorizontalLayout
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