[−][src]Struct qt_core::AnchorPoint
Specifies a side of a layout item that can be anchored. This is used by QGraphicsAnchorLayout.
C++ enum: Qt::AnchorPoint
.
Specifies a side of a layout item that can be anchored. This is used by QGraphicsAnchorLayout.
See also QGraphicsAnchorLayout.
Methods
impl AnchorPoint
[src]
impl AnchorPoint
[src]
pub const AnchorLeft: AnchorPoint
[src]
The left side of a layout item. (C++ enum variant: AnchorLeft = 0
)
pub const AnchorHorizontalCenter: AnchorPoint
[src]
A "virtual" side that is centered between the left and the right side of a layout item. (C++ enum variant: AnchorHorizontalCenter = 1
)
pub const AnchorRight: AnchorPoint
[src]
The right side of a layout item. (C++ enum variant: AnchorRight = 2
)
pub const AnchorTop: AnchorPoint
[src]
The top side of a layout item. (C++ enum variant: AnchorTop = 3
)
pub const AnchorVerticalCenter: AnchorPoint
[src]
A "virtual" side that is centered between the top and the bottom side of a layout item. (C++ enum variant: AnchorVerticalCenter = 4
)
pub const AnchorBottom: AnchorPoint
[src]
The bottom side of a layout item. (C++ enum variant: AnchorBottom = 5
)
Trait Implementations
impl Clone for AnchorPoint
[src]
fn clone(&self) -> AnchorPoint
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AnchorPoint
[src]
impl Debug for AnchorPoint
[src]
impl Eq for AnchorPoint
[src]
impl From<AnchorPoint> for c_int
[src]
fn from(value: AnchorPoint) -> Self
[src]
impl From<i32> for AnchorPoint
[src]
impl PartialEq<AnchorPoint> for AnchorPoint
[src]
fn eq(&self, other: &AnchorPoint) -> bool
[src]
fn ne(&self, other: &AnchorPoint) -> bool
[src]
impl StructuralEq for AnchorPoint
[src]
impl StructuralPartialEq for AnchorPoint
[src]
Auto Trait Implementations
impl RefUnwindSafe for AnchorPoint
impl Send for AnchorPoint
impl Sync for AnchorPoint
impl Unpin for AnchorPoint
impl UnwindSafe for AnchorPoint
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]
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>,