pub struct VerticalLayout {
pub origin: Vec2,
pub width: f32,
pub spacing: f32,
/* private fields */
}Expand description
Simple vertical layout helper.
Fields§
§origin: Vec2Starting position.
width: f32Widget width (0 = auto).
spacing: f32Spacing between widgets.
Implementations§
Trait Implementations§
Source§impl Clone for VerticalLayout
impl Clone for VerticalLayout
Source§fn clone(&self) -> VerticalLayout
fn clone(&self) -> VerticalLayout
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 VerticalLayout
impl RefUnwindSafe for VerticalLayout
impl Send for VerticalLayout
impl Sync for VerticalLayout
impl Unpin for VerticalLayout
impl UnsafeUnpin for VerticalLayout
impl UnwindSafe for VerticalLayout
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