Struct ra_ap_limit::Limit[][src]

pub struct Limit { /* fields omitted */ }
Expand description

Represents a struct used to enforce a numerical limit.

Implementations

Creates a new limit.

Creates a new limit.

Gets the underlying numeric limit.

Checks whether the given value is below the limit. Returns Ok when other is below self, and Err otherwise.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.