Type Alias FRect

Source
pub type FRect = Rect<Float>;

Aliased Type§

pub struct FRect {
    pub point: Point<f32>,
    pub size: Size<f32>,
}

Fields§

§point: Point<f32>§size: Size<f32>

Trait Implementations§

Source§

impl From<D2D_RECT_F> for FRect

Source§

fn from(rect: D2D_RECT_F) -> Self

Converts to this type from the input type.
Source§

impl From<Rect<i32>> for FRect

Source§

fn from(rect: IRect) -> Self

Converts to this type from the input type.