Enum gtk4::BorderStyle [−][src]
#[non_exhaustive]
pub enum BorderStyle {
None,
Hidden,
Solid,
Inset,
Outset,
Dotted,
Dashed,
Double,
Groove,
Ridge,
// some variants omitted
}
Expand description
Describes how the border of a UI element should be rendered.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
No visible border
Same as None
A single line segment
Looks as if the content is sunken into the canvas
Looks as if the content is coming out of the canvas
A series of round dots
A series of square-ended dashes
Two parallel lines with some space between them
Looks as if it were carved in the canvas
Looks as if it were coming out of the canvas
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
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
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.