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_direction
length: u32
variable: 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 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
impl RefUnwindSafe for sg_partial_scope_stack
impl Send for sg_partial_scope_stack
impl Sync for sg_partial_scope_stack
impl Unpin for sg_partial_scope_stack
impl UnwindSafe for sg_partial_scope_stack
Blanket Implementations
Mutably borrows from an owned value. Read more