Home
last modified time | relevance | path

Searched defs:PodCastError (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/bytemuck/src/
Dlib.rs185 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 …]
Dinternal.rs113 ) -> 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
Dallocation.rs42 ) -> 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()
Dchecked.rs210 PodCastError(crate::PodCastError), enumerator
/external/rust/crates/vulkano/src/buffer/
Dsubbuffer.rs380 pub fn try_from_bytes(subbuffer: Subbuffer<[u8]>) -> Result<Self, PodCastError> { in try_from_bytes() argument