[][src]Struct ytesrev::layout::layered::Layered

pub struct Layered { /* fields omitted */ }

A list of object on top of each other

Methods

impl Layered[src]

pub fn new(update_seq: bool, content: Vec<Box<dyn Layerable>>) -> Layered[src]

Create a new Layered

Trait Implementations

impl Drawable for Layered[src]

fn register(&mut self)[src]

Register all content. This is mostly just used by [LatexObj]s, that need to be registered before loaded. Read more

fn load(&mut self)[src]

Load all content

fn event(&mut self, e: Event)[src]

When any event occurs

fn update(&mut self, dt: f64)[src]

Tick the object

Auto Trait Implementations

impl !Sync for Layered

impl Unpin for Layered

impl Send for Layered

impl !RefUnwindSafe for Layered

impl !UnwindSafe for Layered

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,