webrender::util

Trait PointHelpers

Source
pub trait PointHelpers<U>
where Self: Sized,
{ // Required method fn snap(&self) -> Self; }

Required Methods§

Source

fn snap(&self) -> 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<U> PointHelpers<U> for Point2D<f32, U>

Source§

fn snap(&self) -> Self

Implementors§