Home
last modified time | relevance | path

Searched refs:CastToUnit (Results 1 – 3 of 3) sorted by relevance

/linux/rust/zerocopy/src/pointer/
H A Dmod.rs397 pub struct CastToUnit; struct
401 unsafe impl<T: ?Sized> Project<T, ()> for CastToUnit { implementation
409 unsafe impl<T: ?Sized> Cast<T, ()> for CastToUnit {} implementation
/linux/rust/zerocopy-derive/derive/
H A Dtry_from_bytes.rs486 type ProjectToTag = #zerocopy_crate::pointer::cast::CastToUnit; in derive_has_field_struct_union()
/linux/rust/zerocopy/src/
H A Dimpls.rs781 type ProjectToTag = crate::pointer::cast::CastToUnit;
1048 type ProjectToTag = crate::pointer::cast::CastToUnit;