pub struct ResolvedType {
pub display: String,
pub category: TypeCategory,
pub arguments: Vec<u32>,
pub definition: Option<String>,
}Expand description
A type as the compiler resolved it.
Fields§
§display: StringThe type as the compiler spells it, for display.
category: TypeCategoryIts normalized category.
arguments: Vec<u32>Types it is built from: element, key and value, parameters.
definition: Option<String>The symbol defining it, when it has one.
Trait Implementations§
Source§impl Clone for ResolvedType
impl Clone for ResolvedType
Source§fn clone(&self) -> ResolvedType
fn clone(&self) -> ResolvedType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResolvedType
impl Debug for ResolvedType
Source§impl<'de> Deserialize<'de> for ResolvedType
impl<'de> Deserialize<'de> for ResolvedType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ResolvedType
Source§impl PartialEq for ResolvedType
impl PartialEq for ResolvedType
Source§impl Serialize for ResolvedType
impl Serialize for ResolvedType
impl StructuralPartialEq for ResolvedType
Auto Trait Implementations§
impl Freeze for ResolvedType
impl RefUnwindSafe for ResolvedType
impl Send for ResolvedType
impl Sync for ResolvedType
impl Unpin for ResolvedType
impl UnsafeUnpin for ResolvedType
impl UnwindSafe for ResolvedType
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