pub struct ConditionalType {
pub check_type: TypeId,
pub extends_type: TypeId,
pub true_type: TypeId,
pub false_type: TypeId,
pub is_distributive: bool,
}Expand description
Conditional type structure
Fields§
§check_type: TypeId§extends_type: TypeId§true_type: TypeId§false_type: TypeId§is_distributive: boolTrait Implementations§
Source§impl Clone for ConditionalType
impl Clone for ConditionalType
Source§fn clone(&self) -> ConditionalType
fn clone(&self) -> ConditionalType
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 ConditionalType
impl Debug for ConditionalType
Source§impl Hash for ConditionalType
impl Hash for ConditionalType
Source§impl PartialEq for ConditionalType
impl PartialEq for ConditionalType
impl Eq for ConditionalType
impl StructuralPartialEq for ConditionalType
Auto Trait Implementations§
impl Freeze for ConditionalType
impl RefUnwindSafe for ConditionalType
impl Send for ConditionalType
impl Sync for ConditionalType
impl Unpin for ConditionalType
impl UnsafeUnpin for ConditionalType
impl UnwindSafe for ConditionalType
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.