[−][src]Struct qt_core::Edge
This enum type specifies an edge in a rectangle:
C++ enum: Qt::Edge
.
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]
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<T: Into<QFlags<Edge>>> BitOr<T> for Edge
[src]
type Output = QFlags<Edge>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<Edge>
[src]
impl Clone for Edge
[src]
impl Copy for Edge
[src]
impl Debug for Edge
[src]
impl Eq for Edge
[src]
impl From<Edge> for c_int
[src]
impl From<Edge> for QFlags<Edge>
[src]
impl From<i32> for Edge
[src]
impl PartialEq<Edge> for Edge
[src]
impl StructuralEq for Edge
[src]
impl StructuralPartialEq for Edge
[src]
Auto Trait Implementations
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,