Struct gtk4::builders::MountOperationBuilder
source · [−]pub struct MountOperationBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct MountOperation
objects.
Implementations
sourceimpl MountOperationBuilder
impl MountOperationBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new MountOperationBuilder
.
sourcepub fn build(self) -> MountOperation
pub fn build(self) -> MountOperation
Build the MountOperation
.
pub fn display(self, display: &impl IsA<Display>) -> Self
pub fn parent(self, parent: &impl IsA<Window>) -> Self
pub fn anonymous(self, anonymous: bool) -> Self
pub fn choice(self, choice: i32) -> Self
pub fn domain(self, domain: &str) -> Self
pub fn is_tcrypt_system_volume(self, is_tcrypt_system_volume: bool) -> Self
pub fn password(self, password: &str) -> Self
pub fn password_save(self, password_save: PasswordSave) -> Self
pub fn pim(self, pim: u32) -> Self
pub fn username(self, username: &str) -> Self
Trait Implementations
sourceimpl Clone for MountOperationBuilder
impl Clone for MountOperationBuilder
sourcefn clone(&self) -> MountOperationBuilder
fn clone(&self) -> MountOperationBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for MountOperationBuilder
impl Default for MountOperationBuilder
sourcefn default() -> MountOperationBuilder
fn default() -> MountOperationBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MountOperationBuilder
impl !Send for MountOperationBuilder
impl !Sync for MountOperationBuilder
impl Unpin for MountOperationBuilder
impl UnwindSafe for MountOperationBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more