Enum cursive::theme::BorderStyle [−][src]
pub enum BorderStyle { Simple, Outset, None, }
Specifies how some borders should be drawn.
Borders are used around Dialogs, select popups, and panels.
Variants
Simple
Simple borders.
Outset
Outset borders with a simple 3d effect.
None
No borders.
Trait Implementations
impl Clone for BorderStyle
[src]
impl Clone for BorderStyle
fn clone(&self) -> BorderStyle
[src]
fn clone(&self) -> BorderStyle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for BorderStyle
[src]
impl Copy for BorderStyle
impl Debug for BorderStyle
[src]
impl Debug for BorderStyle
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for BorderStyle
[src]
impl PartialEq for BorderStyle
fn eq(&self, other: &BorderStyle) -> bool
[src]
fn eq(&self, other: &BorderStyle) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for BorderStyle
[src]
impl Eq for BorderStyle
impl Hash for BorderStyle
[src]
impl Hash for BorderStyle
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl<S: Deref<Target = String>> From<S> for BorderStyle
[src]
impl<S: Deref<Target = String>> From<S> for BorderStyle
Auto Trait Implementations
impl Send for BorderStyle
impl Send for BorderStyle
impl Sync for BorderStyle
impl Sync for BorderStyle