Skip to main content

Scale

Trait Scale 

Source
pub trait Scale: Sized {
    // Required method
    fn scale(self, sf: f32) -> Self;
}

Required Methods§

Source

fn scale(self, sf: f32) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Scale for Point

Source§

fn scale(self, sf: f32) -> Self

Source§

impl Scale for Rect

Source§

fn scale(self, sf: f32) -> Self

Implementors§