pub struct Loaded {
pub contract: Option<Contract>,
pub report: Report,
}Expand description
The outcome of loading one contract file.
Fields§
§contract: Option<Contract>Some exactly when the report has no error.
report: ReportTrait Implementations§
Auto Trait Implementations§
impl Forget for Loaded
impl Freeze for Loadedwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<IfaceId>: Freeze,
PhantomData<Resource>: Freeze,
*const LeafNode<String, Requirement> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Requirement)>>: Freeze,
*const LeafNode<String, Artifact> is !null: Freeze,
PhantomData<Box<(String, Artifact)>>: Freeze,
PhantomData<Diagnostic>: Freeze,
impl Move for Loaded
impl RefUnwindSafe for Loaded
impl Send for Loadedwhere
RawVecInner: Send,
NodeRef<Owned, String, ParamType, LeafOrInternal>: Send,
BoxRaw<(String, ParamType)>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, String, Deadband, LeafOrInternal>: Send,
BoxRaw<(String, Deadband)>: Send,
NodeRef<Owned, String, Requirement, LeafOrInternal>: Send,
BoxRaw<(String, Requirement)>: Send,
NodeRef<Owned, String, Artifact, LeafOrInternal>: Send,
BoxRaw<(String, Artifact)>: Send,
&'static str: Send,
impl Sync for Loadedwhere
RawVecInner: Sync,
NodeRef<Owned, String, ParamType, LeafOrInternal>: Sync,
BoxRaw<(String, ParamType)>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
NodeRef<Owned, String, Deadband, LeafOrInternal>: Sync,
BoxRaw<(String, Deadband)>: Sync,
NodeRef<Owned, String, Requirement, LeafOrInternal>: Sync,
BoxRaw<(String, Requirement)>: Sync,
NodeRef<Owned, String, Artifact, LeafOrInternal>: Sync,
BoxRaw<(String, Artifact)>: Sync,
impl Unpin for Loadedwhere
*const u8 is !null: Unpin,
*const LeafNode<String, ParamType> is !null: Unpin,
Box<(String, ParamType)>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<String, Deadband> is !null: Unpin,
Box<(String, Deadband)>: Unpin,
*const LeafNode<String, Requirement> is !null: Unpin,
Box<(String, Requirement)>: Unpin,
*const LeafNode<String, Artifact> is !null: Unpin,
Box<(String, Artifact)>: Unpin,
&'static str: Unpin,
impl UnsafeUnpin for Loadedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<IfaceId>: UnsafeUnpin,
PhantomData<Resource>: UnsafeUnpin,
*const LeafNode<String, Requirement> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Requirement)>>: UnsafeUnpin,
*const LeafNode<String, Artifact> is !null: UnsafeUnpin,
PhantomData<Box<(String, Artifact)>>: UnsafeUnpin,
PhantomData<Diagnostic>: UnsafeUnpin,
impl UnwindSafe for Loadedwhere
RawVecInner: UnwindSafe,
BTreeMap<String, ParamType>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, Deadband>: UnwindSafe,
BTreeMap<String, Requirement>: UnwindSafe,
BTreeMap<String, Artifact>: UnwindSafe,
&'static str: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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