MCPcopy Create free account

hub / github.com/ZettaScaleLabs/stabby / functions

Functions628 in github.com/ZettaScaleLabs/stabby

Methodnew_in
Constructs a new string using the provided allocator.
stabby-abi/src/alloc/string.rs:25
Methodnew_in
Attempts to allocate [`Self`] and store `value` in it. # Panics If the allocator fails to provide an appropriate allocation.
stabby-abi/src/alloc/boxed.rs:164
Methodnew_in
Attempts to allocate [`Self`] and store `value` in it. # Panics If the allocator fails to provide an appropriate allocation.
stabby-abi/src/alloc/sync.rs:173
Methodnew_in
Constructs a new map, using the provided allocator. This operation does not allocate.
stabby-abi/src/alloc/collections/arc_btree.rs:119
Methodnext
(&mut self)
stabby-abi/src/report.rs:130
Methodnext
(&mut self)
stabby-abi/src/iter.rs:19
Methodnext
(&mut self)
stabby-abi/src/alloc/vec.rs:655
Methodnext_back
(&mut self)
stabby-abi/src/alloc/vec.rs:768
Methodnext_matching
(self, ptr: *mut T)
stabby-abi/src/alloc/mod.rs:103
Methodnow
Measure the current [`SystemTime`].
stabby/src/time.rs:203
Methodnth
(&mut self, n: usize)
stabby-abi/src/alloc/single_or_vec.rs:510
Methodnth_back
(&mut self, n: usize)
stabby-abi/src/alloc/single_or_vec.rs:534
Functionnumbers
()
stabby-abi/src/num.rs:499
Methodof
Returns the [`Layout`] corresponding to `T`
stabby-abi/src/alloc/mod.rs:67
Methodok
(_: *mut u8)
stabby-abi/src/enums/mod.rs:65
Methodok_mut
Returns the `Ok` variant by mutable reference if it exists, `None` otherwise.
stabby-abi/src/result.rs:414
Methodok_ptr
( storage: *const Storage<<Self as IStable>::Size, <Self as IStable>::Align>, )
stabby-abi/src/result.rs:218
Methodok_ptr_mut
( storage: *mut Storage<<Self as IStable>::Size, <Self as IStable>::Align>, )
stabby-abi/src/result.rs:223
Methodok_ref
Returns the `Ok` variant by reference if it exists, `None` otherwise.
stabby-abi/src/result.rs:406
Functionops
()
stabby-abi/src/typenum2/unsigned.rs:632
Methodparse
(input: syn::parse::ParseStream)
stabby-macros/src/traits.rs:204
Methodparse
(input: syn::parse::ParseStream)
stabby-macros/src/functions.rs:46
Methodparse
(input: syn::parse::ParseStream)
stabby-macros/src/unions.rs:26
Methodparse
(input: syn::parse::ParseStream)
stabby-macros/src/structs.rs:27
Methodparse
(input: syn::parse::ParseStream)
stabby-macros/src/enums.rs:39
Methodpartial_cmp
(&self, other: &Self)
stabby-abi/src/str.rs:77
Methodpartial_cmp
(&self, other: &&[*const ()])
stabby-abi/src/vtable/mod.rs:54
Methodpartial_cmp
(&self, other: &Rhs)
stabby-abi/src/alloc/vec.rs:470
Methodpartial_cmp
(&self, other: &Rhs)
stabby-abi/src/alloc/single_or_vec.rs:366
Methodpartial_cmp
(&self, other: &Rhs)
stabby-abi/src/alloc/string.rs:124
Methodpartial_cmp
(&self, other: &Self)
stabby-abi/src/alloc/boxed.rs:378
Methodpartial_cmp
(&self, other: &Self)
stabby-abi/src/alloc/sync.rs:593
Methodpoll
(&mut self, waker: StableWaker)
stabby-abi/src/future.rs:190
Methodr#enum
(name: impl Into<String>, version: u32, module: proc_macro2::TokenStream)
stabby-macros/src/lib.rs:328
Methodr#struct
( name: impl Into<String>, version: u32, module: proc_macro2::TokenStream, )
stabby-macros/src/lib.rs:311
Methodr#union
( name: impl Into<String>, version: u32, module: proc_macro2::TokenStream, )
stabby-macros/src/lib.rs:341
Methodrealloc
Reallocates `ptr`, ensuring that it has enough memory for the newly requested layout. If the requested size is 0, or allocation failed, then a null p
stabby-abi/src/alloc/mod.rs:144
Methodrealloc
Reallocates `ptr`, ensuring that it has enough memory for the newly requested layout. If the requested size is 0, or allocation failed, then a null p
stabby-abi/src/alloc/mod.rs:178
Methodrealloc
(&mut self, ptr: *mut (), prev: Layout, new_size: usize)
stabby-abi/src/alloc/allocators/libc_alloc.rs:72
Methodrealloc
( &mut self, ptr: *mut (), _prev_layout: crate::alloc::Layout, new_size: usize
stabby-abi/src/alloc/allocators/rust_alloc.rs:114
Methodrecursion
( variants: &'a [Variant], leaf: &mut LeafFn, join: &mut JoinFn, )
stabby-macros/src/enums.rs:382
Methodref_as
(&self)
stabby-abi/src/as_mut.rs:18
Methodremaining_capacity
The remaining number of elements that can be pushed before reallocating.
stabby-abi/src/alloc/single_or_vec.rs:184
Methodremove
(&mut self, index: usize)
stabby-abi/src/alloc/vec.rs:389
Methodserialize
(&self, serializer: S)
stabby-abi/src/str.rs:138
Methodserialize
(&self, serializer: S)
stabby-abi/src/option.rs:192
Methodserialize
(&self, serializer: S)
stabby-abi/src/slice.rs:208
Methodserialize
(&self, serializer: S)
stabby-abi/src/result.rs:579
Methodserialize
(&self, serializer: S)
stabby-abi/src/alloc/vec.rs:847
Methodserialize
(&self, serializer: S)
stabby-abi/src/alloc/string.rs:377
Methodserialize
(&self, serializer: S)
stabby-abi/src/alloc/boxed.rs:516
Methodserialize
(&self, serializer: S)
stabby-abi/src/alloc/sync.rs:973
Methodsize
Returns the size of the type.
stabby-abi/src/istable.rs:55
Methodsize_hint
(&self)
stabby-abi/src/iter.rs:22
Methodskip_to
The offset between the prefix and a field of type `T`.
stabby-abi/src/alloc/mod.rs:253
Functionsomefunc
(_: u8)
stabby/src/tests/layouts.rs:111
Functionstabby
(stabby_attrs: TokenStream, tokens: TokenStream)
stabby-macros/src/lib.rs:76
Functionstabby
( attrs: Vec<Attribute>, vis: Visibility, ident: Ident, generics: Generics, data: DataUnio
stabby-macros/src/unions.rs:55
Functionstabby
( attrs: Vec<Attribute>, vis: Visibility, ident: Ident, generics: Generics, DataStruct {
stabby-macros/src/structs.rs:98
Functionstabby
( attrs: Vec<Attribute>, vis: Visibility, ident: Ident, generics: Generics, data: DataEnum
stabby-macros/src/enums.rs:139
Methodstable_downcast
Downcasts the reference based on its reflection report.
stabby-abi/src/fatptr.rs:220
Methodstable_downcast_mut
Downcasts the mutable reference based on its reflection report.
stabby-abi/src/fatptr.rs:403
Methodstable_downcast_ref
Downcasts the reference based on its reflection report.
stabby-abi/src/fatptr.rs:368
Methodstop
Prevents `self` from draining its vector any further, and applies the already commited drain.
stabby-abi/src/alloc/vec.rs:689
Methodstore
Converts the duration-sign tuple into before storing it atomically. The [`Ordering`] is used in a single `store` operation.
stabby/src/time.rs:168
Methodstrong_count
Returns the strong count.
stabby-abi/src/alloc/sync.rs:214
Methodsubsec_millis
Returns the number of milliseconds after the last second of the duration.
stabby/src/time.rs:72
Methodswap_remove
Removes the element at `index`, moving the last element in its place. This is more efficient than [`Self::remove`], but causes reordering.
stabby-abi/src/alloc/vec.rs:435
Methodtake_ownership_from_ptr
Reinterprets the pointer as a root, taking partial ownership from the pointer.
stabby-abi/src/alloc/collections/arc_btree.rs:307
Methodtderef
(&self)
stabby-abi/src/vtable/mod.rs:304
Functiontest
()
stabby-abi/src/alloc/vec.rs:814
Functiontest
()
stabby-abi/src/alloc/single_or_vec.rs:587
Methodtest
(&mut self)
stabby/src/tests/traits.rs:96
Methodtest2
(&mut self)
stabby/src/tests/traits.rs:97
Functiontest_pair
()
stabby-abi/src/typenum2/unsigned.rs:633
Methodto_tokens
(&self, tokens: &mut proc_macro2::TokenStream)
stabby-macros/src/utils.rs:25
Methodto_tokens
(&self, tokens: &mut TokenStream)
stabby-macros/src/traits.rs:182
Methodto_tokens
(&self, tokens: &mut proc_macro2::TokenStream)
stabby-macros/src/lib.rs:289
Methodto_tokens
(&self, tokens: &mut proc_macro2::TokenStream)
stabby-macros/src/structs.rs:86
Methodtruncate
Removes all elements from `self` from the `len`th onward. Does nothing if `self.len() <= len`
stabby-abi/src/alloc/vec.rs:247
Methodtruncate
Removes all elements from `self` from the `len`th onward. Does nothing if `self.len() <= len`
stabby-abi/src/alloc/single_or_vec.rs:231
Methodtry_as_mut
(&mut self)
stabby-abi/src/fatptr.rs:111
Methodtry_as_mut
(&mut self)
stabby-abi/src/alloc/sync.rs:759
Methodtry_drain
Removes the specified range from the vector in bulk, returning all removed elements as an iterator. If the iterator is dropped before being fully cons
stabby-abi/src/alloc/vec.rs:360
Methodtry_from
(value: Vec<u8, Alloc>)
stabby-abi/src/alloc/string.rs:78
Methodtry_from
(value: ArcSlice<T, Alloc>)
stabby-abi/src/alloc/sync.rs:559
Methodtry_into_inner
Attempts the value from the allocation, freeing said allocation. # Errors Returns `this` if it's not the sole owner of its value.
stabby-abi/src/alloc/sync.rs:278
Methodtry_make_in
( constructor: F, mut alloc: Alloc, )
stabby-abi/src/alloc/boxed.rs:88
Methodtry_make_in
( constructor: F, mut alloc: Alloc, )
stabby-abi/src/alloc/sync.rs:94
Methodtry_new_in
Attempts to allocate a [`Self`] and store `value` in it # Errors Returns `value` and the allocator in case of failure.
stabby-abi/src/alloc/boxed.rs:116
Methodtry_new_in
Attempts to allocate a [`Self`] and store `value` in it # Errors Returns `value` and the allocator in case of failure.
stabby-abi/src/alloc/sync.rs:125
Methodtry_push
Adds `value` at the end of `self`. # Errors This function gives back the `value` if the vector tried to grow due to being full, and the allocator fai
stabby-abi/src/alloc/vec.rs:165
Methodtry_push
Attempts to add an element to the boxed slice without reallocating. # Errors Returns the value if pushing would require reallocating.
stabby-abi/src/alloc/boxed.rs:318
Methodtry_with_capacity
Constructs a new vector, allocating sufficient space for `capacity` elements. # Errors Returns an [`AllocationError`] if the allocator couldn't provid
stabby-abi/src/alloc/vec.rs:122
Methodtry_with_capacity
Constructs a new vector, allocating sufficient space for `capacity` elements. # Errors Returns an [`AllocationError`] if the allocator couldn't provi
stabby-abi/src/alloc/single_or_vec.rs:96
Methodtry_with_capacity_in
Constructs a new vector in `alloc`, allocating sufficient space for `capacity` elements. # Errors Returns an [`AllocationError`] if the allocator coul
stabby-abi/src/alloc/vec.rs:112
Methodtry_with_capacity_in
Constructs a new vector in `alloc`, allocating sufficient space for `capacity` elements. # Errors Returns an [`AllocationError`] if the allocator cou
stabby-abi/src/alloc/single_or_vec.rs:87
Functiontyeval
(tokens: TokenStream)
stabby-macros/src/lib.rs:256
Functiontyeval
(tokens: &TyExpr)
stabby-macros/src/tyops.rs:210
Methodunsafe_test
(&mut self)
stabby/src/tests/traits.rs:98
← previousnext →501–600 of 628, ranked by callers