Searched defs:PodCastError (Results 1 – 5 of 5) sorted by relevance
| /external/rust/crates/bytemuck/src/ |
| D | lib.rs | 185 pub enum PodCastError { enum 206 impl core::fmt::Display for PodCastError { implementation 213 impl std::error::Error for PodCastError {} implementation 263 ) -> Result<T, PodCastError> { in try_pod_read_unaligned() argument 286 pub fn try_from_bytes<T: AnyBitPattern>(s: &[u8]) -> Result<&T, PodCastError> { in try_from_bytes() argument 299 ) -> Result<&mut T, PodCastError> { in try_from_bytes_mut() argument 394 ) -> Result<B, PodCastError> { in try_cast() argument 407 ) -> Result<&B, PodCastError> { in try_cast_ref() argument 420 ) -> Result<&mut B, PodCastError> { in try_cast_mut() argument 442 ) -> Result<&[B], PodCastError> { in try_cast_slice() argument [all …]
|
| 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
|
| 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() 766 ) -> Result<Box<T>, (PodCastError, BoxBytes)> { in try_from_box_bytes()
|
| D | checked.rs | 210 PodCastError(crate::PodCastError), enumerator
|
| /external/rust/crates/vulkano/src/buffer/ |
| D | subbuffer.rs | 380 pub fn try_from_bytes(subbuffer: Subbuffer<[u8]>) -> Result<Self, PodCastError> { in try_from_bytes() argument
|