[−][src]Struct qt_core::PenStyle
This enum type defines the pen styles that can be drawn using QPainter. The styles are:
C++ enum: Qt::PenStyle
.
Methods
impl PenStyle
[src]
impl PenStyle
[src]
pub const NoPen: PenStyle
[src]
no line at all. For example, QPainter::drawRect() fills but does not draw any boundary line. (C++ enum variant: NoPen = 0
)
pub const SolidLine: PenStyle
[src]
A plain line. (C++ enum variant: SolidLine = 1
)
pub const DashLine: PenStyle
[src]
Dashes separated by a few pixels. (C++ enum variant: DashLine = 2
)
pub const DotLine: PenStyle
[src]
Dots separated by a few pixels. (C++ enum variant: DotLine = 3
)
pub const DashDotLine: PenStyle
[src]
Alternate dots and dashes. (C++ enum variant: DashDotLine = 4
)
pub const DashDotDotLine: PenStyle
[src]
One dash, two dots, one dash, two dots. (C++ enum variant: DashDotDotLine = 5
)
pub const CustomDashLine: PenStyle
[src]
A custom pattern defined using QPainterPathStroker::setDashPattern(). (C++ enum variant: CustomDashLine = 6
)
pub const MPenStyle: PenStyle
[src]
C++ enum variant: MPenStyle = 15
Trait Implementations
impl Clone for PenStyle
[src]
impl Copy for PenStyle
[src]
impl Debug for PenStyle
[src]
impl Eq for PenStyle
[src]
impl From<PenStyle> for c_int
[src]
impl From<i32> for PenStyle
[src]
impl PartialEq<PenStyle> for PenStyle
[src]
impl StructuralEq for PenStyle
[src]
impl StructuralPartialEq for PenStyle
[src]
Auto Trait Implementations
impl RefUnwindSafe for PenStyle
impl Send for PenStyle
impl Sync for PenStyle
impl Unpin for PenStyle
impl UnwindSafe for PenStyle
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>,