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
↓ 107 callers
Method
iter
Iterates immutably over the vector's elements.
stabby-abi/src/alloc/vec.rs:313
↓ 78 callers
Method
clone
(&self)
stabby-abi/src/lib.rs:188
↓ 72 callers
Method
unwrap
# Panics If `!self.is_some`
stabby-abi/src/option.rs:179
↓ 64 callers
Method
map
( &'a self, mut leaf: LeafFn, mut join: JoinFn, )
stabby-macros/src/enums.rs:399
↓ 56 callers
Method
as_ptr
Takes a pointer to the root. For the pointer to own the pointee of `self`, said pointee must be forgotten.
stabby-abi/src/alloc/collections/arc_btree.rs:254
↓ 48 callers
Method
len
Returns the number of elements in the vector.
stabby-abi/src/alloc/vec.rs:133
↓ 38 callers
Method
push
(&mut self, ty: Ty)
stabby-macros/src/traits.rs:37
↓ 37 callers
Method
add
(mut self, rhs: &S)
stabby-abi/src/alloc/string.rs:59
↓ 35 callers
Method
prefix
(&self)
stabby-abi/src/alloc/mod.rs:327
↓ 34 callers
Method
cast
Casts an allocated pointer.
stabby-abi/src/alloc/mod.rs:313
↓ 30 callers
Method
extend
(&mut self, it: impl Iterator<Item = Ty>)
stabby-macros/src/traits.rs:45
↓ 28 callers
Method
as_ref
Returns a reference to the underlying type
stabby-abi/src/lib.rs:234
↓ 27 callers
Method
as_str
Returns self as a borrowed string
stabby-abi/src/alloc/string.rs:31
↓ 27 callers
Method
write
(&mut self, buf: &[u8])
stabby-abi/src/alloc/vec.rs:800
↓ 24 callers
Method
map
Applies a computation to the `Ok` variant.
stabby-abi/src/result.rs:422
↓ 23 callers
Method
is_empty
Returns `true` if the vector is empty.
stabby-abi/src/alloc/vec.rs:137
↓ 23 callers
Method
push
Adds `value` at the end of `self`. # Panics This function panics if the vector tried to grow due to being full, and the allocator failed to provide a
stabby-abi/src/alloc/vec.rs:151
↓ 21 callers
Method
pop
(&mut self)
stabby-abi/src/alloc/vec.rs:421
↓ 20 callers
Method
is_some
Returns `true` if `self` contains a value.
stabby-abi/src/option.rs:160
↓ 19 callers
Function
tl_mod
()
stabby-macros/src/lib.rs:52
↓ 16 callers
Method
as_ref_unchecked
Returns a reference to the underlying type # Safety This is only safe if `T` is FFI-safe, or if this `self` was constructed from a value of `T` that w
stabby-abi/src/lib.rs:230
↓ 16 callers
Method
as_slice
Returns a slice of the vector's elements.
stabby-abi/src/alloc/vec.rs:257
↓ 15 callers
Method
as_str
Exposes `self` as a `&sr`.
stabby-abi/src/str.rs:35
↓ 14 callers
Method
is_ok
Returns `true` if in the `Ok` variant.
stabby-abi/src/result.rs:390
↓ 14 callers
Method
load
Atomically load the current value.
stabby-abi/src/alloc/sync.rs:898
↓ 13 callers
Method
as_ref
(&self)
stabby-abi/src/alloc/vec.rs:522
↓ 12 callers
Method
prefix_mut
(&mut self)
stabby-abi/src/alloc/mod.rs:335
↓ 12 callers
Method
read
( &'a mut self, mut buffer: stabby::slice::SliceMut<'a, u8>, )
stabby/src/tests/traits.rs:140
↓ 12 callers
Method
write_str
(&mut self, s: &str)
stabby-abi/src/alloc/string.rs:350
↓ 11 callers
Function
drop
(this: AnonymRefMut<'_>)
stabby-abi/src/vtable/mod.rs:379
↓ 11 callers
Method
prefix_ptr
The pointer to the prefix for this allocation
stabby-abi/src/alloc/mod.rs:320
↓ 11 callers
Method
push
Adds `value` at the end of `self`. # Panics This function panics if the vector tried to grow due to being full, and the allocator failed to provide a
stabby-abi/src/alloc/single_or_vec.rs:116
↓ 10 callers
Method
as_slice
Cast into a standard slice.
stabby-abi/src/alloc/boxed.rs:305
↓ 10 callers
Method
as_slice
Returns a borrow to the slice.
stabby-abi/src/alloc/sync.rs:442
↓ 10 callers
Method
deref
(&self)
stabby-abi/src/slice.rs:77
↓ 10 callers
Function
gen_id
Generates an ID based on a [`TypeReport`] using [`Sha256`]. The hash also contains information about the architecture, allowing to consider a same st
stabby-abi/src/report.rs:172
↓ 10 callers
Function
inner
(a: A, b: B, expected_size: usize)
stabby/src/tests/enums.rs:24
↓ 10 callers
Method
match_ref
Equivalent to `match &self`. If you need multiple branches to obtain mutable access or ownership of a local, use [`Self::match_ref_ctx`] instead.
stabby-abi/src/option.rs:100
↓ 10 callers
Function
ptr_add
(lhs: NonNull<T>, rhs: usize)
stabby-abi/src/alloc/vec.rs:58
↓ 10 callers
Function
ptr_diff
(lhs: NonNull<T>, rhs: NonNull<T>)
stabby-abi/src/alloc/vec.rs:49
↓ 10 callers
Method
set_len
(&mut self, len: usize)
stabby-abi/src/alloc/vec.rs:144
↓ 10 callers
Method
unselfed
(&self, elem: &Ty)
stabby-macros/src/traits.rs:54
↓ 9 callers
Method
add_field
(&mut self, name: String, ty: impl Into<Type>)
stabby-macros/src/lib.rs:358
↓ 9 callers
Method
as_mut
Returns a mutable reference to the option's contents if they exist.
stabby-abi/src/option.rs:95
↓ 9 callers
Method
as_mut
(&mut self)
stabby-abi/src/alloc/vec.rs:532
↓ 9 callers
Method
match_owned
Equivalent to `match self`. If you need multiple branches to obtain mutable access or ownership of a local, use [`Self::match_owned_ctx`] instead.
stabby-abi/src/option.rs:142
↓ 8 callers
Method
as_ref
(&self)
stabby-abi/src/alloc/string.rs:92
↓ 8 callers
Method
concat
(mut self, other: Self)
stabby-abi/src/alloc/mod.rs:93
↓ 8 callers
Method
into_iter
(self)
stabby-abi/src/alloc/vec.rs:626
↓ 7 callers
Method
as_ptr
(&self)
stabby-abi/src/result.rs:102
↓ 7 callers
Method
as_slice
Returns a slice of the elements in the vector.
stabby-abi/src/alloc/single_or_vec.rs:247
↓ 7 callers
Method
as_slice_mut
(&mut self)
stabby-abi/src/alloc/vec.rs:264
↓ 7 callers
Method
get
Calls `f` with the current value of in the set associated with `value`.
stabby-abi/src/alloc/collections/arc_btree.rs:64
↓ 7 callers
Method
is_none
Returns `true` if `self` doesn't contain a value.
stabby-abi/src/option.rs:164
↓ 7 callers
Method
match_owned
Equivalent to `match self`. If you need multiple branches to obtain mutable access or ownership of a local, use [`Self::match_owned_ctx`] instead.
stabby-abi/src/result.rs:353
↓ 7 callers
Method
next
(&mut self)
stabby-macros/src/functions.rs:227
↓ 7 callers
Method
vtable
Access the vtable.
stabby-abi/src/fatptr.rs:185
↓ 6 callers
Method
as_ref
(&self)
stabby-abi/src/fatptr.rs:76
↓ 6 callers
Method
capacity
The total capacity of the vector.
stabby-abi/src/alloc/vec.rs:174
↓ 6 callers
Method
clone
(&self)
stabby-abi/src/alloc/sync.rs:319
↓ 6 callers
Method
err_unchecked
(&self)
stabby-abi/src/result.rs:472
↓ 6 callers
Method
into_iter
(self)
stabby-macros/src/functions.rs:213
↓ 6 callers
Method
ok_unchecked
(&self)
stabby-abi/src/result.rs:469
↓ 6 callers
Method
ptr_mut
(&mut self)
stabby-abi/src/fatptr.rs:292
↓ 6 callers
Method
split
( &mut self, alloc: &Alloc, )
stabby-abi/src/alloc/collections/arc_btree.rs:716
↓ 6 callers
Method
unself
(&self, this: &syn::Ident)
stabby-macros/src/lib.rs:500
↓ 6 callers
Method
unwrap_or_else
Unwraps the option, or runs `f` if no value was in it.
stabby-abi/src/option.rs:168
↓ 6 callers
Method
update
Atomically update `self` to [`Instant::now`] while returning its previous value.
stabby/src/time.rs:335
↓ 6 callers
Function
vtable
(tokens: TokenStream)
stabby-macros/src/lib.rs:116
↓ 5 callers
Function
alloc
(requested: crate::alloc::Layout)
stabby-abi/src/alloc/allocators/rust_alloc.rs:22
↓ 5 callers
Method
entries
(&self)
stabby-abi/src/alloc/collections/arc_btree.rs:759
↓ 5 callers
Method
fields
Returns an iterator over the type's fields.
stabby-abi/src/report.rs:112
↓ 5 callers
Method
free
(&mut self, ptr: *mut ())
stabby-abi/src/alloc/mod.rs:202
↓ 5 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/option.rs:118
↓ 5 callers
Method
swap
Swaps the elements at positions `a` and `b` # Panics Panics if either index is out of bound.
stabby-abi/src/alloc/vec.rs:409
↓ 5 callers
Method
try_reserve
Ensures that `additional` more elements can be pushed on `self` without reallocating. This may reallocate once to provide this guarantee. # Errors R
stabby-abi/src/alloc/vec.rs:213
↓ 4 callers
Method
as_mut
(&mut self)
stabby-abi/src/fatptr.rs:84
↓ 4 callers
Method
as_mut_ptr
(&mut self)
stabby-abi/src/result.rs:106
↓ 4 callers
Method
as_slice
Obtain `&[T]` from its ABI-stable equivalent.
stabby-abi/src/slice.rs:51
↓ 4 callers
Method
bounds
(&self)
stabby-macros/src/lib.rs:381
↓ 4 callers
Method
clone
(&self)
stabby-abi/src/alloc/collections/arc_btree.rs:170
↓ 4 callers
Method
deref
(&self)
stabby-abi/src/str.rs:62
↓ 4 callers
Method
for_each
(&self, mut f: impl FnMut(&T))
stabby-abi/src/alloc/collections/arc_btree.rs:403
↓ 4 callers
Method
free
Frees the allocation without destroying the value in it. # Safety `self` is in an invalid state after this and MUST be forgotten immediately.
stabby-abi/src/alloc/boxed.rs:199
↓ 4 callers
Method
get_mut
Provides a mutable reference to the internals if the strong and weak counts are both 1.
stabby-abi/src/alloc/sync.rs:196
↓ 4 callers
Function
instant_epoch
()
stabby/src/time.rs:284
↓ 4 callers
Method
len
Returns the number of elements in the vector.
stabby-abi/src/alloc/single_or_vec.rs:104
↓ 4 callers
Method
len
The number of elements in the boxed slice.
stabby-abi/src/alloc/boxed.rs:297
↓ 4 callers
Method
len
Returns the number of elements in the slice.
stabby-abi/src/alloc/sync.rs:434
↓ 4 callers
Method
lifetimes
(self)
stabby-macros/src/utils.rs:83
↓ 4 callers
Method
map_with_finalizer
( &'a self, mut leaf: LeafFn, mut join: JoinFn, final_join: FinalJoinFn, )
stabby-macros/src/enums.rs:406
↓ 4 callers
Method
match_ref
Equivalent to `match &self`. If you need multiple branches to obtain mutable access or ownership of a local, use [`Self::match_ref_ctx`] instead.
stabby-abi/src/result.rs:278
↓ 4 callers
Method
parse
(input: syn::parse::ParseStream)
stabby-macros/src/lib.rs:143
↓ 4 callers
Method
push
( &mut self, value: T, greater: Option<ArcBTreeSetNode<T, Alloc, REPLACE_O
stabby-abi/src/alloc/collections/arc_btree.rs:695
↓ 4 callers
Method
store
Atomically store a new value.
stabby-abi/src/alloc/sync.rs:909
↓ 3 callers
Method
alloc
(&mut self, layout: Layout)
stabby-abi/src/alloc/mod.rs:199
↓ 3 callers
Method
and_then
Applies a fallible computation to the `Err` variant.
stabby-abi/src/result.rs:429
↓ 3 callers
Method
as_mut
(&mut self)
stabby-abi/src/alloc/boxed.rs:236
↓ 3 callers
Method
as_slice_mut
(&mut self)
stabby-abi/src/alloc/boxed.rs:311
↓ 3 callers
Method
as_slice_mut_unchecked
(&mut self)
stabby-abi/src/alloc/sync.rs:455
next →
1–100 of 628, ranked by callers