pub struct UdtCellDep(/* private fields */);Implementations§
Source§impl UdtCellDep
impl UdtCellDep
pub const FIELD_COUNT: usize = 2
pub fn total_size(&self) -> usize
pub fn field_count(&self) -> usize
pub fn count_extra_fields(&self) -> usize
pub fn has_extra_fields(&self) -> bool
pub fn out_point(&self) -> OutPoint
pub fn dep_type(&self) -> Byte
pub fn as_reader<'r>(&'r self) -> UdtCellDepReader<'r>
Trait Implementations§
Source§impl Clone for UdtCellDep
impl Clone for UdtCellDep
Source§fn clone(&self) -> UdtCellDep
fn clone(&self) -> UdtCellDep
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 UdtCellDep
impl Debug for UdtCellDep
Source§impl Default for UdtCellDep
impl Default for UdtCellDep
Source§impl Display for UdtCellDep
impl Display for UdtCellDep
Source§impl Entity for UdtCellDep
impl Entity for UdtCellDep
const NAME: &'static str = "UdtCellDep"
type Builder = UdtCellDepBuilder
fn new_unchecked(data: Bytes) -> Self
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> VerificationResult<Self>
fn from_compatible_slice(slice: &[u8]) -> VerificationResult<Self>
fn new_builder() -> Self::Builder
fn as_builder(self) -> Self::Builder
Source§impl From<UdtCellDep> for UdtCellDep
impl From<UdtCellDep> for UdtCellDep
Source§fn from(udt_cell_dep: UdtCellDep) -> Self
fn from(udt_cell_dep: UdtCellDep) -> Self
Converts to this type from the input type.
Source§impl From<UdtCellDep> for UdtDep
impl From<UdtCellDep> for UdtDep
Source§fn from(value: UdtCellDep) -> Self
fn from(value: UdtCellDep) -> Self
Converts to this type from the input type.
Source§impl From<UdtCellDep> for UdtDepUnion
impl From<UdtCellDep> for UdtDepUnion
Source§fn from(item: UdtCellDep) -> Self
fn from(item: UdtCellDep) -> Self
Converts to this type from the input type.
Source§impl LowerHex for UdtCellDep
impl LowerHex for UdtCellDep
Source§impl TryFrom<UdtCellDep> for UdtCellDep
impl TryFrom<UdtCellDep> for UdtCellDep
Auto Trait Implementations§
impl !Freeze for UdtCellDep
impl RefUnwindSafe for UdtCellDep
impl Send for UdtCellDep
impl Sync for UdtCellDep
impl Unpin for UdtCellDep
impl UnsafeUnpin for UdtCellDep
impl UnwindSafe for UdtCellDep
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