Struct gtk4::builders::PasswordEntryBufferBuilder
source · pub struct PasswordEntryBufferBuilder { /* private fields */ }
Available on crate feature
v4_4
only.Expand description
A builder-pattern type to construct PasswordEntryBuffer
objects.
Implementations§
source§impl PasswordEntryBufferBuilder
impl PasswordEntryBufferBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new PasswordEntryBufferBuilder
.
sourcepub fn build(self) -> PasswordEntryBuffer
pub fn build(self) -> PasswordEntryBuffer
Build the PasswordEntryBuffer
.
pub fn max_length(self, max_length: i32) -> Self
pub fn text(self, text: &str) -> Self
Trait Implementations§
source§impl Clone for PasswordEntryBufferBuilder
impl Clone for PasswordEntryBufferBuilder
source§fn clone(&self) -> PasswordEntryBufferBuilder
fn clone(&self) -> PasswordEntryBufferBuilder
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 PasswordEntryBufferBuilder
impl Default for PasswordEntryBufferBuilder
source§fn default() -> PasswordEntryBufferBuilder
fn default() -> PasswordEntryBufferBuilder
Returns the “default value” for a type. Read more