pub struct PushButton {
pub name: String,
pub caption: Option<String>,
}Expand description
Push button field
Fields§
§name: StringField name
caption: Option<String>Button caption
Implementations§
Source§impl PushButton
impl PushButton
Trait Implementations§
Source§impl Clone for PushButton
impl Clone for PushButton
Source§fn clone(&self) -> PushButton
fn clone(&self) -> PushButton
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 PushButton
impl RefUnwindSafe for PushButton
impl Send for PushButton
impl Sync for PushButton
impl Unpin for PushButton
impl UnwindSafe for PushButton
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