Skip to main content

IntoDestWithSize

Trait IntoDestWithSize 

pub trait IntoDestWithSize<A: Arch> {
    // Required method
    fn into_dest_with_size(self, size: Size) -> Dest<A>;
}
Expand description

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

Required Methods§

fn into_dest_with_size(self, size: Size) -> Dest<A>

Converts self into a Dest.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

§

impl<A: Arch> IntoDestWithSize<A> for Location<A>