Struct libpanel::builders::SaveDelegateBuilder
source · pub struct SaveDelegateBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct SaveDelegate
objects.
Implementations§
source§impl SaveDelegateBuilder
impl SaveDelegateBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new SaveDelegateBuilder
.
sourcepub fn build(self) -> SaveDelegate
pub fn build(self) -> SaveDelegate
Build the SaveDelegate
.
pub fn icon(self, icon: &impl IsA<Icon>) -> Self
pub fn icon_name(self, icon_name: &str) -> Self
pub fn progress(self, progress: f64) -> Self
pub fn subtitle(self, subtitle: &str) -> Self
pub fn title(self, title: &str) -> Self
Trait Implementations§
source§impl Clone for SaveDelegateBuilder
impl Clone for SaveDelegateBuilder
source§fn clone(&self) -> SaveDelegateBuilder
fn clone(&self) -> SaveDelegateBuilder
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 Default for SaveDelegateBuilder
impl Default for SaveDelegateBuilder
source§fn default() -> SaveDelegateBuilder
fn default() -> SaveDelegateBuilder
Returns the “default value” for a type. Read more