#[repr(u32)]pub enum BNEdgePenStyle {
NoPen = 0,
SolidLine = 1,
DashLine = 2,
DotLine = 3,
DashDotLine = 4,
DashDotDotLine = 5,
}
Expand description
The following edge styles map to Qt’s Qt::PenStyle enumeration
Variants§
NoPen = 0
no line at all.
SolidLine = 1
A plain line (default)
DashLine = 2
Dashes separated by a few pixels.
DotLine = 3
Dots separated by a few pixels.
DashDotLine = 4
Alternate dots and dashes.
DashDotDotLine = 5
One dash, two dots, one dash, two dots.
Trait Implementations§
source§impl Clone for BNEdgePenStyle
impl Clone for BNEdgePenStyle
source§fn clone(&self) -> BNEdgePenStyle
fn clone(&self) -> BNEdgePenStyle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BNEdgePenStyle
impl Debug for BNEdgePenStyle
source§impl Hash for BNEdgePenStyle
impl Hash for BNEdgePenStyle
source§impl PartialEq for BNEdgePenStyle
impl PartialEq for BNEdgePenStyle
impl Copy for BNEdgePenStyle
impl Eq for BNEdgePenStyle
impl StructuralPartialEq for BNEdgePenStyle
Auto Trait Implementations§
impl Freeze for BNEdgePenStyle
impl RefUnwindSafe for BNEdgePenStyle
impl Send for BNEdgePenStyle
impl Sync for BNEdgePenStyle
impl Unpin for BNEdgePenStyle
impl UnwindSafe for BNEdgePenStyle
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)