#[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: u64
Physical memory address.
width: u32
Pixel layout and format.
height: u32
§stride: u32
§format: PixelFormat
Trait 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)