Struct sixtyfps_corelib::item_tree::VisitChildrenResult [−][src]
#[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
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
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 VisitChildrenResult
impl Send for VisitChildrenResult
impl Sync for VisitChildrenResult
impl Unpin for VisitChildrenResult
impl UnwindSafe for VisitChildrenResult
Blanket Implementations
Mutably borrows from an owned value. Read more