Struct erg_parser::ast::SimpleTypeSpec
source · [−]pub struct SimpleTypeSpec {
pub ident: Identifier,
pub args: ConstArgs,
}
Fields
ident: Identifier
args: ConstArgs
Implementations
sourceimpl SimpleTypeSpec
impl SimpleTypeSpec
pub const fn new(ident: Identifier, args: ConstArgs) -> Self
Trait Implementations
sourceimpl Clone for SimpleTypeSpec
impl Clone for SimpleTypeSpec
sourcefn clone(&self) -> SimpleTypeSpec
fn clone(&self) -> SimpleTypeSpec
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SimpleTypeSpec
impl Debug for SimpleTypeSpec
sourceimpl Display for SimpleTypeSpec
impl Display for SimpleTypeSpec
sourceimpl Hash for SimpleTypeSpec
impl Hash for SimpleTypeSpec
sourceimpl Locational for SimpleTypeSpec
impl Locational for SimpleTypeSpec
sourceimpl PartialEq<SimpleTypeSpec> for SimpleTypeSpec
impl PartialEq<SimpleTypeSpec> for SimpleTypeSpec
sourcefn eq(&self, other: &SimpleTypeSpec) -> bool
fn eq(&self, other: &SimpleTypeSpec) -> bool
impl Eq for SimpleTypeSpec
impl StructuralEq for SimpleTypeSpec
impl StructuralPartialEq for SimpleTypeSpec
Auto Trait Implementations
impl RefUnwindSafe for SimpleTypeSpec
impl !Send for SimpleTypeSpec
impl !Sync for SimpleTypeSpec
impl Unpin for SimpleTypeSpec
impl UnwindSafe for SimpleTypeSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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