pub struct StepperStep {
pub label: String,
pub description: String,
pub completed: bool,
}Fields§
§label: String§description: String§completed: boolImplementations§
Source§impl StepperStep
impl StepperStep
pub fn new(label: String) -> StepperStep
pub fn description(self, desc: String) -> StepperStep
pub fn completed(self, completed: bool) -> StepperStep
Trait Implementations§
Source§impl Clone for StepperStep
impl Clone for StepperStep
Source§fn clone(&self) -> StepperStep
fn clone(&self) -> StepperStep
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 moreSource§impl Debug for StepperStep
impl Debug for StepperStep
Source§impl Default for StepperStep
impl Default for StepperStep
Source§fn default() -> StepperStep
fn default() -> StepperStep
Returns the “default value” for a type. Read more
Source§impl Hash for StepperStep
impl Hash for StepperStep
Source§impl PartialEq for StepperStep
impl PartialEq for StepperStep
impl Eq for StepperStep
impl StructuralPartialEq for StepperStep
Auto Trait Implementations§
impl Freeze for StepperStep
impl RefUnwindSafe for StepperStep
impl Send for StepperStep
impl Sync for StepperStep
impl Unpin for StepperStep
impl UnwindSafe for StepperStep
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