pub enum LoadedModuleSource {
ArcStr(Arc<str>),
ArcBytes(Arc<[u8]>),
String(Cow<'static, str>),
Bytes(Cow<'static, [u8]>),
}
Variants§
Implementations§
Auto Trait Implementations§
impl Freeze for LoadedModuleSource
impl RefUnwindSafe for LoadedModuleSource
impl Send for LoadedModuleSource
impl Sync for LoadedModuleSource
impl Unpin for LoadedModuleSource
impl UnwindSafe for LoadedModuleSource
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