[][src]Enum gtk::BorderStyle

#[non_exhaustive]pub enum BorderStyle {
    None,
    Solid,
    Inset,
    Outset,
    Hidden,
    Dotted,
    Dashed,
    Double,
    Groove,
    Ridge,
    // some variants omitted
}

Describes how the border of a UI element should be rendered.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None

No visible border

Solid

A single line segment

Inset

Looks as if the content is sunken into the canvas

Outset

Looks as if the content is coming out of the canvas

Hidden

Same as BorderStyle::None

Dotted

A series of round dots

Dashed

A series of square-ended dashes

Double

Two parallel lines with some space between them

Groove

Looks as if it were carved in the canvas

Ridge

Looks as if it were coming out of the canvas

Trait Implementations

impl Clone for BorderStyle[src]

impl Copy for BorderStyle[src]

impl Debug for BorderStyle[src]

impl Display for BorderStyle[src]

impl Eq for BorderStyle[src]

impl<'a> FromValue<'a> for BorderStyle[src]

impl<'a> FromValueOptional<'a> for BorderStyle[src]

impl Hash for BorderStyle[src]

impl Ord for BorderStyle[src]

impl PartialEq<BorderStyle> for BorderStyle[src]

impl PartialOrd<BorderStyle> for BorderStyle[src]

impl SetValue for BorderStyle[src]

impl StaticType for BorderStyle[src]

impl StructuralEq for BorderStyle[src]

impl StructuralPartialEq for BorderStyle[src]

Auto Trait Implementations

impl RefUnwindSafe for BorderStyle

impl Send for BorderStyle

impl Sync for BorderStyle

impl Unpin for BorderStyle

impl UnwindSafe for BorderStyle

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.