[][src]Struct wand::prelude::WorldSpan

pub struct WorldSpan {
    pub name: String,
    pub width: f32,
    pub height: f32,
    pub world: World,
    // some fields omitted
}

Fields

name: Stringwidth: f32height: f32world: World

Methods

impl WorldSpan[src]

pub fn new(
    state: State,
    ctx: CanvasRenderingContext2d,
    name: &str,
    text: &str,
    width: f32,
    height: f32
) -> Self
[src]

pub fn set_text(&mut self, text: &str)[src]

Trait Implementations

impl SpanTrait for WorldSpan[src]

Auto Trait Implementations

impl !Send for WorldSpan

impl !Sync for WorldSpan

impl Unpin for WorldSpan

impl !UnwindSafe for WorldSpan

impl !RefUnwindSafe for WorldSpan

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>,