pub struct WidgetBuilder { /* private fields */ }Expand description
Builder for Widget.
Implementations§
Source§impl WidgetBuilder
impl WidgetBuilder
pub fn text_paragraph(&mut self, value: TextParagraph) -> &mut Self
pub fn key_value(&mut self, value: KeyValue) -> &mut Self
pub fn image(&mut self, value: Image) -> &mut Self
Trait Implementations§
Source§impl Clone for WidgetBuilder
impl Clone for WidgetBuilder
Source§fn clone(&self) -> WidgetBuilder
fn clone(&self) -> WidgetBuilder
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 WidgetBuilder
impl RefUnwindSafe for WidgetBuilder
impl Send for WidgetBuilder
impl Sync for WidgetBuilder
impl Unpin for WidgetBuilder
impl UnwindSafe for WidgetBuilder
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