Enum oil_shared::deps::Constructor
[−]
[src]
pub enum Constructor { None, Number(f32), Quote(String), Font(String, f32, f32), Image(PathBuf, Option<f32>, Option<f32>, Option<f32>, Option<f32>), }
Variants
None
None type -> Constructor failed loading the resource.
Number(f32)
Number [0-9]+
Quote(String)
String ".+"
Font(String, f32, f32)
Font(path, width, height)
Image(PathBuf, Option<f32>, Option<f32>, Option<f32>, Option<f32>)
TODO: replace String by the type Path Image(path, width, height, offset-x, offset-y)
Trait Implementations
impl Clone for Constructor
[src]
fn clone(&self) -> Constructor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more