Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZettaScaleLabs/stabby
/ functions
Functions
628 in github.com/ZettaScaleLabs/stabby
⨍
Functions
628
◇
Types & classes
243
↓ 3 callers
Function
assert_stable
(st: &impl ToTokens, ty: impl ToTokens)
stabby-macros/src/functions.rs:82
↓ 3 callers
Method
assume_init
Assumes the internals of the pointer have been initialized. # Safety The internals of the pointer must have been initialized.
stabby-abi/src/alloc/mod.rs:300
↓ 3 callers
Method
cmp
(&self, other: &Self)
stabby-abi/src/alloc/collections/arc_btree.rs:103
↓ 3 callers
Method
copy_extend
Extends `self` using a `memcpy`. This may be faster than extending through an iterator. # Panics If extending required an allocation that failed.
stabby-abi/src/alloc/vec.rs:288
↓ 3 callers
Method
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:330
↓ 3 callers
Method
find
(&self, ty: &Ty)
stabby-macros/src/traits.rs:50
↓ 3 callers
Method
get
(&'a self, key: &K)
stabby/src/map.rs:18
↓ 3 callers
Method
insert
Associates `value` to `key`, If some nodes on the way to the slot for `key` are shared, they will be shallowly cloned, calling [`Clone::clone`] on th
stabby-abi/src/alloc/collections/arc_btree.rs:139
↓ 3 callers
Method
is_err
Returns `true` if in the `Err` variant.
stabby-abi/src/result.rs:394
↓ 3 callers
Method
iter_mut
Iterates mutably over the vector's elements.
stabby-abi/src/alloc/vec.rs:317
↓ 3 callers
Method
match_mut
Equivalent to `match &mut self`. If you need multiple branches to obtain mutable access or ownership of a local, use [`Self::match_mut_ctx`] instead.
stabby-abi/src/result.rs:304
↓ 3 callers
Method
ok
Returns the `Ok` variant if it exists, `None` otherwise.
stabby-abi/src/result.rs:398
↓ 3 callers
Function
realloc
(ptr: *mut (), prev_layout: crate::alloc::Layout, new_size: usize)
stabby-abi/src/alloc/allocators/rust_alloc.rs:40
↓ 3 callers
Method
report
(&self)
stabby-abi/src/vtable/mod.rs:468
↓ 3 callers
Method
reserve
Ensures that `additional` more elements can be pushed on `self` without reallocating. This may reallocate once to provide this guarantee. # Panics T
stabby-abi/src/alloc/vec.rs:203
↓ 3 callers
Function
stabby
(attrs: Attrs, fn_spec: syn::ItemFn)
stabby-macros/src/functions.rs:80
↓ 3 callers
Method
subsec_nanos
Returns the number of nanoseconds after the last second of the duration.
stabby/src/time.rs:64
↓ 3 callers
Method
try_copy_extend
Extends `self` using a `memcpy`. This may be faster than extending through an iterator. # Errors If extending required an allocation that failed.
stabby-abi/src/alloc/vec.rs:298
↓ 3 callers
Function
u
(mut i: u128)
stabby-abi/build.rs:24
↓ 3 callers
Method
unbound
(self)
stabby-macros/src/utils.rs:120
↓ 3 callers
Method
unselfed_iter
(&self)
stabby-macros/src/traits.rs:143
↓ 3 callers
Method
unwrap_unchecked
# Safety Calling this on `Self::None()` is UB.
stabby-abi/src/option.rs:173
↓ 2 callers
Method
align
Returns the alignment of the type.
stabby-abi/src/istable.rs:61
↓ 2 callers
Method
as_mut_unchecked
(&mut self)
stabby-abi/src/lib.rs:244
↓ 2 callers
Method
as_ref
Returns a reference to the option's contents if they exist.
stabby-abi/src/option.rs:91
↓ 2 callers
Method
as_ref
(&self)
stabby-abi/src/result.rs:272
↓ 2 callers
Method
as_ref
(&self)
stabby-abi/src/alloc/single_or_vec.rs:403
↓ 2 callers
Method
as_secs
Returns the number of seconds in the duration.
stabby/src/time.rs:51
↓ 2 callers
Method
cmp
(&self, other: &Self)
stabby-abi/src/alloc/string.rs:129
↓ 2 callers
Method
compare_exchange
Replace the current value with the new value. # Errors If `current` no longer points to the same value as `self`, it
stabby-abi/src/alloc/sync.rs:940
↓ 2 callers
Method
consts
(self)
stabby-macros/src/utils.rs:104
↓ 2 callers
Method
crepr
(&self)
stabby-macros/src/lib.rs:387
↓ 2 callers
Method
elide_lifetime
(&mut self)
stabby-macros/src/traits.rs:1283
↓ 2 callers
Method
entries_mut
( &mut self, )
stabby-abi/src/alloc/collections/arc_btree.rs:763
↓ 2 callers
Method
err_mut_unchecked
(&'_ mut self)
stabby-abi/src/result.rs:480
↓ 2 callers
Method
error_report
(&self)
stabby-abi/src/checked_import.rs:102
↓ 2 callers
Function
factor_version
(version, base)
release.py:12
↓ 2 callers
Function
free
(ptr: *mut (), prev_layout: crate::alloc::Layout)
stabby-abi/src/alloc/allocators/rust_alloc.rs:71
↓ 2 callers
Function
generics_without_defaults
( generics: impl IntoIterator<Item = &'a GenericParam>, )
stabby-macros/src/utils.rs:52
↓ 2 callers
Method
id
(&self)
stabby-abi/src/vtable/mod.rs:471
↓ 2 callers
Method
into_raw_components
(self)
stabby-abi/src/alloc/vec.rs:269
↓ 2 callers
Method
into_raw_components
(self)
stabby-abi/src/alloc/boxed.rs:334
↓ 2 callers
Method
into_super
Allows casting a `dyn A + B` into `dyn A`. Note that you can only remove the outermost (rightmost in dyn syntax) trait at a time, except `Send` and `
stabby-abi/src/fatptr.rs:193
↓ 2 callers
Method
is
Compares `self` with `current` by pointer. # Errors Returns the new value of `self` if it differs from `current`.
stabby-abi/src/alloc/sync.rs:916
↓ 2 callers
Method
is_empty
Returns `true` if the slice is empty.
stabby-abi/src/alloc/boxed.rs:301
↓ 2 callers
Method
next_back
(&mut self)
stabby-abi/src/alloc/single_or_vec.rs:523
↓ 2 callers
Method
ok_mut_unchecked
(&mut self)
stabby-abi/src/result.rs:476
↓ 2 callers
Function
posix_memalign
(this: &mut *mut core::ffi::c_void, size: usize, align: usize)
stabby-abi/src/alloc/allocators/libc_alloc.rs:20
↓ 2 callers
Method
rec_self_dependent_types
(&self, sdts: &mut Vec<Ty>)
stabby-macros/src/traits.rs:1361
↓ 2 callers
Method
reserve
Ensures that `additional` more elements can be pushed on `self` without reallocating. This may reallocate once to provide this guarantee. # Panics T
stabby-abi/src/alloc/single_or_vec.rs:193
↓ 2 callers
Method
size_hint
(&self)
stabby-abi/src/alloc/vec.rs:709
↓ 2 callers
Function
stable_fn
(v: u8)
examples/library/src/lib.rs:16
↓ 2 callers
Function
trait_assertions
(_t: T)
stabby/src/tests/traits.rs:179
↓ 2 callers
Method
try_grow
(&mut self)
stabby-abi/src/alloc/vec.rs:189
↓ 2 callers
Method
types
(self)
stabby-macros/src/utils.rs:93
↓ 2 callers
Function
unbound_generics
( generics: impl IntoIterator<Item = &'a GenericParam>, )
stabby-macros/src/utils.rs:37
↓ 2 callers
Function
unstable_fn
(v: &[u8])
examples/library/src/lib.rs:22
↓ 2 callers
Method
unwrap_err_or_else
Returns the `Err` variant if applicable, calling `f` on the `Ok` otherwise.
stabby-abi/src/result.rs:453
↓ 2 callers
Method
unwrap_or_else
Returns the `Ok` variant if applicable, calling `f` on the `Err` otherwise.
stabby-abi/src/result.rs:436
↓ 1 callers
Method
__bounds
( &self, bounded_types: &mut HashSet<syn::Type>, mut report_bounds: proc_macro2::Token
stabby-macros/src/lib.rs:361
↓ 1 callers
Method
anonimize
(self)
stabby-abi/src/fatptr.rs:158
↓ 1 callers
Method
as_nanos
`u64::MAX * 10^9 + u32::MAX < u128`
stabby/src/time.rs:56
↓ 1 callers
Method
as_ref
# Errors Returns a [`ReportMismatch`] if the local and loaded reports differ.
stabby-abi/src/checked_import.rs:110
↓ 1 callers
Method
as_ref
(&self)
stabby-abi/src/alloc/boxed.rs:228
↓ 1 callers
Method
as_ref
(&self)
stabby-abi/src/alloc/sync.rs:745
↓ 1 callers
Method
as_slice_mut
Returns a mutable slice of the elements in the vector.
stabby-abi/src/alloc/single_or_vec.rs:254
↓ 1 callers
Method
as_str_mut
(&mut self)
stabby-abi/src/alloc/string.rs:36
↓ 1 callers
Method
as_str_mut_unchecked
(&mut self)
stabby-abi/src/alloc/string.rs:162
↓ 1 callers
Method
borrow
(&self)
stabby/src/allocs/borrow.rs:51
↓ 1 callers
Method
capacity
The total capacity of the vector.
stabby-abi/src/alloc/single_or_vec.rs:180
↓ 1 callers
Function
check
(read: DynFuture<'static, ()>, write: DynFuture<'static, ()>)
stabby/src/tests/traits.rs:229
↓ 1 callers
Method
clone
(this: *const ())
stabby-abi/src/future.rs:82
↓ 1 callers
Method
clone
(&self)
stabby-abi/src/alloc/vec.rs:454
↓ 1 callers
Method
clone
(&self)
stabby-abi/src/alloc/single_or_vec.rs:323
↓ 1 callers
Method
cmp
(&self, other: &Self)
stabby-abi/src/alloc/vec.rs:475
↓ 1 callers
Method
deref
(&self)
stabby-abi/src/alloc/vec.rs:517
↓ 1 callers
Method
drop_vt
(&self)
stabby-abi/src/vtable/mod.rs:320
↓ 1 callers
Method
edit
Applies `f` to the current value, swapping the current value for the one returned by `f`. If the value has changed in the meantime, the result of `f`
stabby-abi/src/alloc/collections/arc_btree.rs:32
↓ 1 callers
Function
export_canaried
(fn_spec: syn::ItemFn)
stabby-macros/src/functions.rs:294
↓ 1 callers
Function
export_with_report
(fn_spec: syn::ItemFn)
stabby-macros/src/functions.rs:308
↓ 1 callers
Method
extend
(&mut self, iter: Iter)
stabby-abi/src/alloc/vec.rs:557
↓ 1 callers
Function
factor
(x, base)
release.py:5
↓ 1 callers
Method
field_signature
(&self, self_dependents: &SelfDependentTypes)
stabby-macros/src/traits.rs:461
↓ 1 callers
Method
free
(&mut self, ptr: *mut ())
stabby-abi/src/alloc/allocators/libc_alloc.rs:68
↓ 1 callers
Function
gen_closures
()
stabby-macros/src/gen_closures.rs:16
↓ 1 callers
Method
grow
(&mut self)
stabby-abi/src/alloc/vec.rs:186
↓ 1 callers
Method
guard_mut_inner
(&mut self)
stabby-abi/src/as_mut.rs:106
↓ 1 callers
Method
guard_ref_inner
(&self)
stabby-abi/src/as_mut.rs:69
↓ 1 callers
Method
hash
(&self, state: &mut H)
stabby-abi/src/slice.rs:110
↓ 1 callers
Function
hash_report
(mut hash: Sha256, report: &TypeReport)
stabby-abi/src/report.rs:137
↓ 1 callers
Method
insert
(&mut self, key: K, value: V)
stabby/src/map.rs:26
↓ 1 callers
Method
insert
(&self, vtable: &[*const ()])
stabby-abi/src/vtable/mod.rs:103
↓ 1 callers
Method
insert_inner
(&mut self, value: T)
stabby-abi/src/alloc/collections/arc_btree.rs:580
↓ 1 callers
Method
insert_typed
Inserts a vtable in the registry.
stabby-abi/src/vtable/mod.rs:84
↓ 1 callers
Method
into_iter
(self)
stabby-abi/src/alloc/single_or_vec.rs:435
↓ 1 callers
Method
into_owned
(self)
stabby/src/allocs/borrow.rs:39
↓ 1 callers
Method
into_raw_waker
(self)
stabby-abi/src/future.rs:104
↓ 1 callers
Method
is_det_ok
(&self, _: *const u8)
stabby-abi/src/enums/mod.rs:71
↓ 1 callers
Method
len
Returns the number of elements in the slice.
stabby-abi/src/alloc/mod.rs:432
↓ 1 callers
Method
match_owned_ctx
Equivalent to `match self`.
stabby-abi/src/option.rs:150
← previous
next →
101–200 of 628, ranked by callers