Struct gspell::builders::TextBufferBuilder
source · pub struct TextBufferBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct TextBuffer
objects.
Implementations§
source§impl TextBufferBuilder
impl TextBufferBuilder
sourcepub fn buffer(self, buffer: &impl IsA<TextBuffer>) -> Self
pub fn buffer(self, buffer: &impl IsA<TextBuffer>) -> Self
The gtk::TextBuffer
.
sourcepub fn spell_checker(self, spell_checker: &impl IsA<Checker>) -> Self
pub fn spell_checker(self, spell_checker: &impl IsA<Checker>) -> Self
The Checker
.
sourcepub fn build(self) -> TextBuffer
pub fn build(self) -> TextBuffer
Build the TextBuffer
.
Auto Trait Implementations§
impl RefUnwindSafe for TextBufferBuilder
impl !Send for TextBufferBuilder
impl !Sync for TextBufferBuilder
impl Unpin for TextBufferBuilder
impl UnwindSafe for TextBufferBuilder
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