[][src]Struct qt_gui::q_region::RegionType

#[repr(transparent)]
pub struct RegionType(_);

Specifies the shape of the region to be created.

C++ enum: QRegion::RegionType.

C++ documentation:

Specifies the shape of the region to be created.

Methods

impl RegionType[src]

pub fn to_int(&self) -> c_int[src]

impl RegionType[src]

pub const Rectangle: RegionType[src]

the region covers the entire rectangle. (C++ enum variant: Rectangle = 0)

pub const Ellipse: RegionType[src]

the region is an ellipse inside the rectangle. (C++ enum variant: Ellipse = 1)

Trait Implementations

impl Clone for RegionType[src]

impl Copy for RegionType[src]

impl Debug for RegionType[src]

impl Eq for RegionType[src]

impl From<RegionType> for c_int[src]

impl From<i32> for RegionType[src]

impl PartialEq<RegionType> for RegionType[src]

impl StructuralEq for RegionType[src]

impl StructuralPartialEq for RegionType[src]

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, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

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

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

impl<T> StaticUpcast<T> for 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.