#[repr(C)]pub struct LayerSettingEXT<'a> {
pub p_layer_name: *const i8,
pub p_setting_name: *const i8,
pub ty: LayerSettingTypeEXT,
pub value_count: u32,
pub p_values: *const c_void,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§p_layer_name: *const i8§p_setting_name: *const i8§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) -> LayerSettingEXT<'a>
pub unsafe fn layer_name_as_c_str(&self) -> Option<&CStr>
pub fn setting_name(self, setting_name: &'a CStr) -> LayerSettingEXT<'a>
pub unsafe fn setting_name_as_c_str(&self) -> Option<&CStr>
pub fn ty(self, ty: LayerSettingTypeEXT) -> LayerSettingEXT<'a>
pub fn values(self, values: &'a [u8]) -> LayerSettingEXT<'a>
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 duplicate of the value. Read more
1.0.0§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<'_>
Source§fn default() -> LayerSettingEXT<'_>
fn default() -> LayerSettingEXT<'_>
Returns the “default value” for a type. Read more
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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)