pub struct ResolutionStatement<R: Resolved> {
pub unresolved: R::Unresolved,
pub entries: Vec<ResolutionEntry<R>>,
}Expand description
1つのネームスペースを、ブロックの中でどう解決したか。catapult の model::ResolutionStatement。
Fields§
§unresolved: R::Unresolved§entries: Vec<ResolutionEntry<R>>catapult は元の昇順に並べ、続けて同じ値に解決したものは1件にまとめる
Implementations§
Source§impl<R: Resolved> ResolutionStatement<R>
impl<R: Resolved> ResolutionStatement<R>
Trait Implementations§
Source§impl<R: Clone + Resolved> Clone for ResolutionStatement<R>where
R::Unresolved: Clone,
impl<R: Clone + Resolved> Clone for ResolutionStatement<R>where
R::Unresolved: Clone,
Source§fn clone(&self) -> ResolutionStatement<R>
fn clone(&self) -> ResolutionStatement<R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<R: Debug + Resolved> Debug for ResolutionStatement<R>where
R::Unresolved: Debug,
impl<R: Debug + Resolved> Debug for ResolutionStatement<R>where
R::Unresolved: Debug,
impl<R: Eq + Resolved> Eq for ResolutionStatement<R>where
R::Unresolved: Eq,
Source§impl<R: PartialEq + Resolved> PartialEq for ResolutionStatement<R>where
R::Unresolved: PartialEq,
impl<R: PartialEq + Resolved> PartialEq for ResolutionStatement<R>where
R::Unresolved: PartialEq,
impl<R: PartialEq + Resolved> StructuralPartialEq for ResolutionStatement<R>where
R::Unresolved: PartialEq,
Auto Trait Implementations§
impl<R> Freeze for ResolutionStatement<R>
impl<R> RefUnwindSafe for ResolutionStatement<R>
impl<R> Send for ResolutionStatement<R>
impl<R> Sync for ResolutionStatement<R>
impl<R> Unpin for ResolutionStatement<R>
impl<R> UnsafeUnpin for ResolutionStatement<R>
impl<R> UnwindSafe for ResolutionStatement<R>
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