Searched refs:TryFrom (Results 1 – 11 of 11) sorted by relevance
| /linux/rust/kernel/str/ |
| H A D | parse_int.rs | 79 pub trait ParseInt: private::FromStrRadix + TryFrom<u64> {
|
| /linux/rust/kernel/ |
| H A D | bitfield.rs | 460 <$try_into_type as ::core::convert::TryFrom< 554 use core::convert::TryFrom; 570 impl TryFrom<Bounded<u64, 4>> for MemoryType { impl
|
| H A D | pci.rs | 516 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 D | platform.rs | 560 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &Device<Ctx> { impl
|
| H A D | i2c.rs | 520 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &I2cClient<Ctx> { impl
|
| H A D | str.rs | 900 impl<'a> TryFrom<&'a CStr> for CString {
|
| /linux/rust/zerocopy-derive/ |
| H A D | repr.rs | 12 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 D | bounded.rs | 471 U: TryFrom<T> + Integer, in cast() 1102 $type: Integer + TryFrom<T>,
|
| /linux/rust/zerocopy/src/ |
| H A D | byteorder.rs | 67 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 D | lib.rs | 7535 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 D | id.rs | 112 impl TryFrom<u32> for ClassMask {
|