Mojo struct
PDLLevel
struct PDLLevel
Programmatic Dependency Launch (PDL) level.
Aliases
OFF = PDLLevel(0)
:OVERLAP_AT_END = PDLLevel(1)
:OVERLAP_AT_BEGINNING = PDLLevel(2)
:
Implemented traits
AnyType
,
UnknownDestructibility
Methods
__init__
__init__(out self)
Initialize the PDL level to OFF.
__init__(out self, level: Int)
Initialize the PDL level.
Args:
- level (
Int
): The PDL level to initialize.
__eq__
__eq__(self, other: Self) -> Bool
Check if the PDL level is equal to another PDL level.
Args:
- other (
Self
): The other PDL level to compare against.
Returns:
True if the PDL level is equal to the other PDL level, False otherwise.
__eq__(self, other: Int) -> Bool
Check if the PDL level is equal to another PDL level.
Args:
- other (
Int
): The other PDL level to compare against.
Returns:
True if the PDL level is equal to the other PDL level, False otherwise.
__gt__
__gt__(self, other: Self) -> Bool
Check if the PDL level is greater than another PDL level.
Args:
- other (
Self
): The other PDL level to compare against.
Returns:
True if the PDL level is greater than the other PDL level, False otherwise.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!