Struct gluon_base::types::TypeVariable
source · pub struct TypeVariable {
pub kind: ArcKind,
pub id: u32,
}
Fields§
§kind: ArcKind
§id: u32
Implementations§
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 copy 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<'de, Id, T> DeserializeState<'de, Seed<Id, T>> for TypeVariable
impl<'de, Id, T> DeserializeState<'de, Seed<Id, T>> for TypeVariable
source§fn deserialize_state<__D>(
__seed: &mut Seed<Id, T>,
__deserializer: __D
) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize_state<__D>(
__seed: &mut Seed<Id, T>,
__deserializer: __D
) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserializes
Self
using seed
and the deserializer
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
source§impl SerializeState<SeSeed> for TypeVariable
impl SerializeState<SeSeed> for TypeVariable
source§fn serialize_state<__S>(
&self,
__serializer: __S,
__seed: &SeSeed
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
fn serialize_state<__S>(
&self,
__serializer: __S,
__seed: &SeSeed
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Serializes
self
impl Eq for TypeVariable
Auto Trait Implementations§
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