#![allow(
clippy::too_many_arguments,
clippy::cognitive_complexity,
clippy::wrong_self_convention,
unused_qualifications
)] #[macro_use] mod macros; mod aliases; pubuse aliases::*; mod bitflags; pubuse bitflags::*; #[cfg(feature = "debug")] mod const_debugs; mod constants; pubuse constants::*; mod definitions; pubuse definitions::*; mod enums; pubuse enums::*; mod extensions; pubuse extensions::*; mod feature_extensions; mod features; pubuse features::*; mod prelude; pubuse prelude::*; /// Native bindings from Vulkan headers, generated by bindgen #[allow(clippy::useless_transmute, nonstandard_style)] pubmod native; mod platform_types; pubuse platform_types::*; /// Iterates through the pointer chain. Includes the item that is passed into the function. /// Stops at the last [`BaseOutStructure`] that has a null [`BaseOutStructure::p_next`] field. pub(crate) unsafefn ptr_chain_iter<T: ?Sized>(
ptr: &mut T,
) -> impl Iterator<Item = *mut BaseOutStructure<'_>> { let ptr = <*mut T>::cast::<BaseOutStructure<'_>>(ptr);
(0..).scan(ptr, |p_ptr, _| { if p_ptr.is_null() { return None;
} let n_ptr = (**p_ptr).p_next; let old = *p_ptr;
*p_ptr = n_ptr;
Some(old)
})
} pubtrait Handle: Sized { constTYPE: ObjectType; fn as_raw(self) -> u64; fn from_raw(_: u64) -> Self;
/// Returns whether the handle is a `NULL` value. /// /// # Example /// /// ``` /// # use ash::vk::{Handle, Instance}; /// let instance = Instance::null(); /// assert!(instance.is_null()); /// ``` fn is_null(self) -> bool { self.as_raw() == 0
}
}
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.14Bemerkung:
(vorverarbeitet am 2026-06-18)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.