MCPcopy Create free account

hub / github.com/ZettaScaleLabs/stabby / functions

Functions628 in github.com/ZettaScaleLabs/stabby

↓ 107 callersMethoditer
Iterates immutably over the vector's elements.
stabby-abi/src/alloc/vec.rs:313
↓ 78 callersMethodclone
(&self)
stabby-abi/src/lib.rs:188
↓ 72 callersMethodunwrap
# Panics If `!self.is_some`
stabby-abi/src/option.rs:179
↓ 64 callersMethodmap
( &'a self, mut leaf: LeafFn, mut join: JoinFn, )
stabby-macros/src/enums.rs:399
↓ 56 callersMethodas_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 callersMethodlen
Returns the number of elements in the vector.
stabby-abi/src/alloc/vec.rs:133
↓ 38 callersMethodpush
(&mut self, ty: Ty)
stabby-macros/src/traits.rs:37
↓ 37 callersMethodadd
(mut self, rhs: &S)
stabby-abi/src/alloc/string.rs:59
↓ 35 callersMethodprefix
(&self)
stabby-abi/src/alloc/mod.rs:327
↓ 34 callersMethodcast
Casts an allocated pointer.
stabby-abi/src/alloc/mod.rs:313
↓ 30 callersMethodextend
(&mut self, it: impl Iterator<Item = Ty>)
stabby-macros/src/traits.rs:45
↓ 28 callersMethodas_ref
Returns a reference to the underlying type
stabby-abi/src/lib.rs:234
↓ 27 callersMethodas_str
Returns self as a borrowed string
stabby-abi/src/alloc/string.rs:31
↓ 27 callersMethodwrite
(&mut self, buf: &[u8])
stabby-abi/src/alloc/vec.rs:800
↓ 24 callersMethodmap
Applies a computation to the `Ok` variant.
stabby-abi/src/result.rs:422
↓ 23 callersMethodis_empty
Returns `true` if the vector is empty.
stabby-abi/src/alloc/vec.rs:137
↓ 23 callersMethodpush
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 callersMethodpop
(&mut self)
stabby-abi/src/alloc/vec.rs:421
↓ 20 callersMethodis_some
Returns `true` if `self` contains a value.
stabby-abi/src/option.rs:160
↓ 19 callersFunctiontl_mod
()
stabby-macros/src/lib.rs:52
↓ 16 callersMethodas_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 callersMethodas_slice
Returns a slice of the vector's elements.
stabby-abi/src/alloc/vec.rs:257
↓ 15 callersMethodas_str
Exposes `self` as a `&sr`.
stabby-abi/src/str.rs:35
↓ 14 callersMethodis_ok
Returns `true` if in the `Ok` variant.
stabby-abi/src/result.rs:390
↓ 14 callersMethodload
Atomically load the current value.
stabby-abi/src/alloc/sync.rs:898
↓ 13 callersMethodas_ref
(&self)
stabby-abi/src/alloc/vec.rs:522
↓ 12 callersMethodprefix_mut
(&mut self)
stabby-abi/src/alloc/mod.rs:335
↓ 12 callersMethodread
( &'a mut self, mut buffer: stabby::slice::SliceMut<'a, u8>, )
stabby/src/tests/traits.rs:140
↓ 12 callersMethodwrite_str
(&mut self, s: &str)
stabby-abi/src/alloc/string.rs:350
↓ 11 callersFunctiondrop
(this: AnonymRefMut<'_>)
stabby-abi/src/vtable/mod.rs:379
↓ 11 callersMethodprefix_ptr
The pointer to the prefix for this allocation
stabby-abi/src/alloc/mod.rs:320
↓ 11 callersMethodpush
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 callersMethodas_slice
Cast into a standard slice.
stabby-abi/src/alloc/boxed.rs:305
↓ 10 callersMethodas_slice
Returns a borrow to the slice.
stabby-abi/src/alloc/sync.rs:442
↓ 10 callersMethodderef
(&self)
stabby-abi/src/slice.rs:77
↓ 10 callersFunctiongen_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 callersFunctioninner
(a: A, b: B, expected_size: usize)
stabby/src/tests/enums.rs:24
↓ 10 callersMethodmatch_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 callersFunctionptr_add
(lhs: NonNull<T>, rhs: usize)
stabby-abi/src/alloc/vec.rs:58
↓ 10 callersFunctionptr_diff
(lhs: NonNull<T>, rhs: NonNull<T>)
stabby-abi/src/alloc/vec.rs:49
↓ 10 callersMethodset_len
(&mut self, len: usize)
stabby-abi/src/alloc/vec.rs:144
↓ 10 callersMethodunselfed
(&self, elem: &Ty)
stabby-macros/src/traits.rs:54
↓ 9 callersMethodadd_field
(&mut self, name: String, ty: impl Into<Type>)
stabby-macros/src/lib.rs:358
↓ 9 callersMethodas_mut
Returns a mutable reference to the option's contents if they exist.
stabby-abi/src/option.rs:95
↓ 9 callersMethodas_mut
(&mut self)
stabby-abi/src/alloc/vec.rs:532
↓ 9 callersMethodmatch_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 callersMethodas_ref
(&self)
stabby-abi/src/alloc/string.rs:92
↓ 8 callersMethodconcat
(mut self, other: Self)
stabby-abi/src/alloc/mod.rs:93
↓ 8 callersMethodinto_iter
(self)
stabby-abi/src/alloc/vec.rs:626
↓ 7 callersMethodas_ptr
(&self)
stabby-abi/src/result.rs:102
↓ 7 callersMethodas_slice
Returns a slice of the elements in the vector.
stabby-abi/src/alloc/single_or_vec.rs:247
↓ 7 callersMethodas_slice_mut
(&mut self)
stabby-abi/src/alloc/vec.rs:264
↓ 7 callersMethodget
Calls `f` with the current value of in the set associated with `value`.
stabby-abi/src/alloc/collections/arc_btree.rs:64
↓ 7 callersMethodis_none
Returns `true` if `self` doesn't contain a value.
stabby-abi/src/option.rs:164
↓ 7 callersMethodmatch_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 callersMethodnext
(&mut self)
stabby-macros/src/functions.rs:227
↓ 7 callersMethodvtable
Access the vtable.
stabby-abi/src/fatptr.rs:185
↓ 6 callersMethodas_ref
(&self)
stabby-abi/src/fatptr.rs:76
↓ 6 callersMethodcapacity
The total capacity of the vector.
stabby-abi/src/alloc/vec.rs:174
↓ 6 callersMethodclone
(&self)
stabby-abi/src/alloc/sync.rs:319
↓ 6 callersMethoderr_unchecked
(&self)
stabby-abi/src/result.rs:472
↓ 6 callersMethodinto_iter
(self)
stabby-macros/src/functions.rs:213
↓ 6 callersMethodok_unchecked
(&self)
stabby-abi/src/result.rs:469
↓ 6 callersMethodptr_mut
(&mut self)
stabby-abi/src/fatptr.rs:292
↓ 6 callersMethodsplit
( &mut self, alloc: &Alloc, )
stabby-abi/src/alloc/collections/arc_btree.rs:716
↓ 6 callersMethodunself
(&self, this: &syn::Ident)
stabby-macros/src/lib.rs:500
↓ 6 callersMethodunwrap_or_else
Unwraps the option, or runs `f` if no value was in it.
stabby-abi/src/option.rs:168
↓ 6 callersMethodupdate
Atomically update `self` to [`Instant::now`] while returning its previous value.
stabby/src/time.rs:335
↓ 6 callersFunctionvtable
(tokens: TokenStream)
stabby-macros/src/lib.rs:116
↓ 5 callersFunctionalloc
(requested: crate::alloc::Layout)
stabby-abi/src/alloc/allocators/rust_alloc.rs:22
↓ 5 callersMethodentries
(&self)
stabby-abi/src/alloc/collections/arc_btree.rs:759
↓ 5 callersMethodfields
Returns an iterator over the type's fields.
stabby-abi/src/report.rs:112
↓ 5 callersMethodfree
(&mut self, ptr: *mut ())
stabby-abi/src/alloc/mod.rs:202
↓ 5 callersMethodmatch_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 callersMethodswap
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 callersMethodtry_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 callersMethodas_mut
(&mut self)
stabby-abi/src/fatptr.rs:84
↓ 4 callersMethodas_mut_ptr
(&mut self)
stabby-abi/src/result.rs:106
↓ 4 callersMethodas_slice
Obtain `&[T]` from its ABI-stable equivalent.
stabby-abi/src/slice.rs:51
↓ 4 callersMethodbounds
(&self)
stabby-macros/src/lib.rs:381
↓ 4 callersMethodclone
(&self)
stabby-abi/src/alloc/collections/arc_btree.rs:170
↓ 4 callersMethodderef
(&self)
stabby-abi/src/str.rs:62
↓ 4 callersMethodfor_each
(&self, mut f: impl FnMut(&T))
stabby-abi/src/alloc/collections/arc_btree.rs:403
↓ 4 callersMethodfree
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 callersMethodget_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 callersFunctioninstant_epoch
()
stabby/src/time.rs:284
↓ 4 callersMethodlen
Returns the number of elements in the vector.
stabby-abi/src/alloc/single_or_vec.rs:104
↓ 4 callersMethodlen
The number of elements in the boxed slice.
stabby-abi/src/alloc/boxed.rs:297
↓ 4 callersMethodlen
Returns the number of elements in the slice.
stabby-abi/src/alloc/sync.rs:434
↓ 4 callersMethodlifetimes
(self)
stabby-macros/src/utils.rs:83
↓ 4 callersMethodmap_with_finalizer
( &'a self, mut leaf: LeafFn, mut join: JoinFn, final_join: FinalJoinFn, )
stabby-macros/src/enums.rs:406
↓ 4 callersMethodmatch_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 callersMethodparse
(input: syn::parse::ParseStream)
stabby-macros/src/lib.rs:143
↓ 4 callersMethodpush
( &mut self, value: T, greater: Option<ArcBTreeSetNode<T, Alloc, REPLACE_O
stabby-abi/src/alloc/collections/arc_btree.rs:695
↓ 4 callersMethodstore
Atomically store a new value.
stabby-abi/src/alloc/sync.rs:909
↓ 3 callersMethodalloc
(&mut self, layout: Layout)
stabby-abi/src/alloc/mod.rs:199
↓ 3 callersMethodand_then
Applies a fallible computation to the `Err` variant.
stabby-abi/src/result.rs:429
↓ 3 callersMethodas_mut
(&mut self)
stabby-abi/src/alloc/boxed.rs:236
↓ 3 callersMethodas_slice_mut
(&mut self)
stabby-abi/src/alloc/boxed.rs:311
↓ 3 callersMethodas_slice_mut_unchecked
(&mut self)
stabby-abi/src/alloc/sync.rs:455
next →1–100 of 628, ranked by callers