Module ::std::ops

Overview

Overloadable operators.

Structs

Function

The type of a function in Rune.

Generator

The return value of a function producing a generator.

Range

Type for a range expression start..end.

RangeFrom

Type for a from range expression start...

RangeFull

Type for a full range expression ...

RangeInclusive

Type for an inclusive range expression start..=end.

RangeTo

Type for an inclusive range expression ..end.

RangeToInclusive

Type for an inclusive range expression ..=end.

Enums

ControlFlow

Used to tell an operation whether it should exit early or go on as usual.

GeneratorState

Enum indicating the state of a generator.

Functions

cmp

Perform a total comparison over two values.

eq

Perform a partial equality check over two values.

hash

Hashes the given value.

partial_cmp

Perform a partial comparison over two values.

partial_eq

Perform a partial equality check over two values.