pub enum BaseType_ {
Param(TParam),
Apply(AbilitySet, TypeName, Vec<BaseType>),
Unreachable,
UnresolvedError,
}
Variants§
Implementations§
source§impl BaseType_
impl BaseType_
pub fn builtin(loc: Loc, b_: BuiltinTypeName_, ty_args: Vec<BaseType>) -> BaseType
pub fn abilities(&self, loc: Loc) -> AbilitySet
pub fn bool(loc: Loc) -> BaseType
pub fn address(loc: Loc) -> BaseType
pub fn u8(loc: Loc) -> BaseType
pub fn u64(loc: Loc) -> BaseType
pub fn u128(loc: Loc) -> BaseType
Trait Implementations§
source§impl Ord for BaseType_
impl Ord for BaseType_
source§impl PartialEq<BaseType_> for BaseType_
impl PartialEq<BaseType_> for BaseType_
source§impl PartialOrd<BaseType_> for BaseType_
impl PartialOrd<BaseType_> for BaseType_
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for BaseType_
impl StructuralEq for BaseType_
impl StructuralPartialEq for BaseType_
Auto Trait Implementations§
impl RefUnwindSafe for BaseType_
impl Send for BaseType_
impl Sync for BaseType_
impl Unpin for BaseType_
impl UnwindSafe for BaseType_
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.