Struct lib_ruby_parser::source::CustomDecoder[][src]

pub struct CustomDecoder { /* fields omitted */ }
Expand description

Custom decoder, a wrapper around a function

Implementations

Constructs a rewriter based on a given function

Constructs a no-op token rewriter that has no side effect. Default value.

Returns an optional reference to a function that rewrite tokens

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.