Enum native_windows_gui::ParaLineSpacing[][src]

pub enum ParaLineSpacing {
    Single,
    OneAndHalf,
    Double,
    SingleOr(i32),
    Exact(i32),
    Exact20(i32),
}
Expand description

Type of line spacing

Variants

Single

Single spacing.

OneAndHalf

One-and-a-half spacing.

Double

Double spacing.

SingleOr(i32)

Value in twips (twentieth of a point). If the value specifies a value that is less than single spacing, the control displays single-spaced text

Exact(i32)

Value in twips (twentieth of a point). The control uses the exact spacing specified, even if dyLineSpacing specifies a value that is less than single spacing.

Exact20(i32)

The value of value / 20 is the spacing, in lines, from one line to the next. 20 produces single-spaced text, 40 is double spaced, 60 is triple spaced, and so on.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.