Byte32Builder

Struct Byte32Builder 

Source
pub struct Byte32Builder(/* private fields */);

Implementations§

Source§

impl Byte32Builder

Source

pub const TOTAL_SIZE: usize = 32usize

Source

pub const ITEM_SIZE: usize = 1usize

Source

pub const ITEM_COUNT: usize = 32usize

Source

pub fn set<T>(self, v: T) -> Byte32Builder
where T: Into<[Byte; 32]>,

Source

pub fn nth0<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth1<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth2<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth3<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth4<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth5<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth6<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth7<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth8<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth9<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth10<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth11<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth12<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth13<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth14<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth15<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth16<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth17<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth18<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth19<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth20<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth21<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth22<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth23<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth24<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth25<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth26<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth27<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth28<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth29<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth30<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Source

pub fn nth31<T>(self, v: T) -> Byte32Builder
where T: Into<Byte>,

Trait Implementations§

Source§

impl Builder for Byte32Builder

Source§

const NAME: &'static str = "Byte32Builder"

Source§

type Entity = Byte32

Source§

fn expected_length(&self) -> usize

Source§

fn write<W>(&self, writer: &mut W) -> Result<(), Error>
where W: Write,

Source§

fn build(&self) -> <Byte32Builder as Builder>::Entity

Source§

impl Clone for Byte32Builder

Source§

fn clone(&self) -> Byte32Builder

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Byte32Builder

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for Byte32Builder

Source§

fn default() -> Byte32Builder

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V