[][src]Enum fltk::enums::FrameType

#[repr(i32)]pub enum FrameType {
    NoBox,
    FlatBox,
    UpBox,
    DownBox,
    UpFrame,
    DownFrame,
    ThinUpBox,
    ThinDownBox,
    ThinUpFrame,
    ThinDownFrame,
    EngraveBox,
    EmbossedBox,
    EngravedFrame,
    EmbossedFrame,
    BorderBox,
    ShadowBox,
    BorderFrame,
    ShadowFrame,
    RoundedBox,
    RShadowBox,
    RoundedFrame,
    RFlatBox,
    RoundUpBox,
    RoundDownBox,
    DiamondUpBox,
    DiamondDownBox,
    OvalBox,
    OShadowBox,
    OvalFrame,
    OFlatFrame,
    PlasticUpBox,
    PlasticDownBox,
    PlasticUpFrame,
    PlasticDownFrame,
    PlasticThinUpBox,
    PlasticThinDownBox,
    PlasticRoundUpBox,
    PlasticRoundDownBox,
    GtkUpBox,
    GtkDownBox,
    GtkUpFrame,
    GtkDownFrame,
    GtkThinUpBox,
    GtkThinDownBox,
    GtkThinUpFrame,
    GtkThinDownFrame,
    GtkRoundUpFrame,
    GtkRoundDownFrame,
    GleamUpBox,
    GleamDownBox,
    GleamUpFrame,
    GleamDownFrame,
    GleamThinUpBox,
    GleamThinDownBox,
    GleamRoundUpBox,
    GleamRoundDownBox,
    FreeBoxType,
}

Defines the frame type, which can be set using the set_type() method

Variants

NoBox
FlatBox
UpBox
DownBox
UpFrame
DownFrame
ThinUpBox
ThinDownBox
ThinUpFrame
ThinDownFrame
EngraveBox
EmbossedBox
EngravedFrame
EmbossedFrame
BorderBox
ShadowBox
BorderFrame
ShadowFrame
RoundedBox
RShadowBox
RoundedFrame
RFlatBox
RoundUpBox
RoundDownBox
DiamondUpBox
DiamondDownBox
OvalBox
OShadowBox
OvalFrame
OFlatFrame
PlasticUpBox
PlasticDownBox
PlasticUpFrame
PlasticDownFrame
PlasticThinUpBox
PlasticThinDownBox
PlasticRoundUpBox
PlasticRoundDownBox
GtkUpBox
GtkDownBox
GtkUpFrame
GtkDownFrame
GtkThinUpBox
GtkThinDownBox
GtkThinUpFrame
GtkThinDownFrame
GtkRoundUpFrame
GtkRoundDownFrame
GleamUpBox
GleamDownBox
GleamUpFrame
GleamDownFrame
GleamThinUpBox
GleamThinDownBox
GleamRoundUpBox
GleamRoundDownBox
FreeBoxType

Implementations

impl FrameType[src]

pub fn by_index(idx: usize) -> FrameType[src]

Gets the Frame type by index

Trait Implementations

impl Clone for FrameType[src]

impl Copy for FrameType[src]

impl Debug for FrameType[src]

impl PartialEq<FrameType> for FrameType[src]

impl StructuralPartialEq for FrameType[src]

Auto Trait Implementations

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, 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.