Trait lang_util::node::NodeDisplay [−][src]
Trait for displaying a syntax node
Required methods
fn name() -> Option<&'static str>[src]
Name of the syntax node’s type
fn start(&self) -> Option<usize>[src]
Starting position of the node
fn end(&self) -> Option<usize>[src]
Ending position of the node
fn source_id(&self) -> Option<usize>[src]
Source id of the node
fn display(&self) -> NodeDisplayWrapper<'_, Self>[src]
Obtain a display wrapper for the current node