Enum breadthread::AddOrRemovePtr [−][src]
pub enum AddOrRemovePtr {
DoNothing,
AddPtr(NonZeroUsize, usize),
RemovePtr(NonZeroUsize),
}Expand description
Add or remove a pointer from the verified pointers list.
Variants
Do nothing. This only exists so this enum can have a Default impl.
Add a pointer to the verified list.
Tuple Fields of AddPtr
0: NonZeroUsize1: usizeRemove a pointer from the verified list.
Tuple Fields of RemovePtr
0: NonZeroUsizeTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for AddOrRemovePtr
impl Send for AddOrRemovePtr
impl Sync for AddOrRemovePtr
impl Unpin for AddOrRemovePtr
impl UnwindSafe for AddOrRemovePtr
Blanket Implementations
Mutably borrows from an owned value. Read more