logo
#[repr(transparent)]
pub struct VisitChildrenResult(_);
Expand description

The return value of the Component::visit_children_item function

Represents something like enum { Continue, Aborted{aborted_at_item: isize} }. But this is just wrapping a int because it is easier to use ffi with isize than complex enum.

-1 means the visitor will continue otherwise this is the index of the item that aborted the visit.

Implementations

The result used for a visitor that want to continue the visit

Returns a result that means that the visitor must stop, and convey the item that caused the abort

True if the visitor wants to abort the visit

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

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

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.