pub struct ValidatedTypes { /* private fields */ }Expand description
A concrete generic call’s description after complete validation.
Implementations§
Source§impl ValidatedTypes
impl ValidatedTypes
Sourcepub fn binding(&self, name: &str) -> Option<&Type>
pub fn binding(&self, name: &str) -> Option<&Type>
The concrete type bound to the type parameter name.
Sourcepub fn bindings(&self) -> &[(String, Type)]
pub fn bindings(&self) -> &[(String, Type)]
The concrete bindings, in the Tool’s type parameter order.
Trait Implementations§
Source§impl Clone for ValidatedTypes
impl Clone for ValidatedTypes
Source§fn clone(&self) -> ValidatedTypes
fn clone(&self) -> ValidatedTypes
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 ValidatedTypes
impl Forget for ValidatedTypes
impl Move for ValidatedTypes
impl RefUnwindSafe for ValidatedTypeswhere
Atomic<usize>: RefUnwindSafe,
Mutex<HashMap<(Type, Settings), Option<String>>>: RefUnwindSafe,
impl Send for ValidatedTypes
impl Sync for ValidatedTypes
impl Unpin for ValidatedTypes
impl UnsafeUnpin for ValidatedTypeswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Decl>: UnsafeUnpin,
Align4<u32>: UnsafeUnpin,
Align1<u8>: UnsafeUnpin,
PhantomData<((Type, Settings), Option<String>)>: UnsafeUnpin,
PhantomData<Names>: UnsafeUnpin,
*const ArcInner<EnumShape> is !null: UnsafeUnpin,
PhantomData<ArcInner<EnumShape>>: UnsafeUnpin,
*const [usize] is !null: UnsafeUnpin,
PhantomData<[usize]>: UnsafeUnpin,
*const [Option<OptionCtor>] is !null: UnsafeUnpin,
PhantomData<[Option<OptionCtor>]>: UnsafeUnpin,
*const [Option<JsonValueCtor>] is !null: UnsafeUnpin,
PhantomData<[Option<JsonValueCtor>]>: UnsafeUnpin,
PhantomData<(String, Type)>: UnsafeUnpin,
*const Type is !null: UnsafeUnpin,
PhantomData<Type>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<[u8]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[u8]>>: UnsafeUnpin,
impl UnwindSafe for ValidatedTypeswhere
RawVecInner: UnwindSafe,
Arc<RecordShape>: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
Arc<EnumShape>: UnwindSafe,
Mutex<HashMap<(Type, Settings), Option<String>>>: UnwindSafe,
HashMap<Box<str>, usize>: UnwindSafe,
BoxRaw<[usize]>: UnwindSafe,
BoxRaw<[Option<OptionCtor>]>: UnwindSafe,
BoxRaw<[Option<JsonValueCtor>]>: UnwindSafe,
Arc<[u8]>: 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