pub enum BezelStyle {
Show 14 variants Circular, Disclosure, HelpButton, Inline, Recessed, RegularSquare, RoundRect, Rounded, RoundedDisclosure, ShadowlessSquare, SmallSquare, TexturedRounded, TexturedSquare, Unknown(NSUInteger),
}
Expand description

Represents a bezel style for a button. This is a macOS-specific control, and has no effect under iOS or tvOS.

Variants

Circular

A standard circular button.

Disclosure

A standard disclosure style button.

HelpButton

The standard looking “Help” (?) button.

Inline

An inline style, varies across OS’s.

Recessed

A recessed style, varies slightly across OS’s.

RegularSquare

A regular square style, with no special styling.

RoundRect

A standard rounded rectangle.

Rounded

A standard rounded button.

RoundedDisclosure

A standard rounded disclosure button.

ShadowlessSquare

A shadowless square styl.e

SmallSquare

A small square style.

TexturedRounded

A textured rounded style.

TexturedSquare

A textured square style.

Unknown(NSUInteger)

Any style that’s not known by this framework (e.g, if Apple introduces something new).

Trait Implementations

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.