pub enum ButtonContent {
Image(ImageId),
Text(DomString),
}
Variants§
Trait Implementations§
Source§impl Clone for ButtonContent
impl Clone for ButtonContent
Source§fn clone(&self) -> ButtonContent
fn clone(&self) -> ButtonContent
Returns a copy 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 moreSource§impl Debug for ButtonContent
impl Debug for ButtonContent
Source§impl Hash for ButtonContent
impl Hash for ButtonContent
Source§impl PartialEq for ButtonContent
impl PartialEq for ButtonContent
impl Eq for ButtonContent
impl StructuralPartialEq for ButtonContent
Auto Trait Implementations§
impl Freeze for ButtonContent
impl RefUnwindSafe for ButtonContent
impl Send for ButtonContent
impl Sync for ButtonContent
impl Unpin for ButtonContent
impl UnwindSafe for ButtonContent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)