#[repr(C)]pub struct Swfb {
pub base: u64,
pub width: u32,
pub height: u32,
pub stride: u32,
pub format: PixelFormat,
}Expand description
ZBI_TYPE_FRAMEBUFFER payload.
Fields§
§base: u64Physical memory address.
width: u32Pixel layout and format.
height: u32§stride: u32§format: PixelFormatTrait Implementations§
impl Copy for Swfb
impl Eq for Swfb
impl IntoBytes for Swfb
impl StructuralPartialEq for Swfb
Auto Trait Implementations§
impl Freeze for Swfb
impl RefUnwindSafe for Swfb
impl Send for Swfb
impl Sync for Swfb
impl Unpin for Swfb
impl UnwindSafe for Swfb
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more