pub struct SyntaxTreeQuery {
pub workspace: Option<String>,
pub focus: String,
pub max_depth: usize,
pub max_nodes: usize,
pub named_only: bool,
pub include_text: bool,
pub max_text_chars: usize,
}Fields§
§workspace: Option<String>§focus: String§max_depth: usize§max_nodes: usize§named_only: bool§include_text: bool§max_text_chars: usizeTrait Implementations§
Source§impl Clone for SyntaxTreeQuery
impl Clone for SyntaxTreeQuery
Source§fn clone(&self) -> SyntaxTreeQuery
fn clone(&self) -> SyntaxTreeQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SyntaxTreeQuery
impl Debug for SyntaxTreeQuery
Source§impl<'de> Deserialize<'de> for SyntaxTreeQuery
impl<'de> Deserialize<'de> for SyntaxTreeQuery
Source§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
impl Eq for SyntaxTreeQuery
Source§impl PartialEq for SyntaxTreeQuery
impl PartialEq for SyntaxTreeQuery
Source§impl Serialize for SyntaxTreeQuery
impl Serialize for SyntaxTreeQuery
impl StructuralPartialEq for SyntaxTreeQuery
Auto Trait Implementations§
impl Freeze for SyntaxTreeQuery
impl RefUnwindSafe for SyntaxTreeQuery
impl Send for SyntaxTreeQuery
impl Sync for SyntaxTreeQuery
impl Unpin for SyntaxTreeQuery
impl UnsafeUnpin for SyntaxTreeQuery
impl UnwindSafe for SyntaxTreeQuery
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