Trait figures::UPx2D

source ·
pub trait UPx2D: FromComponents<UPx> {
    // Provided method
    fn upx(x: impl Into<UPx>, y: impl Into<UPx>) -> Self { ... }
}
Expand description

Constructors for types that are composed of two UPx components.

Provided Methods§

source

fn upx(x: impl Into<UPx>, y: impl Into<UPx>) -> Self

Returns a new value containing the x and y components converted into UPx.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> UPx2D for Twhere T: FromComponents<UPx>,