/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/bytemuck-1.15.0/src/ |
H A D | lib.rs | 191 pub enum PodCastError { enum 212 impl core::fmt::Display for PodCastError { implementation 219 impl std::error::Error for PodCastError {} implementation 269 ) -> Result<T, PodCastError> { in try_pod_read_unaligned() argument 292 pub fn try_from_bytes<T: AnyBitPattern>(s: &[u8]) -> Result<&T, PodCastError> { in try_from_bytes() argument 305 ) -> Result<&mut T, PodCastError> { in try_from_bytes_mut() argument 400 ) -> Result<B, PodCastError> { in try_cast() argument 413 ) -> Result<&B, PodCastError> { in try_cast_ref() argument 426 ) -> Result<&mut B, PodCastError> { in try_cast_mut() argument 448 ) -> Result<&[B], PodCastError> { in try_cast_slice() argument [all …]
|
H A D | internal.rs | 113 ) -> Result<T, PodCastError> { in try_pod_read_unaligned() argument 162 ) -> Result<&T, PodCastError> { in try_from_bytes() argument 181 ) -> Result<&mut T, PodCastError> { in try_from_bytes_mut() argument 286 ) -> Result<B, PodCastError> { in try_cast() argument 303 ) -> Result<&B, PodCastError> { in try_cast_ref() argument 323 ) -> Result<&mut B, PodCastError> { in try_cast_mut() argument 355 ) -> Result<&[B], PodCastError> { in try_cast_slice() argument 381 ) -> Result<&mut [B], PodCastError> { in try_cast_slice_mut() argument
|
H A D | allocation.rs | 42 ) -> Result<Box<B>, (PodCastError, Box<A>)> { in try_cast_box() 167 ) -> Result<Box<[B]>, (PodCastError, Box<[A]>)> { in try_cast_slice_box() 217 ) -> Result<Vec<B>, (PodCastError, Vec<A>)> { in try_cast_vec() 326 ) -> Result<Rc<B>, (PodCastError, Rc<A>)> { in try_cast_rc() 367 ) -> Result<Arc<B>, (PodCastError, Arc<A>)> { in try_cast_arc() 410 ) -> Result<Rc<[B]>, (PodCastError, Rc<[A]>)> { in try_cast_slice_rc() 474 ) -> Result<Arc<[B]>, (PodCastError, Arc<[A]>)> { in try_cast_slice_arc() 747 ) -> Result<Box<Self>, (PodCastError, BoxBytes)>; in try_from_box_bytes() 780 ) -> Result<Box<Self>, (PodCastError, BoxBytes)> { in try_from_box_bytes() 797 ) -> Result<Box<Self>, (PodCastError, BoxBytes)> { in try_from_box_bytes() [all …]
|
H A D | checked.rs | 210 PodCastError(crate::PodCastError), enumerator
|
/aosp_15_r20/external/rust/android-crates-io/crates/bytemuck/src/ |
D | lib.rs | 214 pub enum PodCastError { enum 234 impl core::fmt::Display for PodCastError { implementation 241 impl std::error::Error for PodCastError {} implementation 293 ) -> Result<T, PodCastError> { in try_pod_read_unaligned() argument 317 pub fn try_from_bytes<T: AnyBitPattern>(s: &[u8]) -> Result<&T, PodCastError> { in try_from_bytes() argument 330 ) -> Result<&mut T, PodCastError> { in try_from_bytes_mut() argument 430 ) -> Result<B, PodCastError> { in try_cast() argument 443 ) -> Result<&B, PodCastError> { in try_cast_ref() argument 456 ) -> Result<&mut B, PodCastError> { in try_cast_mut() argument 478 ) -> Result<&[B], PodCastError> { in try_cast_slice() argument [all …]
|
D | internal.rs | 108 ) -> Result<T, PodCastError> { in try_pod_read_unaligned() argument 159 ) -> Result<&T, PodCastError> { in try_from_bytes() argument 178 ) -> Result<&mut T, PodCastError> { in try_from_bytes_mut() argument 288 ) -> Result<B, PodCastError> { in try_cast() argument 305 ) -> Result<&B, PodCastError> { in try_cast_ref() argument 325 ) -> Result<&mut B, PodCastError> { in try_cast_mut() argument 355 ) -> Result<&[B], PodCastError> { in try_cast_slice() argument 383 ) -> Result<&mut [B], PodCastError> { in try_cast_slice_mut() argument
|
D | allocation.rs | 46 ) -> Result<Box<B>, (PodCastError, Box<A>)> { in try_cast_box() 173 ) -> Result<Box<[B]>, (PodCastError, Box<[A]>)> { in try_cast_slice_box() 227 ) -> Result<Vec<B>, (PodCastError, Vec<A>)> { in try_cast_vec() 342 ) -> Result<Rc<B>, (PodCastError, Rc<A>)> { in try_cast_rc() 383 ) -> Result<Arc<B>, (PodCastError, Arc<A>)> { in try_cast_arc() 426 ) -> Result<Rc<[B]>, (PodCastError, Rc<[A]>)> { in try_cast_slice_rc() 494 ) -> Result<Arc<[B]>, (PodCastError, Arc<[A]>)> { in try_cast_slice_arc() 801 ) -> Result<Box<Self>, (PodCastError, BoxBytes)>; in try_from_box_bytes() 834 ) -> Result<Box<Self>, (PodCastError, BoxBytes)> { in try_from_box_bytes() 851 ) -> Result<Box<Self>, (PodCastError, BoxBytes)> { in try_from_box_bytes() [all …]
|
D | checked.rs | 211 PodCastError(crate::PodCastError), enumerator
|
/aosp_15_r20/external/rust/android-crates-io/crates/vulkano/src/buffer/ |
D | subbuffer.rs | 380 pub fn try_from_bytes(subbuffer: Subbuffer<[u8]>) -> Result<Self, PodCastError> { in try_from_bytes() argument
|