pub struct PresentButton {
pub label: String,
pub role: ButtonRole,
}Fields§
§label: String§role: ButtonRoleTrait Implementations§
Source§impl Clone for PresentButton
impl Clone for PresentButton
Source§fn clone(&self) -> PresentButton
fn clone(&self) -> PresentButton
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PresentButton
impl Debug for PresentButton
Source§impl PartialEq for PresentButton
impl PartialEq for PresentButton
Source§fn eq(&self, other: &PresentButton) -> bool
fn eq(&self, other: &PresentButton) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PresentButton
Auto Trait Implementations§
impl Freeze for PresentButton
impl RefUnwindSafe for PresentButton
impl Send for PresentButton
impl Sync for PresentButton
impl Unpin for PresentButton
impl UnsafeUnpin for PresentButton
impl UnwindSafe for PresentButton
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