pub struct SiblingOrder(pub Vec<u16>);Expand description
Lexicographic fractional position. Concurrent equal positions use the work ID as a tie-breaker. Digits may contain zero internally; a nonzero final digit leaves room before every position.
Tuple Fields§
§0: Vec<u16>Implementations§
Trait Implementations§
Source§impl Clone for SiblingOrder
impl Clone for SiblingOrder
Source§impl Debug for SiblingOrder
impl Debug for SiblingOrder
Source§impl Default for SiblingOrder
impl Default for SiblingOrder
Source§impl<'de> Deserialize<'de> for SiblingOrder
impl<'de> Deserialize<'de> for SiblingOrder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SiblingOrder
Source§impl Ord for SiblingOrder
impl Ord for SiblingOrder
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SiblingOrder
impl PartialEq for SiblingOrder
Source§impl PartialOrd for SiblingOrder
impl PartialOrd for SiblingOrder
Source§impl Serialize for SiblingOrder
impl Serialize for SiblingOrder
impl StructuralPartialEq for SiblingOrder
Auto Trait Implementations§
impl Freeze for SiblingOrder
impl RefUnwindSafe for SiblingOrder
impl Send for SiblingOrder
impl Sync for SiblingOrder
impl Unpin for SiblingOrder
impl UnsafeUnpin for SiblingOrder
impl UnwindSafe for SiblingOrder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more