#[repr(i32)]pub enum TripLimit {
kCOUNT = 0,
kWHILE = 1,
}Expand description
TripLimit
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§
impl Eq for TripLimit
Source§impl ExternType for TripLimit
impl ExternType for TripLimit
impl StructuralPartialEq for TripLimit
impl UniquePtrTarget for TripLimit
impl VectorElement for TripLimit
impl WeakPtrTarget 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