Trait ytesrev::layout::layered::Layerable [−][src]
pub trait Layerable: Drawable { fn as_drawable(&self) -> &Drawable; fn as_drawable_mut(&mut self) -> &mut 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) -> &Drawable
fn as_drawable_mut(&mut self) -> &mut Drawable
Implementors
impl<T: Drawable> Layerable for T