pub struct SelectableLabel { /* private fields */ }Implementations§
Source§impl SelectableLabel
impl SelectableLabel
pub fn new(text: impl Into<Arc<str>>) -> Self
pub fn into_element<H: UiHost>( self, cx: &mut ElementContext<'_, H>, ) -> AnyElement
Trait Implementations§
Source§impl Clone for SelectableLabel
impl Clone for SelectableLabel
Source§fn clone(&self) -> SelectableLabel
fn clone(&self) -> SelectableLabel
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 SelectableLabel
impl RefUnwindSafe for SelectableLabel
impl Send for SelectableLabel
impl Sync for SelectableLabel
impl Unpin for SelectableLabel
impl UnsafeUnpin for SelectableLabel
impl UnwindSafe for SelectableLabel
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