Struct espr::ir::SimpleType
source · [−]pub struct SimpleType(pub SimpleType);
Tuple Fields
0: SimpleType
Trait Implementations
sourceimpl Clone for SimpleType
impl Clone for SimpleType
sourcefn clone(&self) -> SimpleType
fn clone(&self) -> SimpleType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SimpleType
impl Debug for SimpleType
sourceimpl Hash for SimpleType
impl Hash for SimpleType
sourceimpl Legalize for SimpleType
impl Legalize for SimpleType
type Input = SimpleType
type Input = SimpleType
AST portion
fn legalize(
_ns: &Namespace<'_>,
_ss: &Constraints,
_scope: &Scope,
input: &Self::Input
) -> Result<Self, SemanticError>
sourceimpl PartialEq<SimpleType> for SimpleType
impl PartialEq<SimpleType> for SimpleType
sourcefn eq(&self, other: &SimpleType) -> bool
fn eq(&self, other: &SimpleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SimpleType) -> bool
fn ne(&self, other: &SimpleType) -> bool
This method tests for !=
.
sourceimpl ToTokens for SimpleType
impl ToTokens for SimpleType
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Write self
to the given TokenStream
. Read more
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert self
directly into a TokenStream
object. Read more
sourcefn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Convert self
directly into a TokenStream
object. Read more
impl Eq for SimpleType
impl StructuralEq for SimpleType
impl StructuralPartialEq for SimpleType
Auto Trait Implementations
impl RefUnwindSafe for SimpleType
impl Send for SimpleType
impl Sync for SimpleType
impl Unpin for SimpleType
impl UnwindSafe for SimpleType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Spanned for T where
T: Spanned + ?Sized,
impl<T> Spanned for T where
T: Spanned + ?Sized,
sourcefn span(&self) -> Span
fn span(&self) -> Span
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more