pub(crate) struct RcBlock {
pub(crate) address: Address,
pub(crate) words: Vec<(RcWordSource, Unsigned36Bit)>,
}
Expand description
Represents the RC-block.
Fields§
§address: Address
The address of the RC-block.
words: Vec<(RcWordSource, Unsigned36Bit)>
The contents of the RC-block, along with information about why each of the RC-words was allocated.
Implementations§
Trait Implementations§
Source§impl From<RcBlock> for BinaryChunk
impl From<RcBlock> for BinaryChunk
Source§impl RcAllocator for RcBlock
impl RcAllocator for RcBlock
fn allocate( &mut self, source: RcWordSource, value: Unsigned36Bit, ) -> Result<Address, RcWordAllocationFailure>
Auto Trait Implementations§
impl Freeze for RcBlock
impl RefUnwindSafe for RcBlock
impl Send for RcBlock
impl Sync for RcBlock
impl Unpin for RcBlock
impl UnwindSafe for RcBlock
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
§type Iter<'a> = Once<&'a T>
where
T: 'a
type Iter<'a> = Once<&'a T> where T: 'a
An iterator over the items within this container, by reference.
§fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
Check whether an item is contained within this sequence.
§fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
Convert an item of the sequence into a [
MaybeRef
].