#tymethod.from) (t: T) -> T

Returns the argument unchanged.

[ source ](../../src/core/convert/mod.rs.html#747-749) Â§

###  impl<T, U> [ Into ](../convert/trait.Into.html "trait
std::convert::Into") <U> for T

where U: [ From ](../convert/trait.From.html "trait std::convert::From") <T>,

[ source ](../../src/core/convert/mod.rs.html#757) Â§

####  fn [ into ](../convert/trait.Into.html#tymethod.into) (self) -> U

Calls ` U::from(self) ` .

That is, this conversion is whatever the implementation of ` [ From
](../convert/trait.From.html "trait std::convert::From") <T> for U ` chooses
to do.

[ source ](../../src/alloc/borrow.rs.html#83-85) Â§

###  impl<T> [ ToOwned ](../borrow/trait.ToOwned.html "trait
std::borrow::ToOwned") for T

where T: [ Clone ](../clone/trait.Clone.html "trait std::clone::Clone") ,

Â§

####  type [ Owned ](../borrow/trait.ToOwned.html#associatedtype.Owned) = T

The resulting type after obtaining ownership.

[ source ](../../src/alloc/borrow.rs.html#88) Â§

####  fn [ to_owned ](../borrow/trait.ToOwned.html#tymethod.to_owned) (&self)
-> T

Creates owned data from borrowed data, usually by cloning. [ Read more
](../borrow/trait.ToOwned.html#tymethod.to_owned)

[ source ](../../src/alloc/borrow.rs.html#92) Â§

####  fn [ clone_into ](../borrow/trait.ToOwned.html#method.clone_into)
(&self, target: [ &mut T ](../primitive.reference.html) )

Uses borrowed data to replace owned data, usually by cloning. [ Read more
](../borrow/trait.ToOwned.html#method.clone_into)

[ source ](../../src/core/convert/mod.rs.html#804-806) Â§

###  impl<T, U> [ TryFrom ](../convert/trait.TryFrom.html "trait
std::convert::TryFrom") <U> for T

where U: [ Into ](../convert/trait.Into.html "trait std::convert::Into") <T>,

Â§

####  type [ Error ](../convert/trait.TryFrom.html#associatedtype.Error) = [
Infallible ](../convert/enum.Infallible.html "enum std::convert::Infallible")

The type returned in the event of a conversion error.

[ source ](../../src/core/convert/mod.rs.html#811) Â§

####  fn [ try_from ](../convert/trait.TryFrom.html#tymethod.try_from) (value:
U) -> [ Result ](../result/enum.Result.html "enum std::result::Result") <T, <T
as [ TryFrom ](../convert/trait.TryFrom.html "trait std::convert::TryFrom")
<U>>:: [ Error ](../convert/trait.TryFrom.html#associatedtype.Error "type
std::convert::TryFrom::Error") >

Performs the conversion.

[ source ](../../src/core/convert/mod.rs.html#789-791) Â§

###  impl<T, U> [ TryInto ](../convert/trait.TryInto.html "trait
std::convert::TryInto") <U> for T

where U: [ TryFrom ](../convert/trait.TryFrom.html "trait
std::convert::TryFrom") <T>,

Â§

####  type [ Error ](../convert/trait.TryInto.html#associatedtype.Error) = <U
as [ TryFrom ](../convert/trait.TryFrom.html "trait std::convert::TryFrom")
<T>>:: [ Error ](../convert/trait.TryFrom.html#associatedtype.Error "type
std::convert::TryFrom::Error")

The type returned in the event of a conversion error.

[ source ](../../src/core/convert/mod.rs.html#796) Â§

####  fn [ try_into ](../convert/trait.TryInto.html#tymethod.try_into) (self)
-> [ Result ](../result/enum.Result.html "enum std::result::Result") <U, <U as
[ TryFrom ](../convert/trait.TryFrom.html "trait std::convert::TryFrom")
<T>>:: [ Error ](../convert/trait.TryFrom.html#associatedtype.Error "type
std::convert::TryFrom::Error") >

Performs the conversion.