#[cfg(any(feature = "rt", feature = "macros"))] pub(crate) mod rand;
cfg_rt! { mod idle_notified_set; pub(crate) use idle_notified_set::IdleNotifiedSet;
pub(crate) useself::rand::RngSeedGenerator;
mod wake; pub(crate) use wake::WakerRef; pub(crate) use wake::{waker_ref, Wake};
mod sync_wrapper; pub(crate) use sync_wrapper::SyncWrapper;
mod rc_cell; pub(crate) use rc_cell::RcCell;
}
cfg_rt_multi_thread! { mod try_lock; pub(crate) use try_lock::TryLock;
}
pub(crate) mod trace;
#[cfg(feature = "fs")] pub(crate) mod typeid;
pub(crate) mod error;
#[cfg(feature = "io-util")] pub(crate) mod memchr;
pub(crate) mod markers;
pub(crate) mod cacheline;
cfg_io_driver_impl! { pub(crate) mod ptr_expose;
}
use std::{ops::DerefMut, pin::Pin};
/// Copy of [`std::pin::Pin::as_deref_mut`]. // TODO: Remove this once we bump the MSRV to 1.84. pub(crate) fn pin_as_deref_mut<P: DerefMut>(ptr: Pin<&mut Pin<P>>) -> Pin<&mut P::Target> { unsafe { ptr.get_unchecked_mut() }.as_mut()
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.