Function std::cast::transmute_region
pub unsafe fn transmute_region<'a, 'b, T>(ptr: &'a T) -> &'b T
Coerce a reference to have an arbitrary associated region.
pub unsafe fn transmute_region<'a, 'b, T>(ptr: &'a T) -> &'b T
Coerce a reference to have an arbitrary associated region.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).