#[repr(u32)]pub enum cutensorPlanAttribute_t {
CUTENSOR_PLAN_REQUIRED_WORKSPACE = 0,
}Expand description
This enum lists all attributes of a cutensorPlan_t object that can be retrieved via cutensorPlanGetAttribute.
Variants§
CUTENSOR_PLAN_REQUIRED_WORKSPACE = 0
uint64_t: exact required workspace in bytes that is needed to execute the plan.
Trait Implementations§
Source§impl Clone for cutensorPlanAttribute_t
impl Clone for cutensorPlanAttribute_t
Source§fn clone(&self) -> cutensorPlanAttribute_t
fn clone(&self) -> cutensorPlanAttribute_t
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 Copy for cutensorPlanAttribute_t
Source§impl Debug for cutensorPlanAttribute_t
impl Debug for cutensorPlanAttribute_t
impl Eq for cutensorPlanAttribute_t
Source§impl From<cutensorPlanAttribute_t> for u32
impl From<cutensorPlanAttribute_t> for u32
Source§fn from(enum_value: cutensorPlanAttribute_t) -> Self
fn from(enum_value: cutensorPlanAttribute_t) -> Self
Converts to this type from the input type.
Source§impl Hash for cutensorPlanAttribute_t
impl Hash for cutensorPlanAttribute_t
Source§impl Ord for cutensorPlanAttribute_t
impl Ord for cutensorPlanAttribute_t
Source§fn cmp(&self, other: &cutensorPlanAttribute_t) -> Ordering
fn cmp(&self, other: &cutensorPlanAttribute_t) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for cutensorPlanAttribute_t
impl PartialEq for cutensorPlanAttribute_t
Source§fn eq(&self, other: &cutensorPlanAttribute_t) -> bool
fn eq(&self, other: &cutensorPlanAttribute_t) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for cutensorPlanAttribute_t
impl PartialOrd for cutensorPlanAttribute_t
impl StructuralPartialEq for cutensorPlanAttribute_t
Source§impl TryFrom<u32> for cutensorPlanAttribute_t
impl TryFrom<u32> for cutensorPlanAttribute_t
Source§type Error = TryFromPrimitiveError<cutensorPlanAttribute_t>
type Error = TryFromPrimitiveError<cutensorPlanAttribute_t>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for cutensorPlanAttribute_t
impl TryFromPrimitive for cutensorPlanAttribute_t
const NAME: &'static str = "cutensorPlanAttribute_t"
type Primitive = u32
type Error = TryFromPrimitiveError<cutensorPlanAttribute_t>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for cutensorPlanAttribute_t
impl RefUnwindSafe for cutensorPlanAttribute_t
impl Send for cutensorPlanAttribute_t
impl Sync for cutensorPlanAttribute_t
impl Unpin for cutensorPlanAttribute_t
impl UnsafeUnpin for cutensorPlanAttribute_t
impl UnwindSafe for cutensorPlanAttribute_t
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