Home
last modified time | relevance | path

Searched refs:AsRef (Results 1 – 17 of 17) 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.rs353 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Interface<Ctx> {
364 impl<Ctx: device::DeviceContext> AsRef<Device> for Interface<Ctx> { in as_ref()
445 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { in dec_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.rs54 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { in as_ref()
111 impl AsRef<Device<device::Bound>> 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.rs505 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { in try_from()
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.rs508 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for I2cClient<Ctx> { impl
H A Ddma.rs58 pub trait Device<'a>: AsRef<device::Device<Core<'a>>> {
/linux/rust/kernel/drm/
H A Ddevice.rs498 impl<T: drm::Driver> AsRef<T::ParentDevice<device::Normal>> for Device<T> {
510 impl<T: drm::Driver> AsRef<T::ParentDevice<device::Bound>> for Device<T, Registered> {
/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/kernel/net/
H A Dphy.rs279 impl AsRef<kernel::device::Device> for Device {
/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>,