#[repr(C)]pub struct ProfilingSample {
pub m_cmd: CommandBuffer,
pub m_name: Il2CppString,
pub m_disposed: bool,
pub m_sampler: CustomSampler,
}Expand description
Fields§
§m_cmd: CommandBuffer§m_name: Il2CppString§m_disposed: bool§m_sampler: CustomSamplerImplementations§
Source§impl ProfilingSample
impl ProfilingSample
Sourcepub fn ctor(
&mut self,
cmd: impl Into<CommandBuffer>,
name: impl Into<Il2CppString>,
sampler: impl Into<CustomSampler>,
)
pub fn ctor( &mut self, cmd: impl Into<CommandBuffer>, name: impl Into<Il2CppString>, sampler: impl Into<CustomSampler>, )
.ctor(crate::unity_engine::rendering::commandbuffer::CommandBuffer, ::unity::Il2CppString, crate::unity_engine::profiling::customsampler::CustomSampler) overload
Sourcepub fn ctor_2(
&mut self,
cmd: impl Into<CommandBuffer>,
format: impl Into<Il2CppString>,
arg: impl Into<Object>,
)
pub fn ctor_2( &mut self, cmd: impl Into<CommandBuffer>, format: impl Into<Il2CppString>, arg: impl Into<Object>, )
.ctor(crate::unity_engine::rendering::commandbuffer::CommandBuffer, ::unity::Il2CppString, crate::system::object::Object) overload
Sourcepub fn ctor_3(
&mut self,
cmd: impl Into<CommandBuffer>,
format: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
)
pub fn ctor_3( &mut self, cmd: impl Into<CommandBuffer>, format: impl Into<Il2CppString>, args: impl Into<Array<Object>>, )
.ctor(crate::unity_engine::rendering::commandbuffer::CommandBuffer, ::unity::Il2CppString, ::unity::Array<crate::system::object::Object>) overload
Source§impl ProfilingSample
impl ProfilingSample
pub fn ctor_method_info() -> &'static MethodInfo
pub fn ctor_2_method_info() -> &'static MethodInfo
pub fn ctor_3_method_info() -> &'static MethodInfo
pub fn dispose_method_info() -> &'static MethodInfo
pub fn dispose_2_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for ProfilingSample
impl ClassIdentity for ProfilingSample
Source§impl Clone for ProfilingSample
impl Clone for ProfilingSample
Source§fn clone(&self) -> ProfilingSample
fn clone(&self) -> ProfilingSample
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 moreimpl Copy for ProfilingSample
Auto Trait Implementations§
impl Freeze for ProfilingSample
impl RefUnwindSafe for ProfilingSample
impl !Send for ProfilingSample
impl !Sync for ProfilingSample
impl Unpin for ProfilingSample
impl UnwindSafe for ProfilingSample
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§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)