Skip to main content

IntoSourceWithSize

Trait IntoSourceWithSize 

pub trait IntoSourceWithSize<A: Arch> {
    // Required method
    fn into_source_with_size(self, size: Size) -> Source<A>;
}
Expand description

Types that implement this trait can be converted into sources, given a size.

Required Methods§

fn into_source_with_size(self, size: Size) -> Source<A>

Converts self into a Source.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§