pub struct DerivedRefPair {
pub source: BlockInfo,
pub derived: BlockInfo,
}Expand description
A pair of BlockInfos representing a derivation relationship between two blocks.
The DerivedRefPair contains full block information for both the source (L1) and
derived (L2) blocks, where the derived block is produced from the source block.
Fields§
§source: BlockInfoThe BlockInfo of the source (L1) block.
derived: BlockInfoThe BlockInfo of the derived (L2) block.
Trait Implementations§
Source§impl Clone for DerivedRefPair
impl Clone for DerivedRefPair
Source§fn clone(&self) -> DerivedRefPair
fn clone(&self) -> DerivedRefPair
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DerivedRefPair
impl Debug for DerivedRefPair
Source§impl Display for DerivedRefPair
impl Display for DerivedRefPair
Source§impl PartialEq for DerivedRefPair
impl PartialEq for DerivedRefPair
impl Copy for DerivedRefPair
impl Eq for DerivedRefPair
impl StructuralPartialEq for DerivedRefPair
Auto Trait Implementations§
impl Freeze for DerivedRefPair
impl RefUnwindSafe for DerivedRefPair
impl Send for DerivedRefPair
impl Sync for DerivedRefPair
impl Unpin for DerivedRefPair
impl UnwindSafe for DerivedRefPair
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more