Trait freya::prelude::Scaled

pub trait Scaled {
    // Required method
    fn scale(&mut self, scale_factor: f32);
}

Required Methods§

fn scale(&mut self, scale_factor: f32)

Implementations on Foreign Types§

source§

impl Scaled for Border

source§

fn scale(&mut self, scale_factor: f32)

source§

impl Scaled for BorderWidth

source§

fn scale(&mut self, scale_factor: f32)

source§

impl Scaled for CornerRadius

source§

fn scale(&mut self, scale: f32)

source§

impl Scaled for Shadow

source§

fn scale(&mut self, scale_factor: f32)

Implementors§