pub struct SyntaxParseQuery {
pub language: String,
pub source: String,
pub uri: Option<String>,
pub max_depth: usize,
pub max_nodes: usize,
pub named_only: bool,
pub include_text: bool,
pub max_text_chars: usize,
}Fields§
§language: String§source: String§uri: Option<String>§max_depth: usize§max_nodes: usize§named_only: bool§include_text: bool§max_text_chars: usizeTrait Implementations§
Source§impl Clone for SyntaxParseQuery
impl Clone for SyntaxParseQuery
Source§fn clone(&self) -> SyntaxParseQuery
fn clone(&self) -> SyntaxParseQuery
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 SyntaxParseQuery
impl Debug for SyntaxParseQuery
Source§impl<'de> Deserialize<'de> for SyntaxParseQuery
impl<'de> Deserialize<'de> for SyntaxParseQuery
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 SyntaxParseQuery
Source§impl PartialEq for SyntaxParseQuery
impl PartialEq for SyntaxParseQuery
Source§impl Serialize for SyntaxParseQuery
impl Serialize for SyntaxParseQuery
impl StructuralPartialEq for SyntaxParseQuery
Auto Trait Implementations§
impl Freeze for SyntaxParseQuery
impl RefUnwindSafe for SyntaxParseQuery
impl Send for SyntaxParseQuery
impl Sync for SyntaxParseQuery
impl Unpin for SyntaxParseQuery
impl UnsafeUnpin for SyntaxParseQuery
impl UnwindSafe for SyntaxParseQuery
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