Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Dstr.rs68 pub fn strip_prefix(&self, pattern: impl AsRef<Self>) -> Option<&BStr> {
167 impl AsRef<BStr> for [u8] {
173 impl AsRef<BStr> for BStr {
388 impl AsRef<BStr> for CStr {
154 impl AsRef<BStr> for [u8] { global() impl
H A Dusb.rs364 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Interface<Ctx> { in as_ref()
375 impl<Ctx: device::DeviceContext> AsRef<Device> for Interface<Ctx> { in as_ref()
452 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { in as_ref()
363 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Interface<Ctx> { global() impl
451 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { global() impl
H A Dfaux.rs62 impl AsRef<device::Device> for Registration {
H A Ddevice.rs582 impl<Ctx: DeviceContext> AsRef<Device<Ctx>> for Device<Ctx> { impl
600 pub unsafe trait AsBusDevice<Ctx: DeviceContext>: AsRef<Device<Ctx>> {
H A Dauxiliary.rs398 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { in drop()
311 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { global() impl
H A Dpci.rs492 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { in as_ref()
489 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { global() impl
H A Dplatform.rs549 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { impl
H A Di2c.rs505 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for I2cClient<Ctx> {
507 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for I2cClient<Ctx> { global() impl
H A Ddma.rs58 pub trait Device<'a>: AsRef<device::Device<Core<'a>>> {
/linux/rust/kernel/drm/
H A Ddevice.rs381 impl<T: drm::Driver, C: DeviceContext> AsRef<device::Device> for Device<T, C> {
/linux/rust/kernel/list/
H A Darc.rs436 impl<T, const ID: u64> AsRef<Arc<T>> for ListArc<T, ID>
435 impl<T, const ID: u64> AsRef<Arc<T>> for ListArc<T, ID> global() 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/zerocopy/src/
H A Dbyteorder.rs694 impl<O> AsRef<[u8; $bytes]> for $name<O> { impl
1102 FromBytes + IntoBytes + Immutable + Copy + AsRef<[u8]> + AsMut<[u8]> + Debug + Default + Eq
/linux/rust/proc-macro2/
H A Dlib.rs1015 T: ?Sized + AsRef<str>,
H A Dfallback.rs877 T: ?Sized + AsRef<str>,
H A Dwrapper.rs730 T: ?Sized + AsRef<str>,