Struct fidl_next::f64_le

#[repr(C, align(8))]
pub struct f64_le(/* private fields */);
Expand description

A little-endian f64 with a guaranteed size and alignment of 8.

Implementations§

§

impl f64_le

pub const fn from_native(value: f64) -> f64_le

Returns a f64_le containing value.

pub const fn to_native(self) -> f64

Returns a f64 with the same value as self.

Trait Implementations§

§

impl Add<&f64> for &f64_le

§

type Output = f64

The resulting type after applying the + operator.
§

fn add(self, other: &f64) -> <&f64_le as Add<&f64>>::Output

Performs the + operation. Read more
§

impl Add<&f64> for f64_le

§

type Output = f64

The resulting type after applying the + operator.
§

fn add(self, other: &f64) -> <f64_le as Add<&f64>>::Output

Performs the + operation. Read more
§

impl Add<&f64_le> for &f64_le

§

type Output = f64

The resulting type after applying the + operator.
§

fn add(self, other: &f64_le) -> <&f64_le as Add<&f64_le>>::Output

Performs the + operation. Read more
§

impl Add<&f64_le> for f64_le

§

type Output = f64

The resulting type after applying the + operator.
§

fn add(self, other: &f64_le) -> <f64_le as Add<&f64_le>>::Output

Performs the + operation. Read more
§

impl Add<f64> for &f64_le

§

type Output = f64

The resulting type after applying the + operator.
§

fn add(self, other: f64) -> <&f64_le as Add<f64>>::Output

Performs the + operation. Read more
§

impl Add<f64> for f64_le

§

type Output = f64

The resulting type after applying the + operator.
§

fn add(self, other: f64) -> <f64_le as Add<f64>>::Output

Performs the + operation. Read more
§

impl Add<f64_le> for &f64_le

§

type Output = f64

The resulting type after applying the + operator.
§

fn add(self, other: f64_le) -> <&f64_le as Add<f64_le>>::Output

Performs the + operation. Read more
§

impl Add for f64_le

§

type Output = f64

The resulting type after applying the + operator.
§

fn add(self, other: f64_le) -> <f64_le as Add>::Output

Performs the + operation. Read more
§

impl AddAssign<&f64> for f64_le

§

fn add_assign(&mut self, other: &f64)

Performs the += operation. Read more
§

impl AddAssign<&f64_le> for f64_le

§

fn add_assign(&mut self, other: &f64_le)

Performs the += operation. Read more
§

impl AddAssign<f64> for f64_le

§

fn add_assign(&mut self, other: f64)

Performs the += operation. Read more
§

impl AddAssign for f64_le

§

fn add_assign(&mut self, other: f64_le)

Performs the += operation. Read more
§

impl Clone for f64_le

§

fn clone(&self) -> f64_le

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for f64_le

§

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

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

impl<D: ?Sized> Decode<D> for f64_le

source§

fn decode(_: Slot<'_, Self>, _: &mut D) -> Result<(), DecodeError>

Decodes a value into a slot using a decoder. Read more
§

impl Default for f64_le

§

fn default() -> f64_le

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

impl Display for f64_le

§

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

Formats the value using the given formatter. Read more
§

impl Div<&f64> for &f64_le

§

type Output = f64

The resulting type after applying the / operator.
§

fn div(self, other: &f64) -> <&f64_le as Div<&f64>>::Output

Performs the / operation. Read more
§

impl Div<&f64> for f64_le

§

type Output = f64

The resulting type after applying the / operator.
§

fn div(self, other: &f64) -> <f64_le as Div<&f64>>::Output

Performs the / operation. Read more
§

impl Div<&f64_le> for &f64_le

§

type Output = f64

The resulting type after applying the / operator.
§

fn div(self, other: &f64_le) -> <&f64_le as Div<&f64_le>>::Output

Performs the / operation. Read more
§

impl Div<&f64_le> for f64_le

§

type Output = f64

The resulting type after applying the / operator.
§

fn div(self, other: &f64_le) -> <f64_le as Div<&f64_le>>::Output

Performs the / operation. Read more
§

impl Div<f64> for &f64_le

§

type Output = f64

The resulting type after applying the / operator.
§

fn div(self, other: f64) -> <&f64_le as Div<f64>>::Output

Performs the / operation. Read more
§

impl Div<f64> for f64_le

§

type Output = f64

The resulting type after applying the / operator.
§

fn div(self, other: f64) -> <f64_le as Div<f64>>::Output

Performs the / operation. Read more
§

impl Div<f64_le> for &f64_le

§

type Output = f64

The resulting type after applying the / operator.
§

fn div(self, other: f64_le) -> <&f64_le as Div<f64_le>>::Output

Performs the / operation. Read more
§

impl Div for f64_le

§

type Output = f64

The resulting type after applying the / operator.
§

fn div(self, other: f64_le) -> <f64_le as Div>::Output

Performs the / operation. Read more
§

impl DivAssign<&f64> for f64_le

§

fn div_assign(&mut self, other: &f64)

Performs the /= operation. Read more
§

impl DivAssign<&f64_le> for f64_le

§

fn div_assign(&mut self, other: &f64_le)

Performs the /= operation. Read more
§

impl DivAssign<f64> for f64_le

§

fn div_assign(&mut self, other: f64)

Performs the /= operation. Read more
§

impl DivAssign for f64_le

§

fn div_assign(&mut self, other: f64_le)

Performs the /= operation. Read more
source§

impl Encodable for f64_le

§

type Encoded<'buf> = f64_le

The wire type for the value.
source§

impl EncodableOption for f64_le

§

type EncodedOption<'buf> = WireBox<'buf, f64_le>

The wire type for the optional value.
source§

impl<E: ?Sized> Encode<E> for f64_le

source§

fn encode( &mut self, _: &mut E, slot: Slot<'_, Self::Encoded<'_>>, ) -> Result<(), EncodeError>

Encodes this value into an encoder and slot.
source§

impl<E: Encoder + ?Sized> EncodeOption<E> for f64_le

source§

fn encode_option( this: Option<&mut Self>, encoder: &mut E, slot: Slot<'_, Self::EncodedOption<'_>>, ) -> Result<(), EncodeError>

Encodes this optional value into an encoder and slot.
§

impl<'a> From<&'a f64> for f64_le

§

fn from(value: &'a f64) -> f64_le

Converts to this type from the input type.
§

impl From<f64> for f64_le

§

fn from(value: f64) -> f64_le

Converts to this type from the input type.
§

impl FromBytes for f64_le
where f64: FromBytes,

§

fn ref_from_bytes( source: &[u8], ) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where Self: KnownLayout + Immutable,

Interprets the given source as a &Self. Read more
§

fn ref_from_prefix( source: &[u8], ) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where Self: KnownLayout + Immutable,

Interprets the prefix of the given source as a &Self without copying. Read more
§

fn ref_from_suffix( source: &[u8], ) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
where Self: Immutable + KnownLayout,

Interprets the suffix of the given bytes as a &Self. Read more
§

fn mut_from_bytes( source: &mut [u8], ) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where Self: IntoBytes + KnownLayout,

Interprets the given source as a &mut Self. Read more
§

fn mut_from_prefix( source: &mut [u8], ) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where Self: IntoBytes + KnownLayout,

Interprets the prefix of the given source as a &mut Self without copying. Read more
§

fn mut_from_suffix( source: &mut [u8], ) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
where Self: IntoBytes + KnownLayout,

Interprets the suffix of the given source as a &mut Self without copying. Read more
§

fn read_from_bytes(source: &[u8]) -> Result<Self, SizeError<&[u8], Self>>
where Self: Sized,

Reads a copy of Self from the given source. Read more
§

fn read_from_prefix( source: &[u8], ) -> Result<(Self, &[u8]), SizeError<&[u8], Self>>
where Self: Sized,

Reads a copy of Self from the prefix of the given source. Read more
§

fn read_from_suffix( source: &[u8], ) -> Result<(&[u8], Self), SizeError<&[u8], Self>>
where Self: Sized,

Reads a copy of Self from the suffix of the given source. Read more
§

impl FromZeros for f64_le
where f64: FromZeros,

§

fn zero(&mut self)

Overwrites self with zeros. Read more
§

fn new_zeroed() -> Self
where Self: Sized,

Creates an instance of Self from zeroed bytes. Read more
§

impl IntoBytes for f64_le
where f64: IntoBytes, (): PaddingFree<f64_le, rend::::{impl#3345}::{constant#0}>,

§

fn as_bytes(&self) -> &[u8]
where Self: Immutable,

Gets the bytes of this value. Read more
§

fn as_mut_bytes(&mut self) -> &mut [u8]
where Self: FromBytes,

Gets the bytes of this value mutably. Read more
§

fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>
where Self: Immutable,

Writes a copy of self to dst. Read more
§

fn write_to_prefix( &self, dst: &mut [u8], ) -> Result<(), SizeError<&Self, &mut [u8]>>
where Self: Immutable,

Writes a copy of self to the prefix of dst. Read more
§

fn write_to_suffix( &self, dst: &mut [u8], ) -> Result<(), SizeError<&Self, &mut [u8]>>
where Self: Immutable,

Writes a copy of self to the suffix of dst. Read more
§

impl KnownLayout for f64_le
where f64: KnownLayout,

§

type PointerMetadata = <f64 as KnownLayout>::PointerMetadata

The type of metadata stored in a pointer to Self. Read more
§

impl LowerExp for f64_le

§

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

Formats the value using the given formatter. Read more
§

impl Mul<&f64> for &f64_le

§

type Output = f64

The resulting type after applying the * operator.
§

fn mul(self, other: &f64) -> <&f64_le as Mul<&f64>>::Output

Performs the * operation. Read more
§

impl Mul<&f64> for f64_le

§

type Output = f64

The resulting type after applying the * operator.
§

fn mul(self, other: &f64) -> <f64_le as Mul<&f64>>::Output

Performs the * operation. Read more
§

impl Mul<&f64_le> for &f64_le

§

type Output = f64

The resulting type after applying the * operator.
§

fn mul(self, other: &f64_le) -> <&f64_le as Mul<&f64_le>>::Output

Performs the * operation. Read more
§

impl Mul<&f64_le> for f64_le

§

type Output = f64

The resulting type after applying the * operator.
§

fn mul(self, other: &f64_le) -> <f64_le as Mul<&f64_le>>::Output

Performs the * operation. Read more
§

impl Mul<f64> for &f64_le

§

type Output = f64

The resulting type after applying the * operator.
§

fn mul(self, other: f64) -> <&f64_le as Mul<f64>>::Output

Performs the * operation. Read more
§

impl Mul<f64> for f64_le

§

type Output = f64

The resulting type after applying the * operator.
§

fn mul(self, other: f64) -> <f64_le as Mul<f64>>::Output

Performs the * operation. Read more
§

impl Mul<f64_le> for &f64_le

§

type Output = f64

The resulting type after applying the * operator.
§

fn mul(self, other: f64_le) -> <&f64_le as Mul<f64_le>>::Output

Performs the * operation. Read more
§

impl Mul for f64_le

§

type Output = f64

The resulting type after applying the * operator.
§

fn mul(self, other: f64_le) -> <f64_le as Mul>::Output

Performs the * operation. Read more
§

impl MulAssign<&f64> for f64_le

§

fn mul_assign(&mut self, other: &f64)

Performs the *= operation. Read more
§

impl MulAssign<&f64_le> for f64_le

§

fn mul_assign(&mut self, other: &f64_le)

Performs the *= operation. Read more
§

impl MulAssign<f64> for f64_le

§

fn mul_assign(&mut self, other: f64)

Performs the *= operation. Read more
§

impl MulAssign for f64_le

§

fn mul_assign(&mut self, other: f64_le)

Performs the *= operation. Read more
§

impl Neg for f64_le

§

type Output = <f64 as Neg>::Output

The resulting type after applying the - operator.
§

fn neg(self) -> <f64_le as Neg>::Output

Performs the unary - operation. Read more
§

impl PartialEq<f64> for f64_le

§

fn eq(&self, other: &f64) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl PartialEq for f64_le

§

fn eq(&self, other: &f64_le) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl PartialOrd<f64> for f64_le

§

fn partial_cmp(&self, other: &f64) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
§

impl PartialOrd for f64_le

§

fn partial_cmp(&self, other: &f64_le) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
§

impl Product for f64_le

§

fn product<I>(iter: I) -> f64_le
where I: Iterator<Item = f64_le>,

Method which takes an iterator and generates Self from the elements by multiplying the items.
§

impl Rem<&f64> for &f64_le

§

type Output = f64

The resulting type after applying the % operator.
§

fn rem(self, other: &f64) -> <&f64_le as Rem<&f64>>::Output

Performs the % operation. Read more
§

impl Rem<&f64> for f64_le

§

type Output = f64

The resulting type after applying the % operator.
§

fn rem(self, other: &f64) -> <f64_le as Rem<&f64>>::Output

Performs the % operation. Read more
§

impl Rem<&f64_le> for &f64_le

§

type Output = f64

The resulting type after applying the % operator.
§

fn rem(self, other: &f64_le) -> <&f64_le as Rem<&f64_le>>::Output

Performs the % operation. Read more
§

impl Rem<&f64_le> for f64_le

§

type Output = f64

The resulting type after applying the % operator.
§

fn rem(self, other: &f64_le) -> <f64_le as Rem<&f64_le>>::Output

Performs the % operation. Read more
§

impl Rem<f64> for &f64_le

§

type Output = f64

The resulting type after applying the % operator.
§

fn rem(self, other: f64) -> <&f64_le as Rem<f64>>::Output

Performs the % operation. Read more
§

impl Rem<f64> for f64_le

§

type Output = f64

The resulting type after applying the % operator.
§

fn rem(self, other: f64) -> <f64_le as Rem<f64>>::Output

Performs the % operation. Read more
§

impl Rem<f64_le> for &f64_le

§

type Output = f64

The resulting type after applying the % operator.
§

fn rem(self, other: f64_le) -> <&f64_le as Rem<f64_le>>::Output

Performs the % operation. Read more
§

impl Rem for f64_le

§

type Output = f64

The resulting type after applying the % operator.
§

fn rem(self, other: f64_le) -> <f64_le as Rem>::Output

Performs the % operation. Read more
§

impl RemAssign<&f64> for f64_le

§

fn rem_assign(&mut self, other: &f64)

Performs the %= operation. Read more
§

impl RemAssign<&f64_le> for f64_le

§

fn rem_assign(&mut self, other: &f64_le)

Performs the %= operation. Read more
§

impl RemAssign<f64> for f64_le

§

fn rem_assign(&mut self, other: f64)

Performs the %= operation. Read more
§

impl RemAssign for f64_le

§

fn rem_assign(&mut self, other: f64_le)

Performs the %= operation. Read more
§

impl Sub<&f64> for &f64_le

§

type Output = f64

The resulting type after applying the - operator.
§

fn sub(self, other: &f64) -> <&f64_le as Sub<&f64>>::Output

Performs the - operation. Read more
§

impl Sub<&f64> for f64_le

§

type Output = f64

The resulting type after applying the - operator.
§

fn sub(self, other: &f64) -> <f64_le as Sub<&f64>>::Output

Performs the - operation. Read more
§

impl Sub<&f64_le> for &f64_le

§

type Output = f64

The resulting type after applying the - operator.
§

fn sub(self, other: &f64_le) -> <&f64_le as Sub<&f64_le>>::Output

Performs the - operation. Read more
§

impl Sub<&f64_le> for f64_le

§

type Output = f64

The resulting type after applying the - operator.
§

fn sub(self, other: &f64_le) -> <f64_le as Sub<&f64_le>>::Output

Performs the - operation. Read more
§

impl Sub<f64> for &f64_le

§

type Output = f64

The resulting type after applying the - operator.
§

fn sub(self, other: f64) -> <&f64_le as Sub<f64>>::Output

Performs the - operation. Read more
§

impl Sub<f64> for f64_le

§

type Output = f64

The resulting type after applying the - operator.
§

fn sub(self, other: f64) -> <f64_le as Sub<f64>>::Output

Performs the - operation. Read more
§

impl Sub<f64_le> for &f64_le

§

type Output = f64

The resulting type after applying the - operator.
§

fn sub(self, other: f64_le) -> <&f64_le as Sub<f64_le>>::Output

Performs the - operation. Read more
§

impl Sub for f64_le

§

type Output = f64

The resulting type after applying the - operator.
§

fn sub(self, other: f64_le) -> <f64_le as Sub>::Output

Performs the - operation. Read more
§

impl SubAssign<&f64> for f64_le

§

fn sub_assign(&mut self, other: &f64)

Performs the -= operation. Read more
§

impl SubAssign<&f64_le> for f64_le

§

fn sub_assign(&mut self, other: &f64_le)

Performs the -= operation. Read more
§

impl SubAssign<f64> for f64_le

§

fn sub_assign(&mut self, other: f64)

Performs the -= operation. Read more
§

impl SubAssign for f64_le

§

fn sub_assign(&mut self, other: f64_le)

Performs the -= operation. Read more
§

impl Sum for f64_le

§

fn sum<I>(iter: I) -> f64_le
where I: Iterator<Item = f64_le>,

Method which takes an iterator and generates Self from the elements by “summing up” the items.
source§

impl TakeFrom<f64_le> for f64

source§

fn take_from(from: &mut f64_le) -> f64

Converts from the given T, taking any resources that can’t be cloned.
source§

impl TakeFrom<f64_le> for f64_le

source§

fn take_from(from: &mut f64_le) -> f64_le

Converts from the given T, taking any resources that can’t be cloned.
§

impl TryFromBytes for f64_le
where f64: TryFromBytes,

§

fn try_ref_from_bytes( source: &[u8], ) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: KnownLayout + Immutable,

Attempts to interpret the given source as a &Self. Read more
§

fn try_ref_from_prefix( source: &[u8], ) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: KnownLayout + Immutable,

Attempts to interpret the prefix of the given source as a &Self. Read more
§

fn try_ref_from_suffix( source: &[u8], ) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: KnownLayout + Immutable,

Attempts to interpret the suffix of the given source as a &Self. Read more
§

fn try_mut_from_bytes( bytes: &mut [u8], ) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where Self: KnownLayout,

Attempts to interpret the given source as a &mut Self without copying. Read more
§

fn try_mut_from_prefix( source: &mut [u8], ) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where Self: KnownLayout,

Attempts to interpret the prefix of the given source as a &mut Self. Read more
§

fn try_mut_from_suffix( source: &mut [u8], ) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
where Self: KnownLayout,

Attempts to interpret the suffix of the given source as a &mut Self. Read more
§

fn try_read_from_bytes( source: &[u8], ) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: Sized,

Attempts to read the given source as a Self. Read more
§

fn try_read_from_prefix( source: &[u8], ) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: Sized,

Attempts to read a Self from the prefix of the given source. Read more
§

fn try_read_from_suffix( source: &[u8], ) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: Sized,

Attempts to read a Self from the suffix of the given source. Read more
§

impl UpperExp for f64_le

§

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

Formats the value using the given formatter. Read more
§

impl Copy for f64_le

§

impl Eq for f64_le

§

impl Immutable for f64_le
where f64: Immutable,

Auto Trait Implementations§

§

impl Freeze for f64_le

§

impl RefUnwindSafe for f64_le

§

impl Send for f64_le

§

impl Sync for f64_le

§

impl Unpin for f64_le

§

impl UnwindSafe for f64_le

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

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

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

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

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

source§

fn into(self) -> U

Calls U::from(self).

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

source§

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

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

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

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

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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.
source§

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

Performs the conversion.