Trait veloren_voxygen::scene::figure::FigureData

source ·
pub trait FigureData: Sized {
    // Required methods
    fn new(renderer: &mut Renderer) -> Self;
    fn update(
        &mut self,
        renderer: &mut Renderer,
        parameters: &FigureUpdateCommonParameters<'_>,
    );
}

Required Methods§

source

fn new(renderer: &mut Renderer) -> Self

source

fn update( &mut self, renderer: &mut Renderer, parameters: &FigureUpdateCommonParameters<'_>, )

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FigureData for ()

source§

fn new(_renderer: &mut Renderer)

source§

fn update( &mut self, _renderer: &mut Renderer, _parameters: &FigureUpdateCommonParameters<'_>, )

Implementors§