Struct gtk4::builders::MountOperationBuilder
source · pub struct MountOperationBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct MountOperation
objects.
Implementations§
source§impl 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§
source§impl Clone for MountOperationBuilder
impl Clone for MountOperationBuilder
source§fn clone(&self) -> MountOperationBuilder
fn clone(&self) -> MountOperationBuilder
Returns a copy 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 moresource§impl Default for MountOperationBuilder
impl Default for MountOperationBuilder
source§fn default() -> MountOperationBuilder
fn default() -> MountOperationBuilder
Returns the “default value” for a type. Read more