pub enum TypeVariableState {
Unbound {
id: i32,
hint: Option<EcoString>,
},
Link(Type),
}Variants§
Implementations§
Source§impl TypeVariableState
impl TypeVariableState
pub fn is_unbound(&self) -> bool
Trait Implementations§
Source§impl Clone for TypeVariableState
impl Clone for TypeVariableState
Source§fn clone(&self) -> TypeVariableState
fn clone(&self) -> TypeVariableState
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 TypeVariableState
impl Debug for TypeVariableState
Source§impl PartialEq for TypeVariableState
impl PartialEq for TypeVariableState
Auto Trait Implementations§
impl Freeze for TypeVariableState
impl !RefUnwindSafe for TypeVariableState
impl !Send for TypeVariableState
impl !Sync for TypeVariableState
impl Unpin for TypeVariableState
impl UnsafeUnpin for TypeVariableState
impl !UnwindSafe for TypeVariableState
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