pub struct TypeVariable {
pub kind: ArcKind,
pub id: u32,
}Fields§
§kind: ArcKind§id: u32Implementations§
Source§impl TypeVariable
impl TypeVariable
pub fn new(var: u32) -> TypeVariable
pub fn with_kind(kind: Kind, var: u32) -> TypeVariable
Trait Implementations§
Source§impl<'ast, Id> AstClone<'ast, Id> for TypeVariable
impl<'ast, Id> AstClone<'ast, Id> for TypeVariable
Source§impl Clone for TypeVariable
impl Clone for TypeVariable
Source§fn clone(&self) -> TypeVariable
fn clone(&self) -> TypeVariable
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 TypeVariable
impl Debug for TypeVariable
Source§impl Display for TypeVariable
impl Display for TypeVariable
Source§impl Hash for TypeVariable
impl Hash for TypeVariable
Source§impl PartialEq for TypeVariable
impl PartialEq for TypeVariable
impl Eq for TypeVariable
Auto Trait Implementations§
impl Freeze for TypeVariable
impl RefUnwindSafe for TypeVariable
impl Send for TypeVariable
impl Sync for TypeVariable
impl Unpin for TypeVariable
impl UnwindSafe for TypeVariable
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> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more