MCPcopy Create free account
hub / github.com/Ruddle/Fomos / default

Method default

bootloader/kernel/src/drivers/virtio_gpu.rs:653–662  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

651
652impl Default for VirtioGpuCtrlHdr {
653 fn default() -> Self {
654 Self {
655 type_: VirtioGpuCtrlType::VirtioGpuCmdGetDisplayInfo,
656 flags: 0,
657 fence_id: 0,
658 ctx_id: 0,
659 ring_idx: 0,
660 padding: [0, 0, 0],
661 }
662 }
663}
664
665#[repr(C)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected