pub struct ITripLimitLayer { /* private fields */ }Expand description
ITripLimitLayer
A layer that represents a trip-count limiter.
The trip limit layer sets the execution condition for loops, using kCOUNT to define the number of iterations or kWHILE for a conditional loop. A loop can have one of each kind of limit, in which case the loop exits when the trip count is reached or the condition becomes false.
See INetworkDefinition::addTripLimit().
Implementations§
Source§impl ITripLimitLayer
impl ITripLimitLayer
Sourcepub fn getTripLimit(self: &ITripLimitLayer) -> TripLimit
pub fn getTripLimit(self: &ITripLimitLayer) -> TripLimit
Get a trip limiter type.
Trait Implementations§
Source§impl AsLayer for ITripLimitLayer
impl AsLayer for ITripLimitLayer
Source§impl AsLayerTyped for ITripLimitLayer
impl AsLayerTyped for ITripLimitLayer
Source§impl AsRef<ILoopBoundaryLayer> for ITripLimitLayer
impl AsRef<ILoopBoundaryLayer> for ITripLimitLayer
Source§fn as_ref(self: &ITripLimitLayer) -> &ILoopBoundaryLayer
fn as_ref(self: &ITripLimitLayer) -> &ILoopBoundaryLayer
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl ExternType for ITripLimitLayer
impl ExternType for ITripLimitLayer
Source§impl MakeCppStorage for ITripLimitLayer
impl MakeCppStorage for ITripLimitLayer
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut ITripLimitLayer
unsafe fn allocate_uninitialized_cpp_storage() -> *mut ITripLimitLayer
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
Source§unsafe fn free_uninitialized_cpp_storage(arg0: *mut ITripLimitLayer)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut ITripLimitLayer)
Frees a C++ allocation which has not yet
had a constructor called. Read more
Auto Trait Implementations§
impl !Freeze for ITripLimitLayer
impl !RefUnwindSafe for ITripLimitLayer
impl !Send for ITripLimitLayer
impl !Sync for ITripLimitLayer
impl Unpin for ITripLimitLayer
impl UnsafeUnpin for ITripLimitLayer
impl UnwindSafe for ITripLimitLayer
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