Struct pilka_dyn::winit::winit::platform::unix::x11::util::AaRect[]

pub struct AaRect { /* fields omitted */ }

Implementations

impl AaRect

pub fn new((i32, i32), (u32, u32)) -> AaRect

pub fn contains_point(&self, x: i64, y: i64) -> bool

pub fn get_overlapping_area(&self, other: &AaRect) -> i64

Trait Implementations

impl Clone for AaRect

impl Debug for AaRect

impl Eq for AaRect

impl PartialEq<AaRect> for AaRect

impl StructuralEq for AaRect

impl StructuralPartialEq for AaRect

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.