pub struct InferenceCandidate {
pub type_id: TypeId,
pub priority: InferencePriority,
pub is_fresh_literal: bool,
pub from_object_property: bool,
pub object_property_index: Option<u32>,
pub object_property_name: Option<Atom>,
}Expand description
A candidate type for an inference variable.
Fields§
§type_id: TypeId§priority: InferencePriority§is_fresh_literal: bool§from_object_property: bool§object_property_index: Option<u32>§object_property_name: Option<Atom>Trait Implementations§
Source§impl Clone for InferenceCandidate
impl Clone for InferenceCandidate
Source§fn clone(&self) -> InferenceCandidate
fn clone(&self) -> InferenceCandidate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InferenceCandidate
impl Debug for InferenceCandidate
Source§impl Hash for InferenceCandidate
impl Hash for InferenceCandidate
Source§impl PartialEq for InferenceCandidate
impl PartialEq for InferenceCandidate
impl Eq for InferenceCandidate
impl StructuralPartialEq for InferenceCandidate
Auto Trait Implementations§
impl Freeze for InferenceCandidate
impl RefUnwindSafe for InferenceCandidate
impl Send for InferenceCandidate
impl Sync for InferenceCandidate
impl Unpin for InferenceCandidate
impl UnsafeUnpin for InferenceCandidate
impl UnwindSafe for InferenceCandidate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.