Created
June 23, 2024 03:21
-
-
Save Verdagon/d29b80957a944bd7b0fcf02b8a15fffa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!DeriveStructConstructor extern struct Vec<T> { | |
extern func new() -> Vec<T>; | |
extern func with_capacity(capacity: usize) -> Vec<T>; | |
// Skipping (self) method try_with_capacity: Didn't contain whitelisted type | |
// Skipping (self) method from_raw_parts: Encountered raw pointer type | |
// Skipping (self) method new_in: Encountered defaulted rune | |
// Skipping (self) method with_capacity_in: Encountered defaulted rune | |
// Skipping (self) method try_with_capacity_in: Encountered defaulted rune | |
// Skipping (self) method from_raw_parts_in: Encountered raw pointer type | |
// Skipping (self) method into_raw_parts: Encountered raw pointer type | |
// Skipping (self) method into_raw_parts_with_alloc: Encountered raw pointer type | |
extern func capacity(self: Vec<T>) -> usize; | |
extern func reserve(self: Vec<T>, additional: usize); | |
extern func reserve_exact(self: Vec<T>, additional: usize); | |
// Skipping (self) method try_reserve: Didn't contain whitelisted type | |
// Skipping (self) method try_reserve_exact: Didn't contain whitelisted type | |
extern func shrink_to_fit(self: Vec<T>); | |
extern func shrink_to(self: Vec<T>, min_capacity: usize); | |
// Skipping (self) method into_boxed_slice: Encountered slice type | |
extern func truncate(self: Vec<T>, len: usize); | |
// Skipping (self) method as_slice: Encountered slice type | |
// Skipping (self) method as_mut_slice: Encountered slice type | |
// Skipping (self) method as_ptr: Encountered raw pointer type | |
// Skipping (self) method as_mut_ptr: Encountered raw pointer type | |
// Skipping (self) method allocator: Encountered defaulted rune | |
extern func set_len(self: Vec<T>, new_len: usize); | |
// Skipping (self) method swap_remove: Didn't contain whitelisted type | |
// Skipping (self) method insert: Didn't contain whitelisted type | |
// Skipping (self) method remove: Didn't contain whitelisted type | |
// Skipping (self) method retain: Method generics unsupported | |
// Skipping (self) method retain_mut: Method generics unsupported | |
// Skipping (self) method dedup_by_key: Method generics unsupported | |
// Skipping (self) method dedup_by: Method generics unsupported | |
// Skipping (self) method push: Didn't contain whitelisted type | |
// Skipping (self) method push_within_capacity: Didn't contain whitelisted type | |
// Skipping (self) method pop: Didn't contain whitelisted type | |
// Skipping (self) method pop_if: Method generics unsupported | |
extern func append(self: Vec<T>, other: Vec<T>); | |
// Skipping (self) method drain: Method generics unsupported | |
extern func clear(self: Vec<T>); | |
extern func len(self: Vec<T>) -> usize; | |
extern func is_empty(self: Vec<T>) -> bool; | |
extern func split_off(self: Vec<T>, at: usize) -> Vec<T>; | |
// Skipping (self) method resize_with: Method generics unsupported | |
// Skipping (self) method leak: Method generics unsupported | |
// Skipping (self) method spare_capacity_mut: Encountered slice type | |
// Skipping (self) method split_at_spare_mut: Encountered slice type | |
// Skipping (self) method resize: Didn't contain whitelisted type | |
// Skipping (self) method extend_from_slice: Encountered slice type | |
// Skipping (self) method extend_from_within: Method generics unsupported | |
// Skipping impl: Encountered generic arg Array | |
extern func dedup(self: Vec<T>); | |
// Skipping (self) method splice: Method generics unsupported | |
// Skipping (self) method extract_if: Method generics unsupported | |
// Skipping ToOwned impl: Blanket impls unsupported | |
// Skipping Borrow impl: Blanket impls unsupported | |
// Skipping Into impl: Blanket impls unsupported | |
// Skipping From impl: Blanket impls unsupported | |
// Skipping BorrowMut impl: Blanket impls unsupported | |
// Skipping TryInto impl: Blanket impls unsupported | |
// Skipping TryFrom impl: Blanket impls unsupported | |
// Skipping Any impl: Blanket impls unsupported | |
// Skipping From method from: Method is overloaded | |
// Skipping PartialEq impl: Impl for non-struct types unsupported | |
// Skipping PartialEq impl: Impl has more args than used in struct | |
// Skipping From impl: Impl has more args than used in struct | |
// Skipping AsMut method as_mut: Method is overloaded | |
// Skipping From impl: Encountered const generic | |
// Skipping From impl: Impl for non-struct types unsupported | |
// Skipping From impl: Impl for non-struct types unsupported | |
// Skipping PartialEq impl: Impl for borrowed struct unsupported | |
// Skipping PartialOrd impl: Impl has more args than used in struct | |
// Skipping From impl: Impl for non-struct types unsupported | |
// Skipping Hash method hash: Method generics unsupported | |
// Skipping Borrow method borrow: Method is overloaded | |
// Skipping Ord method cmp: Didn't contain whitelisted type | |
// Skipping PartialEq impl: Impl has more args than used in struct | |
// Skipping IndexMut impl: Impl has more args than used in struct | |
extern func drop(self: Vec<T>); | |
// Skipping BorrowMut method borrow_mut: Method is overloaded | |
// Skipping Debug method fmt: Encountered lifetime generic arg | |
// Skipping From impl: Impl has more args than used in struct | |
// Skipping From impl: Impl has more args than used in struct | |
// Skipping From impl: Encountered const generic | |
// Skipping AsMut method as_mut: Method is overloaded | |
// Skipping IntoIterator impl: Impl for borrowed struct unsupported | |
// Skipping DerefMut method deref_mut: Encountered slice type | |
// Skipping From impl: Impl for non-struct types unsupported | |
// Skipping From impl: Encountered const generic | |
// Skipping PartialEq impl: Impl for borrowed struct unsupported | |
// Skipping PartialEq impl: Impl has more args than used in struct | |
// Skipping Index impl: Impl has more args than used in struct | |
// Skipping PartialEq impl: Impl has more args than used in struct | |
// Skipping From method from: Method is overloaded | |
// Skipping PartialEq impl: Impl for non-struct types unsupported | |
// Skipping IntoIterator impl: Impl for borrowed struct unsupported | |
// Skipping TryFrom impl: Impl for array unsupported | |
// Skipping AsRef method as_ref: Method is overloaded | |
// Skipping PartialEq impl: Impl for slice unsupported | |
// Skipping From impl: Impl for non-struct types unsupported | |
// Skipping Extend impl: Impl has more args than used in struct | |
// Skipping From impl: Impl for non-struct types unsupported | |
// Skipping From impl: Impl has more args than used in struct | |
// Skipping From impl: Impl for non-struct types unsupported | |
// Skipping TryFrom impl: Impl for non-struct types unsupported | |
// Skipping Deref method deref: Encountered slice type | |
// Skipping Default method default: Didn't contain whitelisted type | |
// Skipping From impl: Impl for non-struct types unsupported | |
// Skipping FromIterator method from_iter: Method generics unsupported | |
extern func clone(self: Vec<T>) -> Vec<T>; | |
extern func clone_from(self: Vec<T>, other: Vec<T>); | |
// Skipping From method from: Method is overloaded | |
// Skipping From method from: Method is overloaded | |
// Skipping IntoIterator method into_iter: Method is overloaded | |
// Skipping AsRef method as_ref: Method is overloaded | |
// Skipping From method from: Method is overloaded | |
// Skipping PartialEq impl: Impl has more args than used in struct | |
// Skipping PartialEq impl: Impl has more args than used in struct | |
// Skipping Extend method extend: Method is overloaded | |
// Skipping Extend method extend_one: Method is overloaded | |
// Skipping Extend method extend_reserve: Method is overloaded | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment