Trait sfml::graphics::Drawable

source ·
pub trait Drawable {
    fn draw<'a: 'shader, 'texture, 'shader, 'shader_texture>(
        &'a self,
        target: &mut dyn RenderTarget,
        states: &RenderStates<'texture, 'shader, 'shader_texture>
    ); }
Expand description

Something that is drawable by a RenderTarget.

Required Methods§

Draws into target with RenderStates states.

Implementors§