pub struct SetInterceptFileChooserDialogBuilder { /* private fields */ }Expand description
Builder for SetInterceptFileChooserDialog.
Implementations§
Source§impl SetInterceptFileChooserDialogBuilder
impl SetInterceptFileChooserDialogBuilder
pub fn enabled<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn cancel<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn cancel<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, cancels the dialog by emitting relevant events (if any) in addition to not showing it if the interception is enabled (default: false).
Sourcepub fn build(
&self,
) -> Result<SetInterceptFileChooserDialog, SetInterceptFileChooserDialogBuilderError>
pub fn build( &self, ) -> Result<SetInterceptFileChooserDialog, SetInterceptFileChooserDialogBuilderError>
Trait Implementations§
Source§impl Clone for SetInterceptFileChooserDialogBuilder
impl Clone for SetInterceptFileChooserDialogBuilder
Source§fn clone(&self) -> SetInterceptFileChooserDialogBuilder
fn clone(&self) -> SetInterceptFileChooserDialogBuilder
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 SetInterceptFileChooserDialogBuilder
impl RefUnwindSafe for SetInterceptFileChooserDialogBuilder
impl Send for SetInterceptFileChooserDialogBuilder
impl Sync for SetInterceptFileChooserDialogBuilder
impl Unpin for SetInterceptFileChooserDialogBuilder
impl UnsafeUnpin for SetInterceptFileChooserDialogBuilder
impl UnwindSafe for SetInterceptFileChooserDialogBuilder
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