Struct style::context::StackLimitChecker [] [src]

pub struct StackLimitChecker { /* fields omitted */ }

A helper type for stack limit checking. This assumes that stacks grow down, which is true for all non-ancient CPU architectures.

Methods

impl StackLimitChecker
[src]

[src]

Create a new limit checker, for this thread, allowing further use of up to |stack_size| bytes beyond (below) the current stack pointer.

[src]

Checks whether the previously stored stack limit has now been exceeded.