[][src]Trait cpp_core::CastInto

pub trait CastInto<T>: Sized {
    unsafe fn cast_into(self) -> T;

Performs some of the conversions that are available implicitly in C++.

CastInto is automatically implemented for all CastFrom conversions, similar to From and Into traits from std.

Required methods

unsafe fn cast_into(self) -> T

Performs the conversion.


This operation is safe as long as self is valid.

Loading content...


impl<T, U: CastFrom<T>> CastInto<U> for T[src]

Loading content...