Module full_moon::ast::owned[][src]

Expand description

Exposes the Owned that nodes implement to produce an owned version of themselves. Owned versions are represented as the node with a lifetime of 'static. For example, if you have an Ast<'a>, calling ast.owned() on it will produce an owned Ast<'static>.

Traits

Owned

A trait for getting an owned version of a node. Refer to the module documentation for more details. This trait is sealed and cannot be implemented for types outside of full-moon