pub struct Glue {
pub amount: Length,
pub axis: Axis,
}Expand description
Glue after glue setting.
Fields§
§amount: LengthSet size along the axis, natural size plus the stretch or shrink the parent box applied.
axis: AxisList direction the glue lies in.
Trait Implementations§
impl Copy for Glue
impl Eq for Glue
impl StructuralPartialEq for Glue
Auto Trait Implementations§
impl Freeze for Glue
impl RefUnwindSafe for Glue
impl Send for Glue
impl Sync for Glue
impl Unpin for Glue
impl UnsafeUnpin for Glue
impl UnwindSafe for Glue
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