Enum amethyst_ui::ScaleMode [−][src]
pub enum ScaleMode {
Pixel,
Percent,
}Unused, will be implemented in a future PR. Indicated if the position and margins should be calculated in pixel or relative to their parent size.
Variants
PixelUse directly the pixel value.
PercentUse a proportion (%) of the parent's dimensions (or screen, if there is no parent).
Trait Implementations
impl Debug for ScaleMode[src]
impl Debug for ScaleModefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for ScaleMode[src]
impl Clone for ScaleMode