Trait arithmetic_parser::StripCode [−][src]
pub trait StripCode { type Stripped: 'static; fn strip_code(self) -> Self::Stripped; }
Expand description
Encapsulates stripping references to code fragments. The result can outlive the code.
Implementors of this trait are usually generic by the code lifetime: Foo<'_, ..>
,
with the result of stripping being Foo<'static, ..>
.
Associated Types
Required methods
fn strip_code(self) -> Self::Stripped
[src]
fn strip_code(self) -> Self::Stripped
[src]Strips references to code fragments in this type.