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: String
parse_only: bool
position: 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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SsrParams
impl UnwindSafe for SsrParams
Blanket Implementations
Mutably borrows from an owned value. Read more
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U
using CastTo
.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T> Any for T where
T: Any,