Struct cairo_lang_syntax::node::NodeTextFormatter
source · pub struct NodeTextFormatter<'a> {
pub node: &'a SyntaxNode,
pub db: &'a dyn SyntaxGroup,
}
Expand description
Wrapper for formatting the text of syntax nodes.
Fields§
§node: &'a SyntaxNode
The node to format.
db: &'a dyn SyntaxGroup
The syntax db.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for NodeTextFormatter<'a>
impl<'a> !Send for NodeTextFormatter<'a>
impl<'a> !Sync for NodeTextFormatter<'a>
impl<'a> Unpin for NodeTextFormatter<'a>
impl<'a> !UnwindSafe for NodeTextFormatter<'a>
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