mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 18:58:30 +00:00
feat: add Copy
trait
This commit is contained in:
parent
2715db1a6e
commit
0fb996f289
9 changed files with 122 additions and 23 deletions
|
@ -52,6 +52,8 @@ const UNPACK: &str = "Unpack";
|
|||
const INHERITABLE_TYPE: &str = "InheritableType";
|
||||
const NAMED: &str = "Named";
|
||||
const SIZED: &str = "Sized";
|
||||
const COPY: &str = "Copy";
|
||||
const FUNC_COPY: &str = "copy";
|
||||
const MUTABLE: &str = "Mutable";
|
||||
const SELF: &str = "Self";
|
||||
const IMMUTIZABLE: &str = "Immutizable";
|
||||
|
@ -289,13 +291,12 @@ const MAP: &str = "Map";
|
|||
const REVERSED: &str = "Reversed";
|
||||
const ZIP: &str = "Zip";
|
||||
const FROZENSET: &str = "FrozenSet";
|
||||
const COPY: &str = "copy";
|
||||
const DIFFERENCE: &str = "difference";
|
||||
const INTERSECTION: &str = "intersection";
|
||||
const ISDISJOINT: &str = "isdisjoint";
|
||||
const ISSUBSET: &str = "issubset";
|
||||
const ISSUPERSET: &str = "issuperset";
|
||||
const SYMMETRIC_DIFFERENCE: &str = "symmetric_difference";
|
||||
const FUNC_DIFFERENCE: &str = "difference";
|
||||
const FUNC_INTERSECTION: &str = "intersection";
|
||||
const FUNC_ISDISJOINT: &str = "isdisjoint";
|
||||
const FUNC_ISSUBSET: &str = "issubset";
|
||||
const FUNC_ISSUPERSET: &str = "issuperset";
|
||||
const FUNC_SYMMETRIC_DIFFERENCE: &str = "symmetric_difference";
|
||||
const MEMORYVIEW: &str = "MemoryView";
|
||||
const FUNC_UNION: &str = "union";
|
||||
const FUNC_SHAPE: &str = "shape";
|
||||
|
@ -323,7 +324,6 @@ const FUNC_REMOVE_AT: &str = "remove_at";
|
|||
const FUNC_REMOVE_ALL: &str = "remove_all";
|
||||
const FUNC_POP: &str = "pop";
|
||||
const PROC_POP: &str = "pop!";
|
||||
const FUNC_COPY: &str = "copy";
|
||||
const FUNC_CLEAR: &str = "clear";
|
||||
const PROC_CLEAR: &str = "clear!";
|
||||
const FUNC_SORT: &str = "sort";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue