pub struct Triplet {
pub index: u32,
pub type_id: u32,
pub from: u32,
pub to: u32,
}Expand description
A triplet (index: type from to); from and to are 0 when empty.
Fields§
§index: u32§type_id: u32§from: u32§to: u32Implementations§
Trait Implementations§
impl Copy for Triplet
impl Eq for Triplet
Source§impl Ord for Triplet
impl Ord for Triplet
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 PartialOrd for Triplet
impl PartialOrd for Triplet
impl StructuralPartialEq for Triplet
Auto Trait Implementations§
impl Freeze for Triplet
impl RefUnwindSafe for Triplet
impl Send for Triplet
impl Sync for Triplet
impl Unpin for Triplet
impl UnsafeUnpin for Triplet
impl UnwindSafe for Triplet
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