Struct garden_lang_parser::ast::TypeSymbol
source · pub struct TypeSymbol {
pub name: TypeName,
pub position: Position,
pub id: SyntaxId,
}Fields§
§name: TypeName§position: Position§id: SyntaxIdTrait Implementations§
source§impl Clone for TypeSymbol
impl Clone for TypeSymbol
source§fn clone(&self) -> TypeSymbol
fn clone(&self) -> TypeSymbol
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 TypeSymbol
impl Debug for TypeSymbol
source§impl Display for TypeSymbol
impl Display for TypeSymbol
source§impl PartialEq for TypeSymbol
impl PartialEq for TypeSymbol
Only consider the name when comparing type symbols. This is important when the runtime checks values have the same type.
impl Eq for TypeSymbol
Auto Trait Implementations§
impl Freeze for TypeSymbol
impl RefUnwindSafe for TypeSymbol
impl Send for TypeSymbol
impl Sync for TypeSymbol
impl Unpin for TypeSymbol
impl UnwindSafe for TypeSymbol
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)