pub struct Bgrt {
pub version: u16,
pub image_address: u64,
/* private fields */
}Expand description
The BGRT table contains information about a boot graphic that was displayed by firmware.
Fields§
§version: u16§image_address: u64Implementations§
Source§impl Bgrt
impl Bgrt
pub fn image_type(&self) -> ImageType
Sourcepub fn orientation_offset(&self) -> u16
pub fn orientation_offset(&self) -> u16
Gets the orientation offset of the image. Degrees are clockwise from the images default orientation.
pub fn was_displayed(&self) -> bool
pub fn image_offset(&self) -> (u32, u32)
Trait Implementations§
impl Copy for Bgrt
Auto Trait Implementations§
impl Freeze for Bgrt
impl RefUnwindSafe for Bgrt
impl Send for Bgrt
impl Sync for Bgrt
impl Unpin for Bgrt
impl UnwindSafe for Bgrt
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)