pub struct OutPointReader<'r>(/* private fields */);Implementations§
Source§impl<'r> OutPointReader<'r>
impl<'r> OutPointReader<'r>
pub const TOTAL_SIZE: usize = 36
pub const FIELD_SIZES: [usize; 2]
pub const FIELD_COUNT: usize = 2
pub fn tx_hash(&self) -> Byte32Reader<'r>
pub fn index(&self) -> Uint32Reader<'r>
Trait Implementations§
Source§impl<'r> Clone for OutPointReader<'r>
impl<'r> Clone for OutPointReader<'r>
Source§fn clone(&self) -> OutPointReader<'r>
fn clone(&self) -> OutPointReader<'r>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'r> Debug for OutPointReader<'r>
impl<'r> Debug for OutPointReader<'r>
Source§impl<'r> Display for OutPointReader<'r>
impl<'r> Display for OutPointReader<'r>
Source§impl<'r> LowerHex for OutPointReader<'r>
impl<'r> LowerHex for OutPointReader<'r>
Source§impl<'r> Reader<'r> for OutPointReader<'r>
impl<'r> Reader<'r> for OutPointReader<'r>
const NAME: &'static str = "OutPointReader"
type Entity = OutPoint
fn to_entity(&self) -> Self::Entity
fn new_unchecked(slice: &'r [u8]) -> Self
fn as_slice(&self) -> &'r [u8] ⓘ
fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
fn from_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
fn from_compatible_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
impl<'r> Copy for OutPointReader<'r>
Auto Trait Implementations§
impl<'r> Freeze for OutPointReader<'r>
impl<'r> RefUnwindSafe for OutPointReader<'r>
impl<'r> Send for OutPointReader<'r>
impl<'r> Sync for OutPointReader<'r>
impl<'r> Unpin for OutPointReader<'r>
impl<'r> UnsafeUnpin for OutPointReader<'r>
impl<'r> UnwindSafe for OutPointReader<'r>
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