Skip to main content

HiiFontExProtocol

Struct HiiFontExProtocol 

Source
#[repr(C)]
pub struct HiiFontExProtocol { pub string_to_image_ex: unsafe extern "efiapi" fn(this: *const Self, flags: HiiOutFlags, string: *const Char16, string_info: *const FontDisplayInfo, blt: *mut *mut ImageOutput, blt_x: usize, blt_y: usize, row_info_array: *mut *mut HiiRowInfo, row_info_array_size: *mut usize, column_info_array: *mut usize) -> Status, pub string_id_to_image_ex: unsafe extern "efiapi" fn(this: *const Self, flags: HiiOutFlags, package_list: HiiHandle, string_id: StringId, language: *const Char8, string_info: *const FontDisplayInfo, blt: *mut *mut ImageOutput, blt_x: usize, blt_y: usize, row_info_array: *mut *mut HiiRowInfo, row_info_array_size: *mut usize, column_info_array: *mut usize) -> Status, pub get_glyph_ex: unsafe extern "efiapi" fn(this: *const Self, char: Char16, string_info: *const FontDisplayInfo, blt: *mut *mut ImageOutput, baseline: *mut usize) -> Status, pub get_font_info_ex: unsafe extern "efiapi" fn(this: *const Self, font_handle: *mut FontHandle, string_info_in: *const FontDisplayInfo, string_info_out: *mut *mut FontDisplayInfo, string: *const Char16) -> Status, pub get_glyph_info: unsafe extern "efiapi" fn(this: *const Self, char: Char16, font_display_info: *const FontDisplayInfo, glyph_info: *mut HiiGlyphInfo) -> Status, }
Expand description

EFI_HII_FONT_EX_PROTOCOL

Fields§

§string_to_image_ex: unsafe extern "efiapi" fn(this: *const Self, flags: HiiOutFlags, string: *const Char16, string_info: *const FontDisplayInfo, blt: *mut *mut ImageOutput, blt_x: usize, blt_y: usize, row_info_array: *mut *mut HiiRowInfo, row_info_array_size: *mut usize, column_info_array: *mut usize) -> Status§string_id_to_image_ex: unsafe extern "efiapi" fn(this: *const Self, flags: HiiOutFlags, package_list: HiiHandle, string_id: StringId, language: *const Char8, string_info: *const FontDisplayInfo, blt: *mut *mut ImageOutput, blt_x: usize, blt_y: usize, row_info_array: *mut *mut HiiRowInfo, row_info_array_size: *mut usize, column_info_array: *mut usize) -> Status§get_glyph_ex: unsafe extern "efiapi" fn(this: *const Self, char: Char16, string_info: *const FontDisplayInfo, blt: *mut *mut ImageOutput, baseline: *mut usize) -> Status§get_font_info_ex: unsafe extern "efiapi" fn(this: *const Self, font_handle: *mut FontHandle, string_info_in: *const FontDisplayInfo, string_info_out: *mut *mut FontDisplayInfo, string: *const Char16) -> Status§get_glyph_info: unsafe extern "efiapi" fn(this: *const Self, char: Char16, font_display_info: *const FontDisplayInfo, glyph_info: *mut HiiGlyphInfo) -> Status

Implementations§

Trait Implementations§

Source§

impl Debug for HiiFontExProtocol

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for HiiFontExProtocol

§

impl RefUnwindSafe for HiiFontExProtocol

§

impl Send for HiiFontExProtocol

§

impl Sync for HiiFontExProtocol

§

impl Unpin for HiiFontExProtocol

§

impl UnsafeUnpin for HiiFontExProtocol

§

impl UnwindSafe for HiiFontExProtocol

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.