pub enum BorderType {
Solid,
Dashed,
Beveled,
Inset,
Underline,
}
Expand description
The kind of line to draw on the border.
Variants§
Solid
A solid line.
Dashed
A dashed line, dash pattern may be specified further elsewhere.
Beveled
A line with a 3D effect.
Inset
A line that makes the rectangle appear depressed.
Underline
A single line at the bottom of the border rectangle.
Trait Implementations§
source§impl Clone for BorderType
impl Clone for BorderType
source§fn clone(&self) -> BorderType
fn clone(&self) -> BorderType
Returns a copy of the value. Read more
1.6.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 BorderType
impl Debug for BorderType
source§impl Hash for BorderType
impl Hash for BorderType
source§impl PartialEq for BorderType
impl PartialEq for BorderType
impl Copy for BorderType
impl Eq for BorderType
impl StructuralPartialEq for BorderType
Auto Trait Implementations§
impl Freeze for BorderType
impl RefUnwindSafe for BorderType
impl Send for BorderType
impl Sync for BorderType
impl Unpin for BorderType
impl UnwindSafe for BorderType
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
)