pub struct ResponseTextEditorReplaceResultBuilder(/* private fields */);Expand description
Builder for ResponseTextEditorReplaceResult.
Implementations§
Source§impl ResponseTextEditorReplaceResultBuilder
impl ResponseTextEditorReplaceResultBuilder
pub fn lines(self, value: impl Into<Option<Vec<String>>>) -> Self
pub fn new_lines(self, value: impl Into<Option<i64>>) -> Self
pub fn new_start(self, value: impl Into<Option<i64>>) -> Self
pub fn old_lines(self, value: impl Into<Option<i64>>) -> Self
pub fn old_start(self, value: impl Into<Option<i64>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> ResponseTextEditorReplaceResult
pub fn build(self) -> ResponseTextEditorReplaceResult
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for ResponseTextEditorReplaceResultBuilder
impl RefUnwindSafe for ResponseTextEditorReplaceResultBuilder
impl Send for ResponseTextEditorReplaceResultBuilder
impl Sync for ResponseTextEditorReplaceResultBuilder
impl Unpin for ResponseTextEditorReplaceResultBuilder
impl UnsafeUnpin for ResponseTextEditorReplaceResultBuilder
impl UnwindSafe for ResponseTextEditorReplaceResultBuilder
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