[][src]Enum oxygengine_composite_renderer::resource::UiThemed

pub enum UiThemed {
    None,
    Image {
        source_rect: Rect,
        image_margin: UiMargin,
        image_path: UiImagePath,
        alpha: UiValue,
    },
    Text {
        font_name: Cow<'static, str>,
        font_size: UiValue,
        alpha: UiValue,
    },
}

Variants

None
Image

Fields of Image

source_rect: Rectimage_margin: UiMarginimage_path: UiImagePathalpha: UiValue
Text

Fields of Text

font_name: Cow<'static, str>font_size: UiValuealpha: UiValue

Trait Implementations

impl Clone for UiThemed[src]

impl Debug for UiThemed[src]

impl Default for UiThemed[src]

impl<'de> Deserialize<'de> for UiThemed[src]

impl Serialize for UiThemed[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 

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

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

impl<T> Resource for T where
    T: Any, 

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryDefault for T where
    T: Default

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<V, T> VZip<V> for T where
    V: MultiLane<T>,