Docs.rs
lokacore-0.1.5
lokacore 0.1.5
Docs.rs crate page
0BSD
Links
Repository
crates.io
Source
Owners
Lokathor
Dependencies
serde ^1
normal
bincode ^1.0
dev
libm ^0.1.4
normal
Versions
Go to latest version
Platform
i686-apple-darwin
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
lokacore
[
−
]
[src]
Function
lokacore
::
try_cast
pub fn try_cast<A:
Pod
, B:
Pod
>(a: A) ->
Result
<B,
PodCastError
>
Try to cast
T
into
U
.
Failure
If the types don't have the same size this fails.