Struct ra_ap_rust_analyzer::lsp_ext::SyntaxTreeParams [−][src]
pub struct SyntaxTreeParams { pub text_document: TextDocumentIdentifier, pub range: Option<Range>, }
Fields
text_document: TextDocumentIdentifier
range: Option<Range>
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 SyntaxTreeParams
impl Send for SyntaxTreeParams
impl Sync for SyntaxTreeParams
impl Unpin for SyntaxTreeParams
impl UnwindSafe for SyntaxTreeParams
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,