pub struct SaveDelegateBuilder { /* private fields */ }Expand description
A builder-pattern type to construct SaveDelegate objects.
Implementations§
Source§impl SaveDelegateBuilder
impl SaveDelegateBuilder
pub fn icon(self, icon: &impl IsA<Icon>) -> Self
pub fn icon_name(self, icon_name: impl Into<GString>) -> Self
pub fn is_draft(self, is_draft: bool) -> Self
pub fn progress(self, progress: f64) -> Self
pub fn subtitle(self, subtitle: impl Into<GString>) -> Self
pub fn title(self, title: impl Into<GString>) -> Self
Sourcepub fn build(self) -> SaveDelegate
pub fn build(self) -> SaveDelegate
Build the SaveDelegate.
Auto Trait Implementations§
impl Freeze for SaveDelegateBuilder
impl RefUnwindSafe for SaveDelegateBuilder
impl !Send for SaveDelegateBuilder
impl !Sync for SaveDelegateBuilder
impl Unpin for SaveDelegateBuilder
impl UnwindSafe for SaveDelegateBuilder
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