Home
last modified time | relevance | path

Searched refs:AsRef (Results 1 – 14 of 14) sorted by relevance

/linux/rust/kernel/
H A Dstr.rs55 pub fn strip_prefix(&self, pattern: impl AsRef<Self>) -> Option<&BStr> { in strip_prefix()
154 impl AsRef<BStr> for [u8] { impl
160 impl AsRef<BStr> for BStr {
372 impl AsRef<BStr> for CStr {
H A Dusb.rs345 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Interface<Ctx> { impl
356 impl<Ctx: device::DeviceContext> AsRef<Device> for Interface<Ctx> {
433 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { impl
H A Dfaux.rs53 impl AsRef<device::Device> for Registration {
H A Dauxiliary.rs280 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { impl
H A Dpci.rs473 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { impl
H A Ddevice.rs608 pub unsafe trait AsBusDevice<Ctx: DeviceContext>: AsRef<Device<Ctx>> {
H A Dplatform.rs496 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { impl
H A Ddma.rs33 pub trait Device: AsRef<device::Device<Core>> {
H A Di2c.rs498 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for I2cClient<Ctx> { impl
/linux/rust/kernel/list/
H A Darc.rs435 impl<T, const ID: u64> AsRef<Arc<T>> for ListArc<T, ID> impl
/linux/rust/syn/
H A Dlit.rs1264 pub(crate) fn byte<S: AsRef<[u8]> + ?Sized>(s: &S, idx: usize) -> u8 { in byte()
1616 S: Index<RangeFrom<usize>, Output = S> + AsRef<[u8]> + ?Sized, in backslash_x()
1639 S: Index<RangeFrom<usize>, Output = S> + AsRef<[u8]> + ?Sized, in backslash_u()
/linux/rust/proc-macro2/
H A Dlib.rs1011 T: ?Sized + AsRef<str>,
H A Dfallback.rs877 T: ?Sized + AsRef<str>,
H A Dwrapper.rs730 T: ?Sized + AsRef<str>,