Trait dunge::AsTarget

source ·
pub trait AsTarget {
    // Required method
    fn as_target(&self) -> Target<'_>;
}
Expand description

Something that contains a target.

Required Methods§

source

fn as_target(&self) -> Target<'_>

Implementors§

source§

impl<T> AsTarget for T
where T: DrawTexture,

source§

impl<T, D> AsTarget for RenderBuffer<T, D>
where T: DrawTexture, D: DrawTexture,