Struct stack_graphs::c::sg_partial_scope_stack[][src]

#[repr(C)]
pub struct sg_partial_scope_stack { pub cells: sg_partial_scope_stack_cell_handle, pub direction: sg_deque_direction, pub length: u32, pub variable: sg_scope_stack_variable, }
Expand description

A pattern that might match against a scope stack. Consists of a (possibly empty) list of exported scopes, along with an optional scope stack variable.

Fields

cells: sg_partial_scope_stack_cell_handle

The handle of the first element in the partial scope stack, or SG_LIST_EMPTY_HANDLE if the list is empty, or 0 if the list is null.

direction: sg_deque_directionlength: u32variable: sg_scope_stack_variable

The scope stack variable representing the unknown content of a partial scope stack, or 0 if the variable is missing. (If so, this partial scope stack can only match a scope stack with exactly the list of scopes in cells, instead of any scope stack with those scopes as a prefix.)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.