[][src]Trait ytesrev::layout::layered::Layerable

pub trait Layerable: Drawable {
    fn as_drawable(&self) -> &dyn Drawable;
fn as_drawable_mut(&mut self) -> &mut dyn Drawable; }

I'm not sure why this is needed, but when just storing the dyn Drawable, the compiler complains about Layered::content_mut

Please ignore this

Required methods

fn as_drawable(&self) -> &dyn Drawable

fn as_drawable_mut(&mut self) -> &mut dyn Drawable

Loading content...

Implementors

impl<T: Drawable> Layerable for T[src]

Loading content...