Struct ckb_types::packed::ProposalShortId [−][src]
pub struct ProposalShortId(_);
Implementations
impl ProposalShortId
[src]
impl ProposalShortId
[src]pub const TOTAL_SIZE: usize
[src]
pub const ITEM_SIZE: usize
[src]
pub const ITEM_COUNT: usize
[src]
pub fn nth0(&self) -> Byte
[src]
pub fn nth1(&self) -> Byte
[src]
pub fn nth2(&self) -> Byte
[src]
pub fn nth3(&self) -> Byte
[src]
pub fn nth4(&self) -> Byte
[src]
pub fn nth5(&self) -> Byte
[src]
pub fn nth6(&self) -> Byte
[src]
pub fn nth7(&self) -> Byte
[src]
pub fn nth8(&self) -> Byte
[src]
pub fn nth9(&self) -> Byte
[src]
pub fn raw_data(&self) -> Bytes
[src]
pub fn as_reader<'r>(&'r self) -> ProposalShortIdReader<'r>
[src]
impl ProposalShortId
[src]
impl ProposalShortId
[src]Trait Implementations
impl Clone for ProposalShortId
[src]
impl Clone for ProposalShortId
[src]fn clone(&self) -> ProposalShortId
[src]
fn clone(&self) -> ProposalShortId
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for ProposalShortId
[src]
impl Debug for ProposalShortId
[src]impl Default for ProposalShortId
[src]
impl Default for ProposalShortId
[src]impl Display for ProposalShortId
[src]
impl Display for ProposalShortId
[src]impl Entity for ProposalShortId
[src]
impl Entity for ProposalShortId
[src]type Builder = ProposalShortIdBuilder
const NAME: &'static str
[src]
fn new_unchecked(data: Bytes) -> Self
[src]
fn as_bytes(&self) -> Bytes
[src]
fn as_slice(&self) -> &[u8]
[src]
fn from_slice(slice: &[u8]) -> VerificationResult<Self>
[src]
fn from_compatible_slice(slice: &[u8]) -> VerificationResult<Self>
[src]
fn new_builder() -> Self::Builder
[src]
fn as_builder(self) -> Self::Builder
[src]
impl Hash for ProposalShortId
[src]
impl Hash for ProposalShortId
[src]impl LowerHex for ProposalShortId
[src]
impl LowerHex for ProposalShortId
[src]impl Pack<ProposalShortId> for [u8; 10]
[src]
impl Pack<ProposalShortId> for [u8; 10]
[src]fn pack(&self) -> ProposalShortId
[src]
fn pack(&self) -> ProposalShortId
[src]Packs a rust type into binary data.
impl<T> PackVec<ProposalShortIdVec, ProposalShortId> for T where
T: IntoIterator<Item = ProposalShortId>,
[src]
impl<T> PackVec<ProposalShortIdVec, ProposalShortId> for T where
T: IntoIterator<Item = ProposalShortId>,
[src]fn pack(self) -> ProposalShortIdVec
[src]
fn pack(self) -> ProposalShortIdVec
[src]Packs a vector of binary data into one binary data.
impl PartialEq<ProposalShortId> for ProposalShortId
[src]
impl PartialEq<ProposalShortId> for ProposalShortId
[src]impl Eq for ProposalShortId
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProposalShortId
impl Send for ProposalShortId
impl Sync for ProposalShortId
impl Unpin for ProposalShortId
impl UnwindSafe for ProposalShortId
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> PackVec<ProposalShortIdVec, ProposalShortId> for T where
T: IntoIterator<Item = ProposalShortId>,
[src]
impl<T> PackVec<ProposalShortIdVec, ProposalShortId> for T where
T: IntoIterator<Item = ProposalShortId>,
[src]pub fn pack(Self) -> ProposalShortIdVec
[src]
pub fn pack(Self) -> ProposalShortIdVec
[src]Packs a vector of binary data into one binary data.
impl<T> PackVec<ProposalShortIdVec, ProposalShortId> for T where
T: IntoIterator<Item = ProposalShortId>,
[src]
impl<T> PackVec<ProposalShortIdVec, ProposalShortId> for T where
T: IntoIterator<Item = ProposalShortId>,
[src]pub fn pack(Self) -> ProposalShortIdVec
[src]
pub fn pack(Self) -> ProposalShortIdVec
[src]Packs a vector of binary data into one binary data.
impl<T> PackVec<ProposalShortIdVec, ProposalShortId> for T where
T: IntoIterator<Item = ProposalShortId>,
[src]
impl<T> PackVec<ProposalShortIdVec, ProposalShortId> for T where
T: IntoIterator<Item = ProposalShortId>,
[src]pub fn pack(Self) -> ProposalShortIdVec
[src]
pub fn pack(Self) -> ProposalShortIdVec
[src]Packs a vector of binary data into one binary data.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,