Skip to main content

NodeToString

Function NodeToString 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn NodeToString( node: NodePtr, recursive: bool, layout: bool, style: bool, ) -> *const c_char
Expand description

§Safety

Convert a node instance to a string.

§Arguments

  • node - Raw pointer to the Node instance
  • recursive - Recursive
  • layout - Layout
  • style - Style

§Returns

A string representation of the node

§Example

NodeToString(node, true, true, true);