Struct fltk_float::SimpleWrapper
source · 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 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