#[repr(C)]pub struct DebugMarkerMarkerInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub p_marker_name: *const i8,
pub color: [f32; 4],
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§p_marker_name: *const i8§color: [f32; 4]§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> DebugMarkerMarkerInfoEXT<'a>
impl<'a> DebugMarkerMarkerInfoEXT<'a>
pub fn marker_name(self, marker_name: &'a CStr) -> DebugMarkerMarkerInfoEXT<'a>
pub unsafe fn marker_name_as_c_str(&self) -> Option<&CStr>
pub fn color(self, color: [f32; 4]) -> DebugMarkerMarkerInfoEXT<'a>
Trait Implementations§
Source§impl<'a> Clone for DebugMarkerMarkerInfoEXT<'a>
impl<'a> Clone for DebugMarkerMarkerInfoEXT<'a>
Source§fn clone(&self) -> DebugMarkerMarkerInfoEXT<'a>
fn clone(&self) -> DebugMarkerMarkerInfoEXT<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for DebugMarkerMarkerInfoEXT<'a>
Source§impl Default for DebugMarkerMarkerInfoEXT<'_>
impl Default for DebugMarkerMarkerInfoEXT<'_>
Source§fn default() -> DebugMarkerMarkerInfoEXT<'_>
fn default() -> DebugMarkerMarkerInfoEXT<'_>
Returns the “default value” for a type. Read more
impl Send for DebugMarkerMarkerInfoEXT<'_>
impl Sync for DebugMarkerMarkerInfoEXT<'_>
Source§impl<'a> TaggedStructure for DebugMarkerMarkerInfoEXT<'a>
impl<'a> TaggedStructure for DebugMarkerMarkerInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::DEBUG_MARKER_MARKER_INFO_EXT
Auto Trait Implementations§
impl<'a> Freeze for DebugMarkerMarkerInfoEXT<'a>
impl<'a> RefUnwindSafe for DebugMarkerMarkerInfoEXT<'a>
impl<'a> Unpin for DebugMarkerMarkerInfoEXT<'a>
impl<'a> UnsafeUnpin for DebugMarkerMarkerInfoEXT<'a>
impl<'a> UnwindSafe for DebugMarkerMarkerInfoEXT<'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