Trait hyper_ast::types::Typed

source ·
pub trait Typed {
    type Type: HyperType + Eq + Copy + Send + Sync;

    // Required method
    fn get_type(&self) -> Self::Type;
}

Required Associated Types§

Required Methods§

source

fn get_type(&self) -> Self::Type

Implementors§

source§

impl<'a, Id: 'static + TypedNodeId<IdN = NodeIdentifier>> Typed for hyper_ast::store::nodes::legion::HashedNodeRef<'a, Id>

§

type Type = <Id as TypedNodeId>::Ty

source§

impl<'a, T: TypedNodeId> Typed for hyper_ast::store::nodes::fetched::HashedNodeRef<'a, T>where T::Ty: TypeTrait,

§

type Type = <T as TypedNodeId>::Ty

source§

impl<H: Hash + PrimInt, U: NodeHashs<Hash = H>, N, L, T: HyperType + Copy + Hash + Eq + Sync + Send> Typed for HashedCompressedNode<U, N, L, T>

§

type Type = T

source§

impl<N, L, T: HyperType + Copy + Hash + Eq + Send + Sync> Typed for CompressedNode<N, L, T>

§

type Type = T