Struct gluon_base::resolve::AliasRemover [−][src]
pub struct AliasRemover { /* fields omitted */ }
Methods
impl AliasRemover
[src]
impl AliasRemover
pub fn new() -> AliasRemover
[src]
pub fn new() -> AliasRemover
pub fn len(&self) -> usize
[src]
pub fn len(&self) -> usize
pub fn reset(&mut self, to: usize)
[src]
pub fn reset(&mut self, to: usize)
pub fn remove_aliases(
&mut self,
env: &TypeEnv,
typ: ArcType
) -> Result<ArcType, Error>
[src]
pub fn remove_aliases(
&mut self,
env: &TypeEnv,
typ: ArcType
) -> Result<ArcType, Error>
pub fn remove_alias(
&mut self,
env: &TypeEnv,
typ: &ArcType
) -> Result<Option<ArcType>, Error>
[src]
pub fn remove_alias(
&mut self,
env: &TypeEnv,
typ: &ArcType
) -> Result<Option<ArcType>, Error>
Trait Implementations
impl Debug for AliasRemover
[src]
impl Debug for AliasRemover
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for AliasRemover
[src]
impl Default for AliasRemover
fn default() -> AliasRemover
[src]
fn default() -> AliasRemover
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for AliasRemover
impl Send for AliasRemover
impl Sync for AliasRemover
impl Sync for AliasRemover