pub struct FileChooserOpenedEventParamsBuilder { /* private fields */ }Expand description
Builder for FileChooserOpenedEventParams.
Implementations§
Source§impl FileChooserOpenedEventParamsBuilder
impl FileChooserOpenedEventParamsBuilder
Sourcepub fn mode(&mut self, value: FileChooserOpenedModeOption) -> &mut Self
pub fn mode(&mut self, value: FileChooserOpenedModeOption) -> &mut Self
Input mode.
Sourcepub fn backend_node_id(&mut self, value: Option<BackendNodeId>) -> &mut Self
pub fn backend_node_id(&mut self, value: Option<BackendNodeId>) -> &mut Self
Input node id. Only present for file choosers opened via an \<input type="file"\> element.
Sourcepub fn build(
&self,
) -> Result<FileChooserOpenedEventParams, FileChooserOpenedEventParamsBuilderError>
pub fn build( &self, ) -> Result<FileChooserOpenedEventParams, FileChooserOpenedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for FileChooserOpenedEventParamsBuilder
impl Clone for FileChooserOpenedEventParamsBuilder
Source§fn clone(&self) -> FileChooserOpenedEventParamsBuilder
fn clone(&self) -> FileChooserOpenedEventParamsBuilder
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 FileChooserOpenedEventParamsBuilder
impl RefUnwindSafe for FileChooserOpenedEventParamsBuilder
impl Send for FileChooserOpenedEventParamsBuilder
impl Sync for FileChooserOpenedEventParamsBuilder
impl Unpin for FileChooserOpenedEventParamsBuilder
impl UnsafeUnpin for FileChooserOpenedEventParamsBuilder
impl UnwindSafe for FileChooserOpenedEventParamsBuilder
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