Skip to main content

HiiImageExProtocol

Struct HiiImageExProtocol 

Source
#[repr(C)]
pub struct HiiImageExProtocol { pub new_image_ex: unsafe extern "efiapi" fn(this: *const Self, package_list: HiiHandle, image_id: *mut ImageId, image: *const ImageInput) -> Status, pub get_image_ex: unsafe extern "efiapi" fn(this: *const Self, package_list: HiiHandle, image_id: ImageId, image: *mut ImageInput) -> Status, pub set_image_ex: unsafe extern "efiapi" fn(this: *const Self, package_list: HiiHandle, image_id: ImageId, image: *const ImageInput) -> Status, pub draw_image_ex: unsafe extern "efiapi" fn(this: *const Self, flags: HiiDrawFlags, image: *const ImageInput, blt: *mut *mut ImageOutput, blt_x: usize, blt_y: usize) -> Status, pub draw_image_id_ex: unsafe extern "efiapi" fn(this: *const Self, flags: HiiDrawFlags, package_list: HiiHandle, image_id: ImageId, blt: *mut *mut ImageOutput, blt_x: usize, blt_y: usize) -> Status, pub get_image_info: unsafe extern "efiapi" fn(this: *const Self, package_list: HiiHandle, image_id: ImageId, image: *mut ImageOutput) -> Status, }
Expand description

EFI_HII_IMAGE_EX_PROTOCOL

Fields§

§new_image_ex: unsafe extern "efiapi" fn(this: *const Self, package_list: HiiHandle, image_id: *mut ImageId, image: *const ImageInput) -> Status§get_image_ex: unsafe extern "efiapi" fn(this: *const Self, package_list: HiiHandle, image_id: ImageId, image: *mut ImageInput) -> Status§set_image_ex: unsafe extern "efiapi" fn(this: *const Self, package_list: HiiHandle, image_id: ImageId, image: *const ImageInput) -> Status§draw_image_ex: unsafe extern "efiapi" fn(this: *const Self, flags: HiiDrawFlags, image: *const ImageInput, blt: *mut *mut ImageOutput, blt_x: usize, blt_y: usize) -> Status§draw_image_id_ex: unsafe extern "efiapi" fn(this: *const Self, flags: HiiDrawFlags, package_list: HiiHandle, image_id: ImageId, blt: *mut *mut ImageOutput, blt_x: usize, blt_y: usize) -> Status§get_image_info: unsafe extern "efiapi" fn(this: *const Self, package_list: HiiHandle, image_id: ImageId, image: *mut ImageOutput) -> Status

Implementations§

Trait Implementations§

Source§

impl Debug for HiiImageExProtocol

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for HiiImageExProtocol

§

impl RefUnwindSafe for HiiImageExProtocol

§

impl Send for HiiImageExProtocol

§

impl Sync for HiiImageExProtocol

§

impl Unpin for HiiImageExProtocol

§

impl UnsafeUnpin for HiiImageExProtocol

§

impl UnwindSafe for HiiImageExProtocol

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.