Struct ash::vk::definitions::LayerSettingEXT
source · #[repr(C)]pub struct LayerSettingEXT<'a> {
pub p_layer_name: *const c_char,
pub p_setting_name: *const c_char,
pub ty: LayerSettingTypeEXT,
pub value_count: u32,
pub p_values: *const c_void,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§p_layer_name: *const c_char
§p_setting_name: *const c_char
§ty: LayerSettingTypeEXT
§value_count: u32
§p_values: *const c_void
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> LayerSettingEXT<'a>
impl<'a> LayerSettingEXT<'a>
pub fn layer_name(self, layer_name: &'a CStr) -> Self
pub unsafe fn layer_name_as_c_str(&self) -> Option<&CStr>
pub fn setting_name(self, setting_name: &'a CStr) -> Self
pub unsafe fn setting_name_as_c_str(&self) -> Option<&CStr>
pub fn ty(self, ty: LayerSettingTypeEXT) -> Self
pub fn values(self, values: &'a [u8]) -> Self
Trait Implementations§
source§impl<'a> Clone for LayerSettingEXT<'a>
impl<'a> Clone for LayerSettingEXT<'a>
source§fn clone(&self) -> LayerSettingEXT<'a>
fn clone(&self) -> LayerSettingEXT<'a>
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<'a> Debug for LayerSettingEXT<'a>
impl<'a> Debug for LayerSettingEXT<'a>
source§impl Default for LayerSettingEXT<'_>
impl Default for LayerSettingEXT<'_>
impl<'a> Copy for LayerSettingEXT<'a>
impl Send for LayerSettingEXT<'_>
impl Sync for LayerSettingEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for LayerSettingEXT<'a>
impl<'a> RefUnwindSafe for LayerSettingEXT<'a>
impl<'a> Unpin for LayerSettingEXT<'a>
impl<'a> UnwindSafe for LayerSettingEXT<'a>
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