Skip to main content

ToTape

Trait ToTape 

Source
pub trait ToTape<'a, T> {
    // Required method
    fn to_tape(self) -> Tape<'a, T>;
}
Expand description

Provides the convenience function to_tape.

Required Methods§

Source

fn to_tape(self) -> Tape<'a, T>

An ergonomic alternative to Tape::new().

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a, T> ToTape<'a, T> for &'a [T]

Source§

fn to_tape(self) -> Tape<'a, T>

Implementors§