pub type Pointer<T> = Rc<T>;Expand description
Aliased Type§
pub struct Pointer<T> { /* private fields */ }Trait Implementations§
Source§impl<T: Print> Print for Pointer<T>
impl<T: Print> Print for Pointer<T>
Source§fn print_final_trivia(&self) -> String
fn print_final_trivia(&self) -> String
Prints only the very final trivia. Used for the default implementation of
Print::print, which just joins Print::print_without_final_trivia
and this function.Source§fn print_without_final_trivia(&self) -> String
fn print_without_final_trivia(&self) -> String
Prints the whole token including all surrounding trivia, excluding the
very last trailing trivia.