pub enum XMark {
Mark0,
Mark1,
Mark2,
}
Expand description
The mark type used in the XArray
.
The XArray
itself and an item in it can have up to three different marks.
Users can use a self-defined type to distinguish which kind of mark they want to set. Such a
type must implement the Into<XMark>
trait.
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 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.