webrender::util

Trait MaxRect

Source
pub trait MaxRect {
    // Required method
    fn max_rect() -> Self;
}

Required Methods§

Source

fn max_rect() -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl MaxRect for DeviceIntRect

Source§

fn max_rect() -> Self

Source§

impl<U> MaxRect for Box2D<f32, U>

Source§

fn max_rect() -> Self

Source§

impl<U> MaxRect for Rect<f32, U>

Source§

fn max_rect() -> Self

Implementors§