Skip to content
Structs

struct RisingBoolDetector

A simple rising edge detector for boolean triggers.

Traits: AnyType, Copyable, Movable, Representable, UnknownDestructibility

RisingBoolDetector Parameters

Name Type Description
N Int

RisingBoolDetector Functions

struct RisingBoolDetector . fn init

fn init Signature

__init__(out self)

fn init Returns : Self

Static Method

This is a static method.

struct RisingBoolDetector . fn next

Check if a trigger has occurred (rising edge) per SIMD lane.

fn next Signature

next(mut self, trig: SIMD[DType.bool, N]) -> SIMD[DType.bool, N]

fn next Arguments

Name Type Default Description
trig SIMD

fn next Returns : SIMD


Documentation generated with mojo doc from Mojo version 0.25.6.1