1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
// dacho/src/renderer/setup/entry.rs // crates use anyhow::Result; // crate use crate::create_log; pub struct Entry { pub raw: ash::Entry } impl Entry { pub fn new() -> Result<Self> { create_log!(debug); let raw = unsafe { ash::Entry::load() }?; Ok(Self { raw }) } }