Skip to main content

TransmuteExt

Trait TransmuteExt 

Source
pub trait TransmuteExt<U>: Sized {
    type IntoIter: Iterator<Item = U>;

    // Required method
    fn transmute_iter(self) -> Self::IntoIter;
}

Required Associated Types§

Source

type IntoIter: Iterator<Item = U>

Required Methods§

Source

fn transmute_iter(self) -> Self::IntoIter

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, U, I> TransmuteExt<U> for I
where I: IntoIterator<Item = T>, U: From<T>,

Source§

type IntoIter = Map<<I as IntoIterator>::IntoIter, fn(T) -> U>