[][src]Struct qt_core::Edge

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

This enum type specifies an edge in a rectangle:

C++ enum: Qt::Edge.

C++ documentation:

This enum type specifies an edge in a rectangle:

This enum was introduced or modified in Qt 5.1.

The Edges type is a typedef for QFlags<Edge>. It stores an OR combination of Edge values.

Methods

impl Edge[src]

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

impl Edge[src]

pub const TopEdge: Edge[src]

The top edge of the rectangle. (C++ enum variant: TopEdge = 1)

pub const LeftEdge: Edge[src]

The left edge of the rectangle. (C++ enum variant: LeftEdge = 2)

pub const RightEdge: Edge[src]

The right edge of the rectangle. (C++ enum variant: RightEdge = 4)

pub const BottomEdge: Edge[src]

The bottom edge of the rectangle. (C++ enum variant: BottomEdge = 8)

Trait Implementations

impl From<i32> for Edge[src]

impl From<Edge> for c_int[src]

impl From<Edge> for QFlags<Edge>[src]

impl Clone for Edge[src]

impl Copy for Edge[src]

impl Eq for Edge[src]

impl PartialEq<Edge> for Edge[src]

impl Debug for Edge[src]

impl<T: Into<QFlags<Edge>>> BitOr<T> for Edge[src]

type Output = QFlags<Edge>

The resulting type after applying the | operator.

Auto Trait Implementations

impl Send for Edge

impl Sync for Edge

impl Unpin for Edge

impl UnwindSafe for Edge

impl RefUnwindSafe for Edge

Blanket Implementations

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

impl<T> From<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.

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

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

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

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

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]