pub struct QueryPrinter<'q> { /* private fields */ }Implementations§
Source§impl<'q> QueryPrinter<'q>
impl<'q> QueryPrinter<'q>
pub fn new(query: &'q Query) -> Self
pub fn raw(self, value: bool) -> Self
pub fn with_trivia(self, value: bool) -> Self
pub fn with_arities(self, value: bool) -> Self
pub fn with_spans(self, value: bool) -> Self
pub fn only_symbols(self, value: bool) -> Self
pub fn dump(&self) -> String
pub fn format(&self, w: &mut impl Write) -> Result
Auto Trait Implementations§
impl<'q> Freeze for QueryPrinter<'q>
impl<'q> !RefUnwindSafe for QueryPrinter<'q>
impl<'q> !Send for QueryPrinter<'q>
impl<'q> !Sync for QueryPrinter<'q>
impl<'q> Unpin for QueryPrinter<'q>
impl<'q> !UnwindSafe for QueryPrinter<'q>
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