pub struct FrozenModule<B = &'static [u8]> {
pub code: FrozenCodeObject<B>,
pub package: bool,
}Expand description
A frozen module. Holds a frozen code object and whether it is part of a package
Fields§
§code: FrozenCodeObject<B>§package: boolTrait Implementations§
Source§impl<B: Clone> Clone for FrozenModule<B>
impl<B: Clone> Clone for FrozenModule<B>
impl<B: Copy> Copy for FrozenModule<B>
Auto Trait Implementations§
impl<B> Freeze for FrozenModule<B>where
FrozenCodeObject<B>: Freeze,
impl<B> RefUnwindSafe for FrozenModule<B>where
FrozenCodeObject<B>: RefUnwindSafe,
impl<B> Send for FrozenModule<B>where
FrozenCodeObject<B>: Send,
impl<B> Sync for FrozenModule<B>where
FrozenCodeObject<B>: Sync,
impl<B> Unpin for FrozenModule<B>where
FrozenCodeObject<B>: Unpin,
impl<B> UnsafeUnpin for FrozenModule<B>where
FrozenCodeObject<B>: UnsafeUnpin,
impl<B> UnwindSafe for FrozenModule<B>where
FrozenCodeObject<B>: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> ImaginaryInto<U> for Twhere
U: ImaginaryFrom<T>,
impl<T, U> ImaginaryInto<U> for Twhere
U: ImaginaryFrom<T>,
fn imaginary_into(self) -> U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more