[][src]Enum wand::content::Content

pub enum Content {
    Section {
        section: SectionRef,
    },
    Span {
        span: SpanRef,
    },
}

Variants

Section

Fields of Section

section: SectionRef
Span

Fields of Span

span: SpanRef

Methods

impl Content[src]

pub fn on_resize(
    &mut self,
    left: f64,
    top: f64,
    right: f64,
    bottom: f64
) -> (f64, f64, bool)
[src]

pub fn draw(&self, ctx: &CanvasRenderingContext2d)[src]

Deprecated

pub fn render_tick(&self, ctx: &CanvasRenderingContext2d)[src]

pub fn tick(&mut self)[src]

pub fn get_order_value(&self) -> u8[src]

pub fn dispatch_event(&mut self, ev: &mut Event)[src]

Auto Trait Implementations

impl !Send for Content

impl !Sync for Content

impl Unpin for Content

impl !UnwindSafe for Content

impl !RefUnwindSafe for Content

Blanket Implementations

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>,