Enum tract_hir::infer::GenericFactoid [−][src]
Expand description
Partial information about a value of type T.
Variants
Trait Implementations
impl<T, I> Add<I> for GenericFactoid<T> where
T: Add<T, Output = T> + PartialEq + Clone + Debug + Hash,
I: Into<GenericFactoid<T>>,
impl<T, I> Add<I> for GenericFactoid<T> where
T: Add<T, Output = T> + PartialEq + Clone + Debug + Hash,
I: Into<GenericFactoid<T>>,
Tries to transform the fact into a concrete value.
Tries to unify the fact with another fact of the same type.
type Concrete = T
Returns whether the value is fully determined.
Tries to unify the fact with another fact of the same type and update self. Read more
Tries to unify the fact with another fact of the same type and update both of them. Read more
Converts the value to an Expression.
Converts the value to an Expression.
Converts the value to an Expression.
Converts the value to an Expression.
Converts the value to an Expression.
Converts the value to an Expression.
Converts the value to an Expression.
type Output = GenericFactoid<T>
type Output = GenericFactoid<T>
The resulting type after applying the -
operator.
Performs the unary -
operation. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Sub<GenericFactoid<T>> for GenericFactoid<T> where
T: Sub<T, Output = T> + PartialEq + Clone + Debug + Hash,
impl<T> Sub<GenericFactoid<T>> for GenericFactoid<T> where
T: Sub<T, Output = T> + PartialEq + Clone + Debug + Hash,
type Output = GenericFactoid<T>
type Output = GenericFactoid<T>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
Returns the current value of the expression in the given context.
Tries to set the value of the expression in the given context.
Auto Trait Implementations
impl<T> RefUnwindSafe for GenericFactoid<T> where
T: RefUnwindSafe,
impl<T> Send for GenericFactoid<T> where
T: Send,
impl<T> Sync for GenericFactoid<T> where
T: Sync,
impl<T> Unpin for GenericFactoid<T> where
T: Unpin,
impl<T> UnwindSafe for GenericFactoid<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘimpl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘimpl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;
impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more