[][src]Struct qt_gui::q_font::SpacingType

#[repr(transparent)]
pub struct SpacingType(_);

This enum was introduced or modified in Qt 4.4.

C++ enum: QFont::SpacingType.

C++ documentation:

This enum was introduced or modified in Qt 4.4.

Methods

impl SpacingType[src]

pub fn to_int(&self) -> c_int[src]

impl SpacingType[src]

pub const PercentageSpacing: SpacingType[src]

A value of 100 will keep the spacing unchanged; a value of 200 will enlarge the spacing after a character by the width of the character itself. (C++ enum variant: PercentageSpacing = 0)

pub const AbsoluteSpacing: SpacingType[src]

A positive value increases the letter spacing by the corresponding pixels; a negative value decreases the spacing. (C++ enum variant: AbsoluteSpacing = 1)

Trait Implementations

impl Clone for SpacingType[src]

impl Copy for SpacingType[src]

impl Debug for SpacingType[src]

impl Eq for SpacingType[src]

impl From<SpacingType> for c_int[src]

impl From<i32> for SpacingType[src]

impl PartialEq<SpacingType> for SpacingType[src]

impl StructuralEq for SpacingType[src]

impl StructuralPartialEq for SpacingType[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, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

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

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

impl<T> StaticUpcast<T> for 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.