Struct ra_ap_rust_analyzer::lsp_ext::SsrParams[][src]

pub struct SsrParams {
    pub query: String,
    pub parse_only: bool,
    pub position: TextDocumentPositionParams,
    pub selections: Vec<Range>,
}

Fields

query: Stringparse_only: boolposition: TextDocumentPositionParams

File position where SSR was invoked. Paths in query will be resolved relative to this position.

selections: Vec<Range>

Current selections. Search/replace will be restricted to these if non-empty.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Cast a value to type U using CastTo.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.