Searched refs:try_cast_into (Results 1 – 4 of 4) sorted by relevance
| /linux/rust/zerocopy/src/pointer/ |
| H A D | ptr.rs | 1099 pub fn try_cast_into<U, R>( in try_cast_into() function 1111 let (inner, remainder) = self.as_inner().try_cast_into(cast_type, meta).map_err( in try_cast_into() 1184 |slf| match slf.try_cast_into(CastType::Prefix, meta) { in try_cast_into_no_leftover() 1414 .try_cast_into::<T, BecauseImmutable>(cast_type, meta) in test() 1514 ptr.try_cast_into::<$ty, BecauseImmutable>(CastType::Prefix, Some($elems)); in test_try_cast_into_explicit_count()
|
| H A D | inner.rs | 563 pub fn try_cast_into<U>( in try_cast_into() method
|
| /linux/rust/zerocopy/src/ |
| H A D | ref.rs | 368 .try_cast_into::<T, BecauseImmutable>(CastType::Prefix, None) in from_prefix() 433 .try_cast_into::<T, BecauseImmutable>(CastType::Suffix, None) in from_suffix()
|
| H A D | lib.rs | 3303 match Ptr::from_ref(source).try_cast_into::<T, BecauseImmutable>(cast_type, meta) { in try_ref_from_prefix_suffix() 3323 match Ptr::from_mut(candidate).try_cast_into::<T, BecauseExclusive>(cast_type, meta) { in try_mut_from_prefix_suffix() 5481 .try_cast_into::<_, BecauseImmutable>(cast_type, meta) in ref_from_prefix_suffix() 5501 .try_cast_into::<_, BecauseExclusive>(cast_type, meta) in mut_from_prefix_suffix()
|