doc.rust-lang.org
pub macro concat!
Concatenates literals into a static string slice.
macro
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod convert
Traits for conversions between types.
module
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait AsMut<T>
Used to do a cheap mutable-to-mutable reference conversion.
trait
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn as_mut(&mut self) -> &mut T
Converts this type into a mutable reference of the (usually inferred) input type.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait AsRef<T>
Used to do a cheap reference-to-reference conversion.
trait
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn as_ref(&self) -> &T
Converts this type into a shared reference of the (usually inferred) input type.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait From<T>
Used to do value-to-value conversions while consuming the input value. It is the reciprocal of Into.
trait
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn from(value: T) -> Self
Converts to this type from the input type.
associated_function
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub enum Infallible
The error type for errors that can never happen.
enum
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait Into<T>
A value-to-value conversion that consumes the input value. The opposite of From.
trait
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn into(self) -> T
Converts this type into the (usually inferred) input type.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait TryFrom<T>
Simple and safe type conversions that may fail in a controlled way under some circumstances. It is the reciprocal of TryInto.
trait
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
type Error
The type returned in the event of a conversion error.
associated_type
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
fn try_from(value: T) -> Result<Self, <Self as >::Error>
Performs the conversion.
associated_function
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait TryInto<T>
An attempted conversion that consumes self, which may or may not be expensive.
trait
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
type Error
The type returned in the event of a conversion error.
associated_type
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
fn try_into(self) -> Result<T, <Self as >::Error>
Performs the conversion.
method
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn identity<T>(x: T) -> T
The identity function.
function
core
Stable since 1.33.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct float64x1_t
ARM-specific 64-bit wide vector of one packed f64.
struct
core
Stable since 1.59.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct float64x1x2_t
ARM-specific type containing two float64x1_t vectors.
struct
core
Stable since 1.59.0
Version 1.100.0-nightly