pub struct KeyValueBuilder { /* private fields */ }
Expand description
Builder for KeyValue
.
Implementations§
Source§impl KeyValueBuilder
impl KeyValueBuilder
pub fn top_label<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn content<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn icon<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn content_multiline<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn bottom_label<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn on_click(&mut self, value: OnClick) -> &mut Self
Trait Implementations§
Source§impl Clone for KeyValueBuilder
impl Clone for KeyValueBuilder
Source§fn clone(&self) -> KeyValueBuilder
fn clone(&self) -> KeyValueBuilder
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 KeyValueBuilder
impl RefUnwindSafe for KeyValueBuilder
impl Send for KeyValueBuilder
impl Sync for KeyValueBuilder
impl Unpin for KeyValueBuilder
impl UnwindSafe for KeyValueBuilder
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