#[repr(i32)]pub enum TripLimit {
kCOUNT = 0,
kWHILE = 1,
}Expand description
! ! \enum TripLimit ! ! \brief Enum that describes kinds of trip limits. !
Variants§
kCOUNT = 0
!< Tensor is a scalar of type kINT32 or kINT64 that contains the trip count.
kWHILE = 1
!< Tensor is a scalar of type kBOOL. Loop terminates when value is false.
Trait Implementations§
Source§impl Ord for TripLimit
impl Ord for TripLimit
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 PartialOrd for TripLimit
impl PartialOrd for TripLimit
impl Copy for TripLimit
impl Eq for TripLimit
impl StructuralPartialEq for TripLimit
Auto Trait Implementations§
impl Freeze for TripLimit
impl RefUnwindSafe for TripLimit
impl Send for TripLimit
impl Sync for TripLimit
impl Unpin for TripLimit
impl UnsafeUnpin for TripLimit
impl UnwindSafe for TripLimit
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