pub struct TypedCrate {
pub signatures: BTreeMap<String, InferredSig>,
pub inherent_methods: BTreeMap<String, BTreeMap<String, String>>,
pub rust_imports: Vec<ResolvedRustImport>,
pub impl_trait_args: BTreeMap<String, Vec<Ty>>,
}Fields§
§signatures: BTreeMap<String, InferredSig>§inherent_methods: BTreeMap<String, BTreeMap<String, String>>TypeName → method → signature key (module::Type::method).
rust_imports: Vec<ResolvedRustImport>Resolved use <crate> { … } / use rust.<crate> { … } imports (spec §14.2).
impl_trait_args: BTreeMap<String, Vec<Ty>>module::Trait for Type → inferred trait args when the impl omitted <> (#77).
Trait Implementations§
Source§impl Clone for TypedCrate
impl Clone for TypedCrate
Source§fn clone(&self) -> TypedCrate
fn clone(&self) -> TypedCrate
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 moreAuto Trait Implementations§
impl Freeze for TypedCrate
impl RefUnwindSafe for TypedCrate
impl Send for TypedCrate
impl Sync for TypedCrate
impl Unpin for TypedCrate
impl UnsafeUnpin for TypedCrate
impl UnwindSafe for TypedCrate
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