[−][src]Struct rusttyc::types::AbstractTypeTable
An implementation of TypeTable
for type implementing Abstract
.
See ReifiedTypeTable
for an implementation specializing on
concrete types.
Can automatically be generated from a HashMap<TcKey, AbsTy>
for AbsTy: Abstract
.
Implementations
impl<AbsTy> AbstractTypeTable<AbsTy> where
AbsTy: Abstract + Reifiable,
[src]
AbsTy: Abstract + Reifiable,
pub fn reified(self) -> ReifiedTypeTable<AbsTy::Reified>
[src]
Transforms an AbstractTypeTable
into a ReifiedTypeTable
by reifying all abstract types.
impl<AbsTy> AbstractTypeTable<AbsTy> where
AbsTy: Abstract + TryReifiable,
[src]
AbsTy: Abstract + TryReifiable,
pub fn try_reified(self) -> Result<ReifiedTypeTable<AbsTy::Reified>, ()>
[src]
Attempts to transform an AbstractTypeTable
into a ReifiedTypeTable
by reifying all abstract types.
Trait Implementations
impl<AbsTy: Clone + Abstract> Clone for AbstractTypeTable<AbsTy>
[src]
fn clone(&self) -> AbstractTypeTable<AbsTy>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<AbsTy: Debug + Abstract> Debug for AbstractTypeTable<AbsTy>
[src]
impl<AbsTy: Abstract> From<HashMap<TcKey, AbsTy, RandomState>> for AbstractTypeTable<AbsTy>
[src]
impl<AbsTy: Abstract> Index<TcKey> for AbstractTypeTable<AbsTy>
[src]
type Output = AbsTy
The returned type after indexing.
fn index(&self, index: TcKey) -> &Self::Output
[src]
impl<AbsTy: Abstract> TypeTable for AbstractTypeTable<AbsTy>
[src]
Auto Trait Implementations
impl<AbsTy> RefUnwindSafe for AbstractTypeTable<AbsTy> where
AbsTy: RefUnwindSafe,
AbsTy: RefUnwindSafe,
impl<AbsTy> Send for AbstractTypeTable<AbsTy> where
AbsTy: Send,
AbsTy: Send,
impl<AbsTy> Sync for AbstractTypeTable<AbsTy> where
AbsTy: Sync,
AbsTy: Sync,
impl<AbsTy> Unpin for AbstractTypeTable<AbsTy> where
AbsTy: Unpin,
AbsTy: Unpin,
impl<AbsTy> UnwindSafe for AbstractTypeTable<AbsTy> where
AbsTy: UnwindSafe,
AbsTy: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,