Struct gtk4::builders::EntryBufferBuilder
source · [−]pub struct EntryBufferBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct EntryBuffer
objects.
Implementations
sourceimpl EntryBufferBuilder
impl EntryBufferBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new EntryBufferBuilder
.
sourcepub fn build(self) -> EntryBuffer
pub fn build(self) -> EntryBuffer
Build the EntryBuffer
.
pub fn max_length(self, max_length: i32) -> Self
pub fn text(self, text: &str) -> Self
Trait Implementations
sourceimpl Clone for EntryBufferBuilder
impl Clone for EntryBufferBuilder
sourcefn clone(&self) -> EntryBufferBuilder
fn clone(&self) -> EntryBufferBuilder
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 EntryBufferBuilder
impl Default for EntryBufferBuilder
sourcefn default() -> EntryBufferBuilder
fn default() -> EntryBufferBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for EntryBufferBuilder
impl Send for EntryBufferBuilder
impl Sync for EntryBufferBuilder
impl Unpin for EntryBufferBuilder
impl UnwindSafe for EntryBufferBuilder
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