Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::DWRITE_FONT_METRICS1[][src]

#[repr(C)]
pub struct DWRITE_FONT_METRICS1 {
Show fields pub __AnonymousBase_DWrite_1_L627_C38: DWRITE_FONT_METRICS, pub glyphBoxLeft: i16, pub glyphBoxTop: i16, pub glyphBoxRight: i16, pub glyphBoxBottom: i16, pub subscriptPositionX: i16, pub subscriptPositionY: i16, pub subscriptSizeX: i16, pub subscriptSizeY: i16, pub superscriptPositionX: i16, pub superscriptPositionY: i16, pub superscriptSizeX: i16, pub superscriptSizeY: i16, pub hasTypographicMetrics: BOOL,
}

Fields

__AnonymousBase_DWrite_1_L627_C38: DWRITE_FONT_METRICSglyphBoxLeft: i16glyphBoxTop: i16glyphBoxRight: i16glyphBoxBottom: i16subscriptPositionX: i16subscriptPositionY: i16subscriptSizeX: i16subscriptSizeY: i16superscriptPositionX: i16superscriptPositionY: i16superscriptSizeX: i16superscriptSizeY: i16hasTypographicMetrics: BOOL

Trait Implementations

The abi representation of the implementing type. Read more

Casts the Rust object to its ABI type without copying the object.

Returns a pointer for setting the object’s value via an ABI call.

Casts the ABI representation to a Rust object by taking ownership of the bits.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.