pub struct SimpleWrapper {
pub widget: Widget,
pub min_size: Size,
}
Fields§
§widget: Widget
§min_size: Size
Implementations§
Source§impl SimpleWrapper
impl SimpleWrapper
pub fn new<W: IntoWidget>(widget: W, min_size: Size) -> Self
Trait Implementations§
Source§impl LayoutElement for SimpleWrapper
impl LayoutElement for SimpleWrapper
Source§impl<W: IntoWidget> LayoutWidgetWrapper<W> for SimpleWrapper
impl<W: IntoWidget> LayoutWidgetWrapper<W> for SimpleWrapper
Auto Trait Implementations§
impl Freeze for SimpleWrapper
impl RefUnwindSafe for SimpleWrapper
impl Send for SimpleWrapper
impl Sync for SimpleWrapper
impl Unpin for SimpleWrapper
impl UnwindSafe for SimpleWrapper
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