[][src]Struct quicksilver::graphics::ImmiRender

pub struct ImmiRender<'a> { /* fields omitted */ }
Deprecated since 0.3.16:

immi is not actively maintained or sufficient as a GUI solution

The implementation of the Immi rendering code for Quicksilver

This allows Immi to draw the UI to an arbitrary mesh. Used with create_immi_ctx

Methods

impl<'a> ImmiRender<'a>[src]

pub fn new(target: &'a mut Mesh, font: &'a Font) -> ImmiRender<'a>[src]

Deprecated since 0.3.3:

please use new_with_view instead

Create an instance of the renderer, which should be done every frame

The renderer is a short-lived object that should not be stored

pub fn new_with_view(
    target: &'a mut Mesh,
    view: View,
    font: &'a Font
) -> ImmiRender<'a>
[src]

Create a new instance of the renderer with the given view

pub fn new_with_window(window: &'a mut Window, font: &'a Font) -> ImmiRender<'a>[src]

Create a renderer from a Window

Trait Implementations

impl<'a> Draw for ImmiRender<'a>[src]

type ImageResource = Image

Type of a resource that represents an image.

type TextStyle = FontStyle

Type of a resource that represents the style of a text: its font, color, etc.

Auto Trait Implementations

impl<'a> !Send for ImmiRender<'a>

impl<'a> !Sync for ImmiRender<'a>

impl<'a> Unpin for ImmiRender<'a>

impl<'a> !UnwindSafe for ImmiRender<'a>

impl<'a> !RefUnwindSafe for ImmiRender<'a>

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> SetParameter for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

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

impl<T> Downcast for T where
    T: Any