Home
last modified time | relevance | path

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

/linux/rust/zerocopy/src/
H A Dsplit_at.rs65 type Elem; typedef
254 type Elem = T; typedef
369 pub fn via_immutable(self) -> (&'a T, &'a [T::Elem]) in via_immutable()
418 pub fn via_into_bytes(self) -> (&'a T, &'a [T::Elem]) in via_into_bytes()
467 pub fn via_unaligned(self) -> (&'a T, &'a [T::Elem]) in via_unaligned()
554 pub fn via_runtime_check(self) -> Result<(&'a T, &'a [T::Elem]), Self> { in via_runtime_check() argument
591 pub unsafe fn via_unchecked(self) -> (&'a T, &'a [T::Elem]) { in via_unchecked() argument
660 pub fn via_into_bytes(self) -> (&'a mut T, &'a mut [T::Elem]) in via_into_bytes()
716 pub fn via_unaligned(self) -> (&'a mut T, &'a mut [T::Elem]) in via_unaligned()
774 pub fn via_runtime_check(self) -> Result<(&'a mut T, &'a mut [T::Elem]), Self> { in via_runtime_check() argument
[all …]
/linux/rust/zerocopy-derive/derive/
H A Dmod.rs133 type Elem = <#trailing_field as #zerocopy_crate::SplitAt>::Elem; in derive_split_at()
/linux/rust/zerocopy/src/pointer/
H A Dinner.rs301 ) -> (Self, PtrInner<'a, [T::Elem]>) in split_at_unchecked()
335 pub fn trailing_slice(self) -> PtrInner<'a, [T::Elem]> in trailing_slice()