Skip to main content

FromIteratorSpecImpl

Trait FromIteratorSpecImpl 

Source
pub trait FromIteratorSpecImpl<A>: Sized + FromIterator<A> {
    // Required method
    exec fn from_iter_ensures(remaining: Seq<A>, s: Self) -> bool;
}

Required Methods§

Source

exec fn from_iter_ensures(remaining: Seq<A>, s: Self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T> FromIteratorSpecImpl<T> for Vec<T>

Source§

open spec fn from_iter_ensures(remaining: Seq<T>, s: Self) -> bool

{ remaining == s@ }

Implementors§