pub struct VulkanRendererOptions {
pub enable_debug_labels: bool,
}Expand description
Renderer configuration retained for the renderer lifetime.
§Examples
use ailloli_ui_render_vulkan::VulkanRendererOptions;
let options = VulkanRendererOptions::default();
assert!(!options.enable_debug_labels);Fields§
§enable_debug_labels: boolReserved debug-label switch; currently stored but does not record labels.
Trait Implementations§
Source§impl Clone for VulkanRendererOptions
impl Clone for VulkanRendererOptions
Source§fn clone(&self) -> VulkanRendererOptions
fn clone(&self) -> VulkanRendererOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VulkanRendererOptions
impl Debug for VulkanRendererOptions
Source§impl Default for VulkanRendererOptions
Conservative defaults that avoid optional debug instrumentation.
impl Default for VulkanRendererOptions
Conservative defaults that avoid optional debug instrumentation.
impl Copy for VulkanRendererOptions
Auto Trait Implementations§
impl Freeze for VulkanRendererOptions
impl RefUnwindSafe for VulkanRendererOptions
impl Send for VulkanRendererOptions
impl Sync for VulkanRendererOptions
impl Unpin for VulkanRendererOptions
impl UnwindSafe for VulkanRendererOptions
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§impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
Source§fn into_click_action(self) -> ClickAction<A>
fn into_click_action(self) -> ClickAction<A>
Implements the into_click_action helper used by this module.