Skip to main content

HandlesVecExtension

Trait HandlesVecExtension 

Source
pub trait HandlesVecExtension<T, B>: Sized {
    // Required methods
    fn to_base(self) -> Vec<Handle<B>>
       where T: ObjectOrVariant<B>;
    fn to_any(self) -> Vec<Handle<B>>;
}

Required Methods§

Source

fn to_base(self) -> Vec<Handle<B>>
where T: ObjectOrVariant<B>,

Source

fn to_any(self) -> Vec<Handle<B>>

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.

Implementations on Foreign Types§

Source§

impl<T, B> HandlesVecExtension<T, B> for Vec<Handle<T>>

Source§

fn to_base(self) -> Vec<Handle<B>>
where T: ObjectOrVariant<B>,

Source§

fn to_any(self) -> Vec<Handle<B>>

Implementors§