[][src]Enum oxydyze::util::renderer::drawable::SdlDrawable

pub enum SdlDrawable {
    Node {
        drawables: Vec<SdlDrawable>,
        z_index: u64,
    },
    Rectangle {
        rect: Rect,
        color: Color,
        mode: BlendMode,
        fill: bool,
        z_index: u64,
    },
    Texture {
        id: TextureId,
        rect: Rect,
        z_index: u64,
    },
    TextBox {
        text: SdlTextBox,
        z_index: u64,
    },
}

Variants

Node

Fields of Node

drawables: Vec<SdlDrawable>z_index: u64
Rectangle

Fields of Rectangle

rect: Rectcolor: Colormode: BlendModefill: boolz_index: u64
Texture

Fields of Texture

id: TextureIdrect: Rectz_index: u64
TextBox

Fields of TextBox

text: SdlTextBoxz_index: u64

Trait Implementations

impl Clone for SdlDrawable[src]

impl Component for SdlDrawable[src]

impl Eq for SdlDrawable[src]

impl Ord for SdlDrawable[src]

impl PartialEq<SdlDrawable> for SdlDrawable[src]

impl PartialOrd<SdlDrawable> for SdlDrawable[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<R> Resource for R where
    R: 'static + Any
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.