pub struct GhashSq256b(/* private fields */);Implementations§
Trait Implementations§
Source§impl Add for GhashSq256b
impl Add for GhashSq256b
Source§impl Add<&GhashSq256b> for GhashSq256b
impl Add<&GhashSq256b> for GhashSq256b
Source§impl Add<BinaryField1b> for GhashSq256b
impl Add<BinaryField1b> for GhashSq256b
Source§type Output = GhashSq256b
type Output = GhashSq256b
The resulting type after applying the
+ operator.Source§impl Add<Ghash128b> for GhashSq256b
impl Add<Ghash128b> for GhashSq256b
Source§impl Add<GhashSq256b> for Ghash128b
impl Add<GhashSq256b> for Ghash128b
Source§type Output = GhashSq256b
type Output = GhashSq256b
The resulting type after applying the
+ operator.Source§impl Add<GhashSq256b> for BinaryField1b
impl Add<GhashSq256b> for BinaryField1b
Source§type Output = GhashSq256b
type Output = GhashSq256b
The resulting type after applying the
+ operator.Source§impl AddAssign for GhashSq256b
impl AddAssign for GhashSq256b
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl AddAssign<&GhashSq256b> for GhashSq256b
impl AddAssign<&GhashSq256b> for GhashSq256b
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
Performs the
+= operation. Read moreSource§impl AddAssign<BinaryField1b> for GhashSq256b
impl AddAssign<BinaryField1b> for GhashSq256b
Source§fn add_assign(&mut self, rhs: BinaryField1b)
fn add_assign(&mut self, rhs: BinaryField1b)
Performs the
+= operation. Read moreSource§impl AddAssign<Ghash128b> for GhashSq256b
impl AddAssign<Ghash128b> for GhashSq256b
Source§fn add_assign(&mut self, rhs: Ghash128b)
fn add_assign(&mut self, rhs: Ghash128b)
Performs the
+= operation. Read moreSource§impl BinaryField for GhashSq256b
impl BinaryField for GhashSq256b
Source§impl Clone for GhashSq256b
impl Clone for GhashSq256b
Source§fn clone(&self) -> GhashSq256b
fn clone(&self) -> GhashSq256b
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 moreimpl Copy for GhashSq256b
Source§impl Debug for GhashSq256b
impl Debug for GhashSq256b
Source§impl Default for GhashSq256b
impl Default for GhashSq256b
Source§fn default() -> GhashSq256b
fn default() -> GhashSq256b
Returns the “default value” for a type. Read more
Source§impl DeserializeBytes for GhashSq256b
impl DeserializeBytes for GhashSq256b
fn deserialize(read_buf: impl Buf) -> Result<Self, SerializationError>
Source§impl Display for GhashSq256b
impl Display for GhashSq256b
Source§impl Distribution<GhashSq256b> for StandardUniform
impl Distribution<GhashSq256b> for StandardUniform
Source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> GhashSq256b
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> GhashSq256b
Generate a random value of
T, using rng as the source of randomness.§fn sample_iter<R>(self, rng: R) -> Iter<Self, R, T>where
R: Rng,
Self: Sized,
fn sample_iter<R>(self, rng: R) -> Iter<Self, R, T>where
R: Rng,
Self: Sized,
Create an iterator that generates random values of
T, using rng as
the source of randomness. Read moreSource§impl Divisible<GhashSq256b> for GhashSq256b
impl Divisible<GhashSq256b> for GhashSq256b
Source§fn value_iter(
value: Self,
) -> impl ExactSizeIterator<Item = GhashSq256b> + Send + Clone
fn value_iter( value: Self, ) -> impl ExactSizeIterator<Item = GhashSq256b> + Send + Clone
Returns an iterator over subdivisions of this underlier value, ordered from LSB to MSB.
Source§fn ref_iter(
value: &Self,
) -> impl ExactSizeIterator<Item = GhashSq256b> + Send + Clone + '_
fn ref_iter( value: &Self, ) -> impl ExactSizeIterator<Item = GhashSq256b> + Send + Clone + '_
Returns an iterator over subdivisions of this underlier reference, ordered from LSB to MSB.
Source§fn slice_iter(
slice: &[Self],
) -> impl ExactSizeIterator<Item = GhashSq256b> + Send + Clone + '_
fn slice_iter( slice: &[Self], ) -> impl ExactSizeIterator<Item = GhashSq256b> + Send + Clone + '_
Returns an iterator over subdivisions of a slice of underliers, ordered from LSB to MSB.
Source§unsafe fn get_unchecked(&self, _index: usize) -> GhashSq256b
unsafe fn get_unchecked(&self, _index: usize) -> GhashSq256b
Get element at index (LSB-first ordering) without bounds checking. Read more
Source§unsafe fn set_unchecked(&mut self, _index: usize, val: GhashSq256b)
unsafe fn set_unchecked(&mut self, _index: usize, val: GhashSq256b)
Set element at index (LSB-first ordering) in place, without bounds checking. Read more
Source§fn broadcast(val: GhashSq256b) -> Self
fn broadcast(val: GhashSq256b) -> Self
Create a value with
val broadcast to all N positions.impl Eq for GhashSq256b
Source§impl ExtensionField<BinaryField1b> for GhashSq256b
impl ExtensionField<BinaryField1b> for GhashSq256b
Source§const LOG_DEGREE: usize = 8
const LOG_DEGREE: usize = 8
Base-2 logarithm of the extension degree.
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = BinaryField1b>,
log_stride: usize,
) -> Self
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField1b>, log_stride: usize, ) -> Self
A specialized version of
from_bases which assumes that only base field
elements with indices dividing 2^log_stride can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = BinaryField1b>
fn iter_bases(&self) -> impl Iterator<Item = BinaryField1b>
Iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField1b
unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField1b
Returns the i-th base field element without bounds checking. Read more
Source§fn square_transpose(values: &mut [Self])
fn square_transpose(values: &mut [Self])
Transpose square block of subfield elements within
values in place. Read moreSource§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Self
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Self
Create an extension field element from a slice of base field elements in order
consistent with
basis(i) return values.
Potentially faster than taking an inner product with a vector of basis elements. Read moreSource§impl ExtensionField<Ghash128b> for GhashSq256b
impl ExtensionField<Ghash128b> for GhashSq256b
Source§const LOG_DEGREE: usize = 1
const LOG_DEGREE: usize = 1
Base-2 logarithm of the extension degree.
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = Ghash128b>,
log_stride: usize,
) -> Self
fn from_bases_sparse( base_elems: impl IntoIterator<Item = Ghash128b>, log_stride: usize, ) -> Self
A specialized version of
from_bases which assumes that only base field
elements with indices dividing 2^log_stride can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = Ghash128b>
fn iter_bases(&self) -> impl Iterator<Item = Ghash128b>
Iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> Ghash128b
unsafe fn get_base_unchecked(&self, i: usize) -> Ghash128b
Returns the i-th base field element without bounds checking. Read more
Source§fn square_transpose(values: &mut [Self])
fn square_transpose(values: &mut [Self])
Transpose square block of subfield elements within
values in place. Read moreSource§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Self
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Self
Create an extension field element from a slice of base field elements in order
consistent with
basis(i) return values.
Potentially faster than taking an inner product with a vector of basis elements. Read moreSource§impl Field for GhashSq256b
impl Field for GhashSq256b
Source§const CHARACTERISTIC: usize = 2
const CHARACTERISTIC: usize = 2
Source§const ORDER_EXPONENT: usize = <M256 as crate::underlier::Underlier>::BITS
const ORDER_EXPONENT: usize = <M256 as crate::underlier::Underlier>::BITS
The exponent
k such that the field order equals CHARACTERISTIC^k.Source§const MULTIPLICATIVE_GENERATOR: GhashSq256b
const MULTIPLICATIVE_GENERATOR: GhashSq256b
Fixed generator of the multiplicative group.
Source§impl FixedSizeSerializeBytes for GhashSq256b
impl FixedSizeSerializeBytes for GhashSq256b
Source§impl From<BinaryField1b> for GhashSq256b
impl From<BinaryField1b> for GhashSq256b
Source§fn from(elem: BinaryField1b) -> Self
fn from(elem: BinaryField1b) -> Self
Converts to this type from the input type.
Source§impl From<Ghash128b> for GhashSq256b
impl From<Ghash128b> for GhashSq256b
Source§impl From<GhashSq256b> for M256
impl From<GhashSq256b> for M256
Source§fn from(val: GhashSq256b) -> Self
fn from(val: GhashSq256b) -> Self
Converts to this type from the input type.
Source§impl Hash for GhashSq256b
impl Hash for GhashSq256b
Source§impl InvertOrZero for GhashSq256b
impl InvertOrZero for GhashSq256b
Source§impl Maskable<GhashSq256b> for GhashSq256b
impl Maskable<GhashSq256b> for GhashSq256b
Source§impl Mul for GhashSq256b
impl Mul for GhashSq256b
Source§impl Mul<&GhashSq256b> for GhashSq256b
impl Mul<&GhashSq256b> for GhashSq256b
Source§impl Mul<BinaryField1b> for GhashSq256b
impl Mul<BinaryField1b> for GhashSq256b
Source§type Output = GhashSq256b
type Output = GhashSq256b
The resulting type after applying the
* operator.Source§impl Mul<Ghash128b> for GhashSq256b
impl Mul<Ghash128b> for GhashSq256b
Source§impl Mul<GhashSq256b> for Ghash128b
impl Mul<GhashSq256b> for Ghash128b
Source§type Output = GhashSq256b
type Output = GhashSq256b
The resulting type after applying the
* operator.Source§impl Mul<GhashSq256b> for BinaryField1b
impl Mul<GhashSq256b> for BinaryField1b
Source§type Output = GhashSq256b
type Output = GhashSq256b
The resulting type after applying the
* operator.Source§impl MulAssign for GhashSq256b
impl MulAssign for GhashSq256b
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl MulAssign<&GhashSq256b> for GhashSq256b
impl MulAssign<&GhashSq256b> for GhashSq256b
Source§fn mul_assign(&mut self, rhs: &Self)
fn mul_assign(&mut self, rhs: &Self)
Performs the
*= operation. Read moreSource§impl MulAssign<BinaryField1b> for GhashSq256b
impl MulAssign<BinaryField1b> for GhashSq256b
Source§fn mul_assign(&mut self, rhs: BinaryField1b)
fn mul_assign(&mut self, rhs: BinaryField1b)
Performs the
*= operation. Read moreSource§impl MulAssign<Ghash128b> for GhashSq256b
impl MulAssign<Ghash128b> for GhashSq256b
Source§fn mul_assign(&mut self, rhs: Ghash128b)
fn mul_assign(&mut self, rhs: Ghash128b)
Performs the
*= operation. Read moreSource§impl Neg for GhashSq256b
impl Neg for GhashSq256b
Source§impl Ord for GhashSq256b
impl Ord for GhashSq256b
Source§fn cmp(&self, other: &GhashSq256b) -> Ordering
fn cmp(&self, other: &GhashSq256b) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PackedField for GhashSq256b
impl PackedField for GhashSq256b
Source§fn interleave(self, _other: Self, _log_block_len: usize) -> (Self, Self)
fn interleave(self, _other: Self, _log_block_len: usize) -> (Self, Self)
Interleaves blocks of this packed vector with another packed vector. Read more
Source§fn unzip(self, _other: Self, _log_block_len: usize) -> (Self, Self)
fn unzip(self, _other: Self, _log_block_len: usize) -> (Self, Self)
Unzips interleaved blocks of this packed vector with another packed vector. Read more
Source§fn from_fn(f: impl FnMut(usize) -> Self::Scalar) -> Self
fn from_fn(f: impl FnMut(usize) -> Self::Scalar) -> Self
Construct a packed field element from a function that returns scalar values by index.
Source§unsafe fn spread_unchecked(
self,
_log_block_len: usize,
_block_idx: usize,
) -> Self
unsafe fn spread_unchecked( self, _log_block_len: usize, _block_idx: usize, ) -> Self
Unsafe version of
Self::spread. Read moreSource§const LOG_WIDTH: usize = Self::LOG_N
const LOG_WIDTH: usize = Self::LOG_N
Base-2 logarithm of the number of field elements packed into one packed element. Read more
Source§fn into_iter(self) -> impl ExactSizeIterator<Item = Self::Scalar> + Send + Clone
fn into_iter(self) -> impl ExactSizeIterator<Item = Self::Scalar> + Send + Clone
Yields one scalar per lane, from the lowest lane to the highest.
Source§fn iter(
&self,
) -> impl ExactSizeIterator<Item = Self::Scalar> + Send + Clone + '_
fn iter( &self, ) -> impl ExactSizeIterator<Item = Self::Scalar> + Send + Clone + '_
Yields one scalar per lane, from the lowest lane to the highest.
Source§fn iter_slice(
slice: &[Self],
) -> impl ExactSizeIterator<Item = Self::Scalar> + Send + Clone + '_
fn iter_slice( slice: &[Self], ) -> impl ExactSizeIterator<Item = Self::Scalar> + Send + Clone + '_
Yields every scalar of the whole slice: element by element, each element’s lanes in order.
Source§fn from_scalars(values: impl IntoIterator<Item = Self::Scalar>) -> Self
fn from_scalars(values: impl IntoIterator<Item = Self::Scalar>) -> Self
Construct a packed field element from a sequence of scalars. Read more
Source§impl PartialEq for GhashSq256b
impl PartialEq for GhashSq256b
Source§fn eq(&self, other: &GhashSq256b) -> bool
fn eq(&self, other: &GhashSq256b) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GhashSq256b
impl PartialOrd for GhashSq256b
impl Pod for GhashSq256b
Source§impl Product for GhashSq256b
impl Product for GhashSq256b
Source§impl<'a> Product<&'a GhashSq256b> for GhashSq256b
impl<'a> Product<&'a GhashSq256b> for GhashSq256b
Source§impl SerializeBytes for GhashSq256b
impl SerializeBytes for GhashSq256b
Source§impl Square for GhashSq256b
impl Square for GhashSq256b
impl StructuralPartialEq for GhashSq256b
Source§impl Sub for GhashSq256b
impl Sub for GhashSq256b
Source§impl Sub<&GhashSq256b> for GhashSq256b
impl Sub<&GhashSq256b> for GhashSq256b
Source§impl Sub<BinaryField1b> for GhashSq256b
impl Sub<BinaryField1b> for GhashSq256b
Source§type Output = GhashSq256b
type Output = GhashSq256b
The resulting type after applying the
- operator.Source§impl Sub<Ghash128b> for GhashSq256b
impl Sub<Ghash128b> for GhashSq256b
Source§impl Sub<GhashSq256b> for Ghash128b
impl Sub<GhashSq256b> for Ghash128b
Source§type Output = GhashSq256b
type Output = GhashSq256b
The resulting type after applying the
- operator.Source§impl Sub<GhashSq256b> for BinaryField1b
impl Sub<GhashSq256b> for BinaryField1b
Source§type Output = GhashSq256b
type Output = GhashSq256b
The resulting type after applying the
- operator.Source§impl SubAssign for GhashSq256b
impl SubAssign for GhashSq256b
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreSource§impl SubAssign<&GhashSq256b> for GhashSq256b
impl SubAssign<&GhashSq256b> for GhashSq256b
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
Performs the
-= operation. Read moreSource§impl SubAssign<BinaryField1b> for GhashSq256b
impl SubAssign<BinaryField1b> for GhashSq256b
Source§fn sub_assign(&mut self, rhs: BinaryField1b)
fn sub_assign(&mut self, rhs: BinaryField1b)
Performs the
-= operation. Read moreSource§impl SubAssign<Ghash128b> for GhashSq256b
impl SubAssign<Ghash128b> for GhashSq256b
Source§fn sub_assign(&mut self, rhs: Ghash128b)
fn sub_assign(&mut self, rhs: Ghash128b)
Performs the
-= operation. Read moreSource§impl Sum for GhashSq256b
impl Sum for GhashSq256b
Source§impl<'a> Sum<&'a GhashSq256b> for GhashSq256b
impl<'a> Sum<&'a GhashSq256b> for GhashSq256b
Source§impl TryFrom<GhashSq256b> for Ghash128b
impl TryFrom<GhashSq256b> for Ghash128b
Source§impl TryFrom<GhashSq256b> for BinaryField1b
impl TryFrom<GhashSq256b> for BinaryField1b
Source§impl UnderlierView for GhashSq256b
impl UnderlierView for GhashSq256b
Source§fn to_underlier(self) -> Self::Underlier
fn to_underlier(self) -> Self::Underlier
Views this value as its underlier.
Source§fn to_underlier_ref(&self) -> &Self::Underlier
fn to_underlier_ref(&self) -> &Self::Underlier
Views a shared reference as one to its underlier.
Source§fn to_underlier_ref_mut(&mut self) -> &mut Self::Underlier
fn to_underlier_ref_mut(&mut self) -> &mut Self::Underlier
Views a mutable reference as one to its underlier.
Source§fn to_underliers_ref(val: &[Self]) -> &[Self::Underlier]
fn to_underliers_ref(val: &[Self]) -> &[Self::Underlier]
Views a slice as a slice of underliers, without copying.
Source§fn to_underliers_ref_mut(val: &mut [Self]) -> &mut [Self::Underlier]
fn to_underliers_ref_mut(val: &mut [Self]) -> &mut [Self::Underlier]
Views a mutable slice as a mutable slice of underliers, without copying.
Source§fn from_underlier(val: Self::Underlier) -> Self
fn from_underlier(val: Self::Underlier) -> Self
Reads an underlier as this type.
Source§fn from_underlier_ref(val: &Self::Underlier) -> &Self
fn from_underlier_ref(val: &Self::Underlier) -> &Self
Views a shared reference to an underlier as one to this type.
Source§fn from_underlier_ref_mut(val: &mut Self::Underlier) -> &mut Self
fn from_underlier_ref_mut(val: &mut Self::Underlier) -> &mut Self
Views a mutable reference to an underlier as one to this type.
Source§fn from_underliers_ref(val: &[Self::Underlier]) -> &[Self]
fn from_underliers_ref(val: &[Self::Underlier]) -> &[Self]
Views a slice of underliers as a slice of this type, without copying.
Source§fn from_underliers_ref_mut(val: &mut [Self::Underlier]) -> &mut [Self]
fn from_underliers_ref_mut(val: &mut [Self::Underlier]) -> &mut [Self]
Views a mutable slice of underliers as a mutable slice of this type, without copying.
Source§impl WideMul for GhashSq256b
impl WideMul for GhashSq256b
Auto Trait Implementations§
impl Freeze for GhashSq256b
impl RefUnwindSafe for GhashSq256b
impl Send for GhashSq256b
impl Sync for GhashSq256b
impl Unpin for GhashSq256b
impl UnsafeUnpin for GhashSq256b
impl UnwindSafe for GhashSq256b
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F> ExtensionField<F> for Fwhere
F: Field,
impl<F> ExtensionField<F> for Fwhere
F: Field,
Source§const LOG_DEGREE: usize = const LOG_DEGREE: usize = 0;
const LOG_DEGREE: usize = const LOG_DEGREE: usize = 0;
Base-2 logarithm of the extension degree.
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = F>,
log_stride: usize,
) -> F
fn from_bases_sparse( base_elems: impl IntoIterator<Item = F>, log_stride: usize, ) -> F
A specialized version of
from_bases which assumes that only base field
elements with indices dividing 2^log_stride can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = F>
fn iter_bases(&self) -> impl Iterator<Item = F>
Iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> F
unsafe fn get_base_unchecked(&self, i: usize) -> F
Returns the i-th base field element without bounds checking. Read more
Source§fn square_transpose(values: &mut [F])
fn square_transpose(values: &mut [F])
Transpose square block of subfield elements within
values in place. Read moreSource§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Self
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Self
Create an extension field element from a slice of base field elements in order
consistent with
basis(i) return values.
Potentially faster than taking an inner product with a vector of basis elements. Read moreSource§impl<F> FieldOps for Fwhere
F: Field,
impl<F> FieldOps for Fwhere
F: Field,
type Scalar = F
Source§fn square_transpose<FSub>(elems: &mut [F])where
FSub: Field,
F: ExtensionField<FSub>,
fn square_transpose<FSub>(elems: &mut [F])where
FSub: Field,
F: ExtensionField<FSub>,
Transpose the subfield elements in a slice of field elements. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> NoUninit for Twhere
T: Pod,
impl<PT> PackedBinaryField for PT
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<I, T> TransparentWrapperAlloc<I> for T
impl<I, T> TransparentWrapperAlloc<I> for T
§fn wrap_vec(s: Vec<Inner>) -> Vec<Self>
fn wrap_vec(s: Vec<Inner>) -> Vec<Self>
Convert a vec of the inner type into a vec of the wrapper type.
§fn wrap_box(s: Box<Inner>) -> Box<Self>
fn wrap_box(s: Box<Inner>) -> Box<Self>
Convert a box to the inner type into a box to the wrapper
type.
§fn wrap_rc(s: Rc<Inner>) -> Rc<Self>
fn wrap_rc(s: Rc<Inner>) -> Rc<Self>
Convert an
Rc to the inner type into an Rc to the wrapper type.§fn wrap_arc(s: Arc<Inner>) -> Arc<Self>
fn wrap_arc(s: Arc<Inner>) -> Arc<Self>
Convert an
Arc to the inner type into an Arc to the wrapper type.§fn peel_vec(s: Vec<Self>) -> Vec<Inner>
fn peel_vec(s: Vec<Self>) -> Vec<Inner>
Convert a vec of the wrapper type into a vec of the inner type.
§fn peel_box(s: Box<Self>) -> Box<Inner>
fn peel_box(s: Box<Self>) -> Box<Inner>
Convert a box to the wrapper type into a box to the inner
type.