pub struct WitnessArgs(/* private fields */);
Implementations§
Source§impl WitnessArgs
impl WitnessArgs
pub const FIELD_COUNT: usize = 3usize
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 lock(&self) -> BytesOpt
pub fn input_type(&self) -> BytesOpt
pub fn output_type(&self) -> BytesOpt
pub fn as_reader<'r>(&'r self) -> WitnessArgsReader<'r>
Trait Implementations§
Source§impl Clone for WitnessArgs
impl Clone for WitnessArgs
Source§fn clone(&self) -> WitnessArgs
fn clone(&self) -> WitnessArgs
Returns a copy 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 WitnessArgs
impl Debug for WitnessArgs
Source§impl Default for WitnessArgs
impl Default for WitnessArgs
Source§fn default() -> WitnessArgs
fn default() -> WitnessArgs
Returns the “default value” for a type. Read more
Source§impl Display for WitnessArgs
impl Display for WitnessArgs
Source§impl Entity for WitnessArgs
impl Entity for WitnessArgs
const NAME: &'static str = "WitnessArgs"
type Builder = WitnessArgsBuilder
fn new_unchecked(data: Bytes) -> WitnessArgs
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<WitnessArgs, VerificationError>
fn from_compatible_slice(slice: &[u8]) -> Result<WitnessArgs, VerificationError>
fn new_builder() -> <WitnessArgs as Entity>::Builder
fn as_builder(self) -> <WitnessArgs as Entity>::Builder
Auto Trait Implementations§
impl !Freeze for WitnessArgs
impl RefUnwindSafe for WitnessArgs
impl Send for WitnessArgs
impl Sync for WitnessArgs
impl Unpin for WitnessArgs
impl UnwindSafe for WitnessArgs
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)