#[repr(i32)]pub enum EngineStat {
kTOTAL_WEIGHTS_SIZE = 0,
kSTRIPPED_WEIGHTS_SIZE = 1,
}Expand description
! ! \enum EngineStat ! ! \brief The kind of engine statistics that queried from the ICudaEngine. ! ! \see ICudaEngine::getEngineStat() ! \see BuilderFlag::kSTRIP_PLAN !
Variants§
kTOTAL_WEIGHTS_SIZE = 0
! Return the total weight size in bytes.
kSTRIPPED_WEIGHTS_SIZE = 1
! Return the stripped weight size in bytes for engines built with BuilderFlag::kSTRIP_PLAN.
Trait Implementations§
Source§impl Clone for EngineStat
impl Clone for EngineStat
Source§fn clone(&self) -> EngineStat
fn clone(&self) -> EngineStat
Returns a duplicate 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 ExternType for EngineStat
impl ExternType for EngineStat
Source§impl Hash for EngineStat
impl Hash for EngineStat
Source§impl PartialEq for EngineStat
impl PartialEq for EngineStat
impl Eq for EngineStat
impl StructuralPartialEq for EngineStat
impl UniquePtrTarget for EngineStat
impl VectorElement for EngineStat
impl WeakPtrTarget for EngineStat
Auto Trait Implementations§
impl Freeze for EngineStat
impl RefUnwindSafe for EngineStat
impl Send for EngineStat
impl Sync for EngineStat
impl Unpin for EngineStat
impl UnwindSafe for EngineStat
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