Enum otter_api_tests::geometry::RegionC[]

pub enum RegionC<T> where
    T: Copy
{ Rect(RectC<T>), }

Variants

Rect(RectC<T>)

Implementations

impl<T> RegionC<T> where
    T: Copy

pub fn contains(&self, pos: PosC<T>) -> bool where
    T: PartialOrd<T>, 

pub fn overlaps(&self, other: &RegionC<T>) -> bool where
    T: PartialOrd<T>, 

pub fn empty() -> RegionC<T> where
    T: Copy + Zero + One

Trait Implementations

impl<T> Clone for RegionC<T> where
    T: Clone + Copy

impl<T> Debug for RegionC<T> where
    T: Debug + Copy

impl<'de, T> Deserialize<'de> for RegionC<T> where
    T: Copy + Deserialize<'de>, 

impl<T> Eq for RegionC<T> where
    T: Eq + Copy

impl<T> Ord for RegionC<T> where
    T: Ord + Copy

impl<T> PartialEq<RegionC<T>> for RegionC<T> where
    T: PartialEq<T> + Copy

impl<T> PartialOrd<RegionC<T>> for RegionC<T> where
    T: PartialOrd<T> + Copy

impl<T> Serialize for RegionC<T> where
    T: Copy + Serialize

impl<T> StructuralEq for RegionC<T> where
    T: Copy

impl<T> StructuralPartialEq for RegionC<T> where
    T: Copy

Auto Trait Implementations

impl<T> RefUnwindSafe for RegionC<T> where
    T: RefUnwindSafe

impl<T> Send for RegionC<T> where
    T: Send

impl<T> Sync for RegionC<T> where
    T: Sync

impl<T> Unpin for RegionC<T> where
    T: Unpin

impl<T> UnwindSafe for RegionC<T> where
    T: UnwindSafe

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<A> DynCastExt for A

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

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

impl<T> OrdExt<T> for T where
    T: Ord + Clone
[src]

impl<T> Serialize for T where
    T: Serialize + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,