Home
last modified time | relevance | path

Searched refs:TryFrom (Results 1 – 11 of 11) sorted by relevance

/linux/rust/kernel/str/
H A Dparse_int.rs79 pub trait ParseInt: private::FromStrRadix + TryFrom<u64> {
/linux/rust/kernel/
H A Dbitfield.rs460 <$try_into_type as ::core::convert::TryFrom<
554 use core::convert::TryFrom;
570 impl TryFrom<Bounded<u64, 4>> for MemoryType { impl
H A Dpci.rs516 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &Device<Ctx> { in try_from()
500 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &Device<Ctx> { global() impl
H A Dplatform.rs560 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &Device<Ctx> { impl
H A Di2c.rs520 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &I2cClient<Ctx> { impl
H A Dstr.rs900 impl<'a> TryFrom<&'a CStr> for CString {
/linux/rust/zerocopy-derive/
H A Drepr.rs12 convert::{Infallible, TryFrom},
306 impl<Prim: With<PrimitiveRepr>> TryFrom<RawRepr> for CompoundRepr<Prim> {
344 impl<Pcked: With<NonZeroU32>> TryFrom<RawRepr> for AlignRepr<Pcked> {
382 fn try_from_raw_reprs<'a, E, R: TryFrom<RawRepr, Error = FromRawReprError<E>>>( in try_from_raw_reprs()
635 T: TryFrom<U, Error = FromRawReprError<E>>, in try_from()
/linux/rust/kernel/num/
H A Dbounded.rs471 U: TryFrom<T> + Integer, in cast()
1102 $type: Integer + TryFrom<T>,
/linux/rust/zerocopy/src/
H A Dbyteorder.rs67 convert::{TryFrom, TryInto},
666 impl<O: ByteOrder> TryFrom<$larger_native_try> for $name<O> { impl
685 impl<O: ByteOrder, P: ByteOrder> TryFrom<$larger_byteorder_try<P>> for $name<O> { impl
H A Dlib.rs7535 let max = <usize as core::convert::TryFrom<_>>::try_from(isize::MAX).unwrap(); in new_box_zeroed_with_elems_errors()
/linux/rust/kernel/pci/
H A Did.rs112 impl TryFrom<u32> for ClassMask {