pub enum DocumentOnTypeFormattingRequest {}Expand description
A request to format a document on type.
Trait Implementations§
Source§impl Request for DocumentOnTypeFormattingRequest
impl Request for DocumentOnTypeFormattingRequest
const METHOD: LspRequestMethod<'static> = LspRequestMethod::TextDocumentOnTypeFormatting
const MESSAGE_DIRECTION: MessageDirection = MessageDirection::ClientToServer
type Params = DocumentOnTypeFormattingParams
type Result = Option<Vec<TextEdit>>
Auto Trait Implementations§
impl Freeze for DocumentOnTypeFormattingRequest
impl RefUnwindSafe for DocumentOnTypeFormattingRequest
impl Send for DocumentOnTypeFormattingRequest
impl Sync for DocumentOnTypeFormattingRequest
impl Unpin for DocumentOnTypeFormattingRequest
impl UnsafeUnpin for DocumentOnTypeFormattingRequest
impl UnwindSafe for DocumentOnTypeFormattingRequest
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