#[repr(transparent)]pub struct WideF64x4(pub f64x4);
Expand description
A wrapper type of wide::f64x4
that implements all the relevant traits from num
and simba
.
This is needed to overcome the orphan rules.
Tuple Fields§
§0: f64x4
Trait Implementations§
source§impl AddAssign<WideF64x4> for WideF64x4
impl AddAssign<WideF64x4> for WideF64x4
source§fn add_assign(&mut self, rhs: WideF64x4)
fn add_assign(&mut self, rhs: WideF64x4)
Performs the
+=
operation. Read moresource§impl DivAssign<WideF64x4> for WideF64x4
impl DivAssign<WideF64x4> for WideF64x4
source§fn div_assign(&mut self, rhs: WideF64x4)
fn div_assign(&mut self, rhs: WideF64x4)
Performs the
/=
operation. Read moresource§impl FromPrimitive for WideF64x4
impl FromPrimitive for WideF64x4
source§fn from_i64(n: i64) -> Option<WideF64x4>
fn from_i64(n: i64) -> Option<WideF64x4>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u64(n: u64) -> Option<WideF64x4>
fn from_u64(n: u64) -> Option<WideF64x4>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_isize(n: isize) -> Option<WideF64x4>
fn from_isize(n: isize) -> Option<WideF64x4>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i8(n: i8) -> Option<WideF64x4>
fn from_i8(n: i8) -> Option<WideF64x4>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i16(n: i16) -> Option<WideF64x4>
fn from_i16(n: i16) -> Option<WideF64x4>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i32(n: i32) -> Option<WideF64x4>
fn from_i32(n: i32) -> Option<WideF64x4>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_usize(n: usize) -> Option<WideF64x4>
fn from_usize(n: usize) -> Option<WideF64x4>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u8(n: u8) -> Option<WideF64x4>
fn from_u8(n: u8) -> Option<WideF64x4>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u16(n: u16) -> Option<WideF64x4>
fn from_u16(n: u16) -> Option<WideF64x4>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u32(n: u32) -> Option<WideF64x4>
fn from_u32(n: u32) -> Option<WideF64x4>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_f32(n: f32) -> Option<WideF64x4>
fn from_f32(n: f32) -> Option<WideF64x4>
Converts a
f32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_f64(n: f64) -> Option<WideF64x4>
fn from_f64(n: f64) -> Option<WideF64x4>
Converts a
f64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§impl MulAssign<WideF64x4> for WideF64x4
impl MulAssign<WideF64x4> for WideF64x4
source§fn mul_assign(&mut self, rhs: WideF64x4)
fn mul_assign(&mut self, rhs: WideF64x4)
Performs the
*=
operation. Read moresource§impl Num for WideF64x4
impl Num for WideF64x4
type FromStrRadixErr = <f64 as Num>::FromStrRadixErr
source§impl PartialEq<WideF64x4> for WideF64x4
impl PartialEq<WideF64x4> for WideF64x4
source§impl RemAssign<WideF64x4> for WideF64x4
impl RemAssign<WideF64x4> for WideF64x4
source§fn rem_assign(&mut self, rhs: WideF64x4)
fn rem_assign(&mut self, rhs: WideF64x4)
Performs the
%=
operation. Read moresource§impl SimdComplexField for WideF64x4
impl SimdComplexField for WideF64x4
§type SimdRealField = WideF64x4
type SimdRealField = WideF64x4
Type of the coefficients of a complex number.
source§fn simd_horizontal_sum(self) -> <WideF64x4 as SimdValue>::Element
fn simd_horizontal_sum(self) -> <WideF64x4 as SimdValue>::Element
Computes the sum of all the lanes of
self
.source§fn simd_horizontal_product(self) -> <WideF64x4 as SimdValue>::Element
fn simd_horizontal_product(self) -> <WideF64x4 as SimdValue>::Element
Computes the product of all the lanes of
self
.source§fn from_simd_real(
re: <WideF64x4 as SimdComplexField>::SimdRealField
) -> WideF64x4
fn from_simd_real( re: <WideF64x4 as SimdComplexField>::SimdRealField ) -> WideF64x4
Builds a pure-real complex number from the given value.
source§fn simd_real(self) -> <WideF64x4 as SimdComplexField>::SimdRealField
fn simd_real(self) -> <WideF64x4 as SimdComplexField>::SimdRealField
The real part of this complex number.
source§fn simd_imaginary(self) -> <WideF64x4 as SimdComplexField>::SimdRealField
fn simd_imaginary(self) -> <WideF64x4 as SimdComplexField>::SimdRealField
The imaginary part of this complex number.
source§fn simd_norm1(self) -> <WideF64x4 as SimdComplexField>::SimdRealField
fn simd_norm1(self) -> <WideF64x4 as SimdComplexField>::SimdRealField
The sum of the absolute value of this complex number’s real and imaginary part.
source§fn simd_modulus(self) -> <WideF64x4 as SimdComplexField>::SimdRealField
fn simd_modulus(self) -> <WideF64x4 as SimdComplexField>::SimdRealField
The modulus of this complex number.
source§fn simd_modulus_squared(self) -> <WideF64x4 as SimdComplexField>::SimdRealField
fn simd_modulus_squared(self) -> <WideF64x4 as SimdComplexField>::SimdRealField
The squared modulus of this complex number.
source§fn simd_argument(self) -> <WideF64x4 as SimdComplexField>::SimdRealField
fn simd_argument(self) -> <WideF64x4 as SimdComplexField>::SimdRealField
The argument of this complex number.
source§fn simd_to_exp(
self
) -> (<WideF64x4 as SimdComplexField>::SimdRealField, WideF64x4)
fn simd_to_exp( self ) -> (<WideF64x4 as SimdComplexField>::SimdRealField, WideF64x4)
The exponential form of this complex number: (modulus, e^{i arg})
fn simd_recip(self) -> WideF64x4
fn simd_conjugate(self) -> WideF64x4
source§fn simd_scale(
self,
factor: <WideF64x4 as SimdComplexField>::SimdRealField
) -> WideF64x4
fn simd_scale( self, factor: <WideF64x4 as SimdComplexField>::SimdRealField ) -> WideF64x4
Multiplies this complex number by
factor
.source§fn simd_unscale(
self,
factor: <WideF64x4 as SimdComplexField>::SimdRealField
) -> WideF64x4
fn simd_unscale( self, factor: <WideF64x4 as SimdComplexField>::SimdRealField ) -> WideF64x4
Divides this complex number by
factor
.fn simd_floor(self) -> WideF64x4
fn simd_ceil(self) -> WideF64x4
fn simd_round(self) -> WideF64x4
fn simd_trunc(self) -> WideF64x4
fn simd_fract(self) -> WideF64x4
source§fn simd_abs(self) -> WideF64x4
fn simd_abs(self) -> WideF64x4
The absolute value of this complex number:
self / self.signum()
. Read moresource§fn simd_signum(self) -> WideF64x4
fn simd_signum(self) -> WideF64x4
The exponential part of this complex number:
self / self.modulus()
fn simd_mul_add(self, a: WideF64x4, b: WideF64x4) -> WideF64x4
fn simd_powi(self, n: i32) -> WideF64x4
fn simd_powf(self, n: WideF64x4) -> WideF64x4
fn simd_powc(self, n: WideF64x4) -> WideF64x4
fn simd_sqrt(self) -> WideF64x4
fn simd_exp(self) -> WideF64x4
fn simd_exp2(self) -> WideF64x4
fn simd_exp_m1(self) -> WideF64x4
fn simd_ln_1p(self) -> WideF64x4
fn simd_ln(self) -> WideF64x4
fn simd_log(self, base: WideF64x4) -> WideF64x4
fn simd_log2(self) -> WideF64x4
fn simd_log10(self) -> WideF64x4
fn simd_cbrt(self) -> WideF64x4
source§fn simd_hypot(
self,
other: WideF64x4
) -> <WideF64x4 as SimdComplexField>::SimdRealField
fn simd_hypot( self, other: WideF64x4 ) -> <WideF64x4 as SimdComplexField>::SimdRealField
Computes (self.conjugate() * self + other.conjugate() * other).sqrt()
fn simd_sin(self) -> WideF64x4
fn simd_cos(self) -> WideF64x4
fn simd_tan(self) -> WideF64x4
fn simd_asin(self) -> WideF64x4
fn simd_acos(self) -> WideF64x4
fn simd_atan(self) -> WideF64x4
fn simd_sin_cos(self) -> (WideF64x4, WideF64x4)
fn simd_sinh(self) -> WideF64x4
fn simd_cosh(self) -> WideF64x4
fn simd_tanh(self) -> WideF64x4
fn simd_asinh(self) -> WideF64x4
fn simd_acosh(self) -> WideF64x4
fn simd_atanh(self) -> WideF64x4
source§fn simd_to_polar(self) -> (Self::SimdRealField, Self::SimdRealField)
fn simd_to_polar(self) -> (Self::SimdRealField, Self::SimdRealField)
The polar form of this complex number: (modulus, arg)
fn simd_sinh_cosh(self) -> (Self, Self)
fn simd_sinhc(self) -> Self
fn simd_coshc(self) -> Self
source§impl SimdPartialOrd for WideF64x4
impl SimdPartialOrd for WideF64x4
source§fn simd_gt(self, other: WideF64x4) -> <WideF64x4 as SimdValue>::SimdBool
fn simd_gt(self, other: WideF64x4) -> <WideF64x4 as SimdValue>::SimdBool
Lanewise greater than
>
comparison.source§fn simd_lt(self, other: WideF64x4) -> <WideF64x4 as SimdValue>::SimdBool
fn simd_lt(self, other: WideF64x4) -> <WideF64x4 as SimdValue>::SimdBool
Lanewise less than
<
comparison.source§fn simd_ge(self, other: WideF64x4) -> <WideF64x4 as SimdValue>::SimdBool
fn simd_ge(self, other: WideF64x4) -> <WideF64x4 as SimdValue>::SimdBool
Lanewise greater or equal
>=
comparison.source§fn simd_le(self, other: WideF64x4) -> <WideF64x4 as SimdValue>::SimdBool
fn simd_le(self, other: WideF64x4) -> <WideF64x4 as SimdValue>::SimdBool
Lanewise less or equal
<=
comparison.source§fn simd_eq(self, other: WideF64x4) -> <WideF64x4 as SimdValue>::SimdBool
fn simd_eq(self, other: WideF64x4) -> <WideF64x4 as SimdValue>::SimdBool
Lanewise equal
==
comparison.source§fn simd_ne(self, other: WideF64x4) -> <WideF64x4 as SimdValue>::SimdBool
fn simd_ne(self, other: WideF64x4) -> <WideF64x4 as SimdValue>::SimdBool
Lanewise not equal
!=
comparison.source§fn simd_clamp(self, min: WideF64x4, max: WideF64x4) -> WideF64x4
fn simd_clamp(self, min: WideF64x4, max: WideF64x4) -> WideF64x4
Clamps each lane of
self
between the corresponding lane of min
and max
.source§impl SimdRealField for WideF64x4
impl SimdRealField for WideF64x4
fn simd_atan2(self, other: WideF64x4) -> WideF64x4
source§fn simd_copysign(self, sign: WideF64x4) -> WideF64x4
fn simd_copysign(self, sign: WideF64x4) -> WideF64x4
fn simd_default_epsilon() -> WideF64x4
fn simd_pi() -> WideF64x4
fn simd_two_pi() -> WideF64x4
fn simd_frac_pi_2() -> WideF64x4
fn simd_frac_pi_3() -> WideF64x4
fn simd_frac_pi_4() -> WideF64x4
fn simd_frac_pi_6() -> WideF64x4
fn simd_frac_pi_8() -> WideF64x4
fn simd_frac_1_pi() -> WideF64x4
fn simd_frac_2_pi() -> WideF64x4
fn simd_frac_2_sqrt_pi() -> WideF64x4
fn simd_e() -> WideF64x4
fn simd_log2_e() -> WideF64x4
fn simd_log10_e() -> WideF64x4
fn simd_ln_2() -> WideF64x4
fn simd_ln_10() -> WideF64x4
source§impl SimdSigned for WideF64x4
impl SimdSigned for WideF64x4
source§impl SimdValue for WideF64x4
impl SimdValue for WideF64x4
§type SimdBool = WideBoolF64x4
type SimdBool = WideBoolF64x4
Type of the result of comparing two SIMD values like
self
.source§fn splat(val: <WideF64x4 as SimdValue>::Element) -> WideF64x4
fn splat(val: <WideF64x4 as SimdValue>::Element) -> WideF64x4
Initializes an SIMD value with each lanes set to
val
.source§fn extract(&self, i: usize) -> <WideF64x4 as SimdValue>::Element
fn extract(&self, i: usize) -> <WideF64x4 as SimdValue>::Element
Extracts the i-th lane of
self
. Read moresource§unsafe fn extract_unchecked(
&self,
i: usize
) -> <WideF64x4 as SimdValue>::Element
unsafe fn extract_unchecked( &self, i: usize ) -> <WideF64x4 as SimdValue>::Element
Extracts the i-th lane of
self
without bound-checking.source§unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <WideF64x4 as SimdValue>::Element
)
unsafe fn replace_unchecked( &mut self, i: usize, val: <WideF64x4 as SimdValue>::Element )
Replaces the i-th lane of
self
by val
without bound-checking.source§impl SubAssign<WideF64x4> for WideF64x4
impl SubAssign<WideF64x4> for WideF64x4
source§fn sub_assign(&mut self, rhs: WideF64x4)
fn sub_assign(&mut self, rhs: WideF64x4)
Performs the
-=
operation. Read moresource§impl SubsetOf<WideF64x4> for WideF64x4
impl SubsetOf<WideF64x4> for WideF64x4
source§fn to_superset(&self) -> WideF64x4
fn to_superset(&self) -> WideF64x4
The inclusion map: converts
self
to the equivalent element of its superset.source§fn from_superset(element: &WideF64x4) -> Option<WideF64x4>
fn from_superset(element: &WideF64x4) -> Option<WideF64x4>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn from_superset_unchecked(element: &WideF64x4) -> WideF64x4
fn from_superset_unchecked(element: &WideF64x4) -> WideF64x4
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.source§fn is_in_subset(_: &WideF64x4) -> bool
fn is_in_subset(_: &WideF64x4) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).source§impl SubsetOf<WideF64x4> for f32
impl SubsetOf<WideF64x4> for f32
source§fn to_superset(&self) -> WideF64x4
fn to_superset(&self) -> WideF64x4
The inclusion map: converts
self
to the equivalent element of its superset.source§fn from_superset_unchecked(element: &WideF64x4) -> f32
fn from_superset_unchecked(element: &WideF64x4) -> f32
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.source§fn is_in_subset(c: &WideF64x4) -> bool
fn is_in_subset(c: &WideF64x4) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).source§impl SubsetOf<WideF64x4> for f64
impl SubsetOf<WideF64x4> for f64
source§fn to_superset(&self) -> WideF64x4
fn to_superset(&self) -> WideF64x4
The inclusion map: converts
self
to the equivalent element of its superset.source§fn from_superset_unchecked(element: &WideF64x4) -> f64
fn from_superset_unchecked(element: &WideF64x4) -> f64
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.source§fn is_in_subset(c: &WideF64x4) -> bool
fn is_in_subset(c: &WideF64x4) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).source§impl SubsetOf<WideF64x4> for i16
impl SubsetOf<WideF64x4> for i16
source§fn to_superset(&self) -> WideF64x4
fn to_superset(&self) -> WideF64x4
The inclusion map: converts
self
to the equivalent element of its superset.source§fn from_superset_unchecked(element: &WideF64x4) -> i16
fn from_superset_unchecked(element: &WideF64x4) -> i16
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.source§fn is_in_subset(c: &WideF64x4) -> bool
fn is_in_subset(c: &WideF64x4) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).source§impl SubsetOf<WideF64x4> for i32
impl SubsetOf<WideF64x4> for i32
source§fn to_superset(&self) -> WideF64x4
fn to_superset(&self) -> WideF64x4
The inclusion map: converts
self
to the equivalent element of its superset.source§fn from_superset_unchecked(element: &WideF64x4) -> i32
fn from_superset_unchecked(element: &WideF64x4) -> i32
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.source§fn is_in_subset(c: &WideF64x4) -> bool
fn is_in_subset(c: &WideF64x4) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).source§impl SubsetOf<WideF64x4> for i64
impl SubsetOf<WideF64x4> for i64
source§fn to_superset(&self) -> WideF64x4
fn to_superset(&self) -> WideF64x4
The inclusion map: converts
self
to the equivalent element of its superset.source§fn from_superset_unchecked(element: &WideF64x4) -> i64
fn from_superset_unchecked(element: &WideF64x4) -> i64
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.source§fn is_in_subset(c: &WideF64x4) -> bool
fn is_in_subset(c: &WideF64x4) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).source§impl SubsetOf<WideF64x4> for i8
impl SubsetOf<WideF64x4> for i8
source§fn to_superset(&self) -> WideF64x4
fn to_superset(&self) -> WideF64x4
The inclusion map: converts
self
to the equivalent element of its superset.source§fn from_superset_unchecked(element: &WideF64x4) -> i8
fn from_superset_unchecked(element: &WideF64x4) -> i8
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.source§fn is_in_subset(c: &WideF64x4) -> bool
fn is_in_subset(c: &WideF64x4) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).source§impl SubsetOf<WideF64x4> for isize
impl SubsetOf<WideF64x4> for isize
source§fn to_superset(&self) -> WideF64x4
fn to_superset(&self) -> WideF64x4
The inclusion map: converts
self
to the equivalent element of its superset.source§fn from_superset_unchecked(element: &WideF64x4) -> isize
fn from_superset_unchecked(element: &WideF64x4) -> isize
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.source§fn is_in_subset(c: &WideF64x4) -> bool
fn is_in_subset(c: &WideF64x4) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).source§impl SubsetOf<WideF64x4> for u16
impl SubsetOf<WideF64x4> for u16
source§fn to_superset(&self) -> WideF64x4
fn to_superset(&self) -> WideF64x4
The inclusion map: converts
self
to the equivalent element of its superset.source§fn from_superset_unchecked(element: &WideF64x4) -> u16
fn from_superset_unchecked(element: &WideF64x4) -> u16
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.source§fn is_in_subset(c: &WideF64x4) -> bool
fn is_in_subset(c: &WideF64x4) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).source§impl SubsetOf<WideF64x4> for u32
impl SubsetOf<WideF64x4> for u32
source§fn to_superset(&self) -> WideF64x4
fn to_superset(&self) -> WideF64x4
The inclusion map: converts
self
to the equivalent element of its superset.source§fn from_superset_unchecked(element: &WideF64x4) -> u32
fn from_superset_unchecked(element: &WideF64x4) -> u32
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.source§fn is_in_subset(c: &WideF64x4) -> bool
fn is_in_subset(c: &WideF64x4) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).source§impl SubsetOf<WideF64x4> for u64
impl SubsetOf<WideF64x4> for u64
source§fn to_superset(&self) -> WideF64x4
fn to_superset(&self) -> WideF64x4
The inclusion map: converts
self
to the equivalent element of its superset.source§fn from_superset_unchecked(element: &WideF64x4) -> u64
fn from_superset_unchecked(element: &WideF64x4) -> u64
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.source§fn is_in_subset(c: &WideF64x4) -> bool
fn is_in_subset(c: &WideF64x4) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).source§impl SubsetOf<WideF64x4> for u8
impl SubsetOf<WideF64x4> for u8
source§fn to_superset(&self) -> WideF64x4
fn to_superset(&self) -> WideF64x4
The inclusion map: converts
self
to the equivalent element of its superset.source§fn from_superset_unchecked(element: &WideF64x4) -> u8
fn from_superset_unchecked(element: &WideF64x4) -> u8
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.source§fn is_in_subset(c: &WideF64x4) -> bool
fn is_in_subset(c: &WideF64x4) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).source§impl SubsetOf<WideF64x4> for usize
impl SubsetOf<WideF64x4> for usize
source§fn to_superset(&self) -> WideF64x4
fn to_superset(&self) -> WideF64x4
The inclusion map: converts
self
to the equivalent element of its superset.source§fn from_superset_unchecked(element: &WideF64x4) -> usize
fn from_superset_unchecked(element: &WideF64x4) -> usize
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.source§fn is_in_subset(c: &WideF64x4) -> bool
fn is_in_subset(c: &WideF64x4) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).impl Copy for WideF64x4
impl Field for WideF64x4
impl PrimitiveSimdValue for WideF64x4
Auto Trait Implementations§
impl RefUnwindSafe for WideF64x4
impl Send for WideF64x4
impl Sync for WideF64x4
impl Unpin for WideF64x4
impl UnwindSafe for WideF64x4
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.