Struct libpijul::pristine::Pair [−][src]
#[repr(C)]pub struct Pair<A, B> { pub a: A, pub b: B, }
Fields
a: A
b: B
Trait Implementations
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
type PageReferences = Chain<A::PageReferences, B::PageReferences>
type PageReferences = Chain<A::PageReferences, B::PageReferences>
An iterator over the offsets to pages contained in this
value. Only values from this crate can generate non-empty
iterators, but combined values (like tuples) must chain the
iterators returned by method page_offsets
. Read more
If this value is an offset to another page at offset offset
,
return Some(offset)
. Return None
else. Read more
If Self::SIZE.is_some()
, this must return the same
value. The default implementation is Self;:SIZE.unwrap()
. Read more
Read the size from an on-page entry. If Self::SIZE.is_some()
this must be the same value. Read more
Write to a page. Must not overwrite the allocated size, but this isn’t checked (which is why it’s unsafe). Read more
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Pair<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> UnwindSafe for Pair<A, B> where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self