[−][src]Struct qt_gui::q_painter_path::ElementType
This enum describes the types of elements used to connect vertices in subpaths.
C++ enum: QPainterPath::ElementType
.
This enum describes the types of elements used to connect vertices in subpaths.
Note that elements added as closed subpaths using the addEllipse(), addPath(), addPolygon(), addRect(), addRegion() and addText() convenience functions, is actually added to the path as a collection of separate elements using the moveTo(), lineTo() and cubicTo() functions.
See also elementAt() and elementCount().
Methods
impl ElementType
[src]
impl ElementType
[src]
pub const MoveToElement: ElementType
[src]
A new subpath. See also moveTo(). (C++ enum variant: MoveToElement = 0
)
pub const LineToElement: ElementType
[src]
A line. See also lineTo(). (C++ enum variant: LineToElement = 1
)
pub const CurveToElement: ElementType
[src]
pub const CurveToDataElement: ElementType
[src]
The extra data required to describe a curve in a CurveToElement element. (C++ enum variant: CurveToDataElement = 3
)
Trait Implementations
impl Clone for ElementType
[src]
fn clone(&self) -> ElementType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ElementType
[src]
impl Debug for ElementType
[src]
impl Eq for ElementType
[src]
impl From<ElementType> for c_int
[src]
fn from(value: ElementType) -> Self
[src]
impl From<i32> for ElementType
[src]
impl PartialEq<ElementType> for ElementType
[src]
fn eq(&self, other: &ElementType) -> bool
[src]
fn ne(&self, other: &ElementType) -> bool
[src]
impl StructuralEq for ElementType
[src]
impl StructuralPartialEq for ElementType
[src]
Auto Trait Implementations
impl RefUnwindSafe for ElementType
impl Send for ElementType
impl Sync for ElementType
impl Unpin for ElementType
impl UnwindSafe for ElementType
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>,