pub struct TextEditorViewResultBuilder(/* private fields */);Expand description
Builder for TextEditorViewResult.
Implementations§
Source§impl TextEditorViewResultBuilder
impl TextEditorViewResultBuilder
pub fn num_lines(self, value: impl Into<i64>) -> Self
pub fn start_line(self, value: impl Into<i64>) -> Self
pub fn total_lines(self, value: impl Into<i64>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> TextEditorViewResult
pub fn build(self) -> TextEditorViewResult
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for TextEditorViewResultBuilder
impl RefUnwindSafe for TextEditorViewResultBuilder
impl Send for TextEditorViewResultBuilder
impl Sync for TextEditorViewResultBuilder
impl Unpin for TextEditorViewResultBuilder
impl UnsafeUnpin for TextEditorViewResultBuilder
impl UnwindSafe for TextEditorViewResultBuilder
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