pub struct BlockBuilderResult<Block, ExtraBlockBuilderDetails = ()> {
pub block: Block,
pub block_details: BlockDetails,
pub extra: ExtraBlockBuilderDetails,
}Expand description
Result of block building
Fields§
§block: BlockBlock itself
block_details: BlockDetailsAdditional details about a block
extra: ExtraBlockBuilderDetailsExtra block builder details
Trait Implementations§
Source§impl<Block: Clone, ExtraBlockBuilderDetails: Clone> Clone for BlockBuilderResult<Block, ExtraBlockBuilderDetails>
impl<Block: Clone, ExtraBlockBuilderDetails: Clone> Clone for BlockBuilderResult<Block, ExtraBlockBuilderDetails>
Source§fn clone(&self) -> BlockBuilderResult<Block, ExtraBlockBuilderDetails>
fn clone(&self) -> BlockBuilderResult<Block, ExtraBlockBuilderDetails>
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 moreAuto Trait Implementations§
impl<Block, ExtraBlockBuilderDetails> Freeze for BlockBuilderResult<Block, ExtraBlockBuilderDetails>
impl<Block, ExtraBlockBuilderDetails = ()> !RefUnwindSafe for BlockBuilderResult<Block, ExtraBlockBuilderDetails>
impl<Block, ExtraBlockBuilderDetails> Send for BlockBuilderResult<Block, ExtraBlockBuilderDetails>
impl<Block, ExtraBlockBuilderDetails> Sync for BlockBuilderResult<Block, ExtraBlockBuilderDetails>
impl<Block, ExtraBlockBuilderDetails> Unpin for BlockBuilderResult<Block, ExtraBlockBuilderDetails>
impl<Block, ExtraBlockBuilderDetails> UnsafeUnpin for BlockBuilderResult<Block, ExtraBlockBuilderDetails>where
Block: UnsafeUnpin,
ExtraBlockBuilderDetails: UnsafeUnpin,
impl<Block, ExtraBlockBuilderDetails = ()> !UnwindSafe for BlockBuilderResult<Block, ExtraBlockBuilderDetails>
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<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