pub enum Symbol {
Type(Type),
Module(ModuleRef),
PackageVersion(TinyVersion),
Constant(ConstantRef),
FunctionDefinition(FuncDef),
Alias(AliasType),
Blueprint(ParameterizedTypeBlueprint),
}
Variants§
Type(Type)
Module(ModuleRef)
PackageVersion(TinyVersion)
Constant(ConstantRef)
FunctionDefinition(FuncDef)
Alias(AliasType)
Blueprint(ParameterizedTypeBlueprint)
Implementations§
Source§impl Symbol
impl Symbol
pub const fn is_basic_type(&self) -> bool
pub const fn is_alias_type(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Symbol
impl RefUnwindSafe for Symbol
impl !Send for Symbol
impl !Sync for Symbol
impl Unpin for Symbol
impl UnwindSafe for Symbol
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