Enum nvbit_model::FunctionAttribute
source · pub enum FunctionAttribute {
MaxThreadsPerBlock,
SharedSizeBytes,
ConstSizeBytes,
LocalSizeBytes,
NumRegs,
PTXVersion,
BinaryVersion,
CacheModeCA,
MaxDynamicSharedSizeBytes,
PreferredSharedMemoryCarveout,
Max,
}Expand description
CUDA function attribute.
Variants§
Trait Implementations§
source§impl Clone for FunctionAttribute
impl Clone for FunctionAttribute
source§fn clone(&self) -> FunctionAttribute
fn clone(&self) -> FunctionAttribute
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 Debug for FunctionAttribute
impl Debug for FunctionAttribute
source§impl<'de> Deserialize<'de> for FunctionAttribute
impl<'de> Deserialize<'de> for FunctionAttribute
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for FunctionAttribute
impl Hash for FunctionAttribute
source§impl PartialEq<FunctionAttribute> for FunctionAttribute
impl PartialEq<FunctionAttribute> for FunctionAttribute
source§fn eq(&self, other: &FunctionAttribute) -> bool
fn eq(&self, other: &FunctionAttribute) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for FunctionAttribute
impl Serialize for FunctionAttribute
impl Copy for FunctionAttribute
impl Eq for FunctionAttribute
impl StructuralEq for FunctionAttribute
impl StructuralPartialEq for FunctionAttribute
Auto Trait Implementations§
impl RefUnwindSafe for FunctionAttribute
impl Send for FunctionAttribute
impl Sync for FunctionAttribute
impl Unpin for FunctionAttribute
impl UnwindSafe for FunctionAttribute
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