pub struct OpenDirectoryRequest { /* private fields */ }Available on crate feature
open_uri only.Expand description
A builder-pattern type to open a directory.
Implementations§
Source§impl OpenDirectoryRequest
impl OpenDirectoryRequest
Sourcepub fn identifier(self, identifier: impl Into<Option<WindowIdentifier>>) -> Self
pub fn identifier(self, identifier: impl Into<Option<WindowIdentifier>>) -> Self
Sets a window identifier.
Sourcepub fn activation_token(
self,
activation_token: impl Into<Option<ActivationToken>>,
) -> Self
pub fn activation_token( self, activation_token: impl Into<Option<ActivationToken>>, ) -> Self
Sets the token that can be used to activate the chosen application.
Sourcepub fn connection(self, connection: Option<Connection>) -> Self
pub fn connection(self, connection: Option<Connection>) -> Self
Sets a connection to use other than the internal one.
Trait Implementations§
Source§impl Debug for OpenDirectoryRequest
impl Debug for OpenDirectoryRequest
Source§impl Default for OpenDirectoryRequest
impl Default for OpenDirectoryRequest
Source§fn default() -> OpenDirectoryRequest
fn default() -> OpenDirectoryRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OpenDirectoryRequest
impl !RefUnwindSafe for OpenDirectoryRequest
impl Send for OpenDirectoryRequest
impl Sync for OpenDirectoryRequest
impl Unpin for OpenDirectoryRequest
impl UnsafeUnpin for OpenDirectoryRequest
impl !UnwindSafe for OpenDirectoryRequest
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