Enum oil_shared::deps::Constructor [] [src]

pub enum Constructor {
    None,
    Number(f32),
    Quote(String),
    Font(Stringf32f32),
    Image(PathBufOption<f32>, Option<f32>, Option<f32>, Option<f32>),
}

Variants

None type -> Constructor failed loading the resource.

Number [0-9]+

String ".+"

Font(path, width, height)

TODO: replace String by the type Path Image(path, width, height, offset-x, offset-y)

Trait Implementations

impl Clone for Constructor
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Constructor
[src]

Formats the value using the given formatter.