Trait CastInto

Source
pub trait CastInto<T>: CastIntoComposite<T, Output = T> { }
Expand description

Might lose some precision. Same semantics as the as keyword: 4f32 as u64

Implementors§

Source§

impl<T, T2> CastInto<T> for T2
where T2: CastIntoComposite<T, Output = T>,