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