pub struct LayoutItem {
pub id: UiId,
pub min_size: f32,
pub max_size: f32,
pub flex_grow: f32,
pub cross_size: f32,
}Fields§
§id: UiId§min_size: f32§max_size: f32§flex_grow: f32§cross_size: f32Implementations§
Trait Implementations§
Source§impl Clone for LayoutItem
impl Clone for LayoutItem
Source§fn clone(&self) -> LayoutItem
fn clone(&self) -> LayoutItem
Returns a duplicate of the value. Read more
1.0.0 · 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 LayoutItem
impl RefUnwindSafe for LayoutItem
impl Send for LayoutItem
impl Sync for LayoutItem
impl Unpin for LayoutItem
impl UnsafeUnpin for LayoutItem
impl UnwindSafe for LayoutItem
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