[][src]Trait ytesrev::layout::stack::Stackable

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

Represent an object that can be in a stack

Required methods

fn as_drawable(&self) -> &dyn Drawable

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

Loading content...

Implementors

impl<T: Drawable + KnownSize> Stackable for T[src]

Loading content...