#[repr(C)]
pub struct _Result_TranslationTextBufferHeader { pub bufferSize: size_t, pub numberEntries: size_t, pub targetLanguages: *mut *mut c_char, pub translationTexts: *mut *mut c_char, }
Expand description
Defines the header of the buffer that returns translation text results. The buffer starts with the header whose structure is defined below, and then follows the translation results for all required languages.

Fields

bufferSize: size_t
The total size of the buffer, including translation results.
numberEntries: size_t
The number of target languages. This indicates the array size of targetLanguages and translationTexts.
targetLanguages: *mut *mut c_char
Points to an array of target language names. The size of the array is numberEntries.
translationTexts: *mut *mut c_char
Points to an array of translation texts. The element in the array is the translation text of the target language which has the same index in targetLanguages.

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

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 resulting type after obtaining ownership.

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

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.