Struct ra_ap_test_utils::MiniCore
source · pub struct MiniCore { /* private fields */ }
Implementations§
source§impl MiniCore
impl MiniCore
pub fn from_flags<'a>(flags: impl IntoIterator<Item = &'a str>) -> Self
pub fn available_flags() -> impl Iterator<Item = &'static str>
sourcepub fn source_code(self) -> String
pub fn source_code(self) -> String
Strips parts of minicore.rs which are flagged by inactive flags.
This is probably over-engineered to support flags dependencies.
Auto Trait Implementations§
impl RefUnwindSafe for MiniCore
impl Send for MiniCore
impl Sync for MiniCore
impl Unpin for MiniCore
impl UnwindSafe for MiniCore
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more