MCPcopy Create free account

hub / github.com/ZettaScaleLabs/stabby / functions

Functions628 in github.com/ZettaScaleLabs/stabby

Methodfrom
(tokens: proc_macro::TokenStream)
stabby-macros/src/tyops.rs:44
Methodfrom
(value: &'a str)
stabby-abi/src/str.rs:41
Methodfrom
(value: core::option::Option<T>)
stabby-abi/src/option.rs:40
Methodfrom
(value: &'a [T])
stabby-abi/src/slice.rs:56
Methodfrom
(value: &'a Waker)
stabby-abi/src/future.rs:45
Methodfrom
(value: &T)
stabby-abi/src/fatptr.rs:30
Methodfrom
(value: core::result::Result<Ok, Err>)
stabby-abi/src/result.rs:176
Methodfrom
(value: VtSend<VTable<Head, Tail>>)
stabby-abi/src/vtable/mod.rs:412
Methodfrom
(value: &[T])
stabby-abi/src/alloc/vec.rs:550
Methodfrom
(value: Vec<T, Alloc>)
stabby-abi/src/alloc/single_or_vec.rs:559
Methodfrom
(value: String<Alloc>)
stabby-abi/src/alloc/string.rs:71
Methodfrom
(value: Vec<T, Alloc>)
stabby-abi/src/alloc/boxed.rs:388
Methodfrom
(value: &Arc<T, Alloc>)
stabby-abi/src/alloc/sync.rs:343
Methodfrom_alloc
Constructs a new map, using the provided allocator. This operation does not allocate.
stabby-abi/src/alloc/collections/arc_btree.rs:125
Methodfrom_iter
(mut iter: T)
stabby-macros/src/traits.rs:1327
Methodfrom_iter
(iter: T)
stabby-macros/src/enums.rs:375
Methodfrom_iter
(iter: I)
stabby-abi/src/alloc/vec.rs:577
Methodfrom_iter
(iter: I)
stabby-abi/src/alloc/boxed.rs:441
Methodfrom_iter
(iter: I)
stabby-abi/src/alloc/sync.rs:655
Methodfrom_micros
(micros: u64)
stabby/src/time.rs:31
Methodfrom_millis
(millis: u64)
stabby/src/time.rs:23
Methodfrom_raw
Constructs `Self` from a raw allocation. # Safety No other container must own (even partially) `this`.
stabby-abi/src/alloc/boxed.rs:190
Methodfrom_raw
Constructs `Self` from a raw allocation. # Safety `this` MUST not be dangling, and have been obtained through [`Self::into_raw`].
stabby-abi/src/alloc/sync.rs:191
Methodfrom_secs_f64
(secs: f64)
stabby/src/time.rs:43
Methodfrom_str
(s: &str)
stabby-macros/src/functions.rs:185
Functiongen_closures_impl
(_: TokenStream)
stabby-macros/src/lib.rs:262
Methodgen_stuff
(&mut self)
stabby/src/tests/traits.rs:37
Methodgen_stuff3
(&mut self, _with: Box<()>)
stabby/src/tests/traits.rs:93
Methodget_canaried
Gets `symbol` from the library, using stabby's canaries to check for compatibility. The library must have a symbol with the appropriate type named th
stabby/src/libloading.rs:109
Methodget_mut
(&'a mut self, key: &K)
stabby/src/map.rs:22
Methodget_mut_unchecked
(this: &mut Self)
stabby-abi/src/alloc/sync.rs:209
Methodget_stabbied
Gets `symbol` from the library, using stabby's reports to check for compatibility. The library must have a symbol with the appropriate type named the
stabby/src/libloading.rs:74
Methodhash
(&self, state: &mut H)
stabby-abi/src/report.rs:54
Methodhash
(&self, state: &mut H)
stabby-abi/src/result.rs:138
Methodhash
(&self, state: &mut H)
stabby-abi/src/vtable/mod.rs:365
Methodhash
(&self, state: &mut H)
stabby-abi/src/alloc/string.rs:113
Methodhash
(&self, state: &mut H)
stabby-abi/src/alloc/boxed.rs:383
Methodhash
(&self, state: &mut H)
stabby-abi/src/alloc/sync.rs:598
Methodi64_to_duration
(mut t: i64)
stabby/src/time.rs:134
Methodidentifier
()
stabby-abi/src/istable.rs:101
Functionimport
(attrs: TokenStream, fn_spec: TokenStream)
stabby-macros/src/lib.rs:481
Functionimport
( macro_attrs: proc_macro::TokenStream, fn_decl: syn::ItemForeignMod, )
stabby-macros/src/functions.rs:420
Methodincrement_strong_count
Increments the strong count. # Safety `this` MUST be a valid pointer derived from `Self`
stabby-abi/src/alloc/sync.rs:220
Methodincrement_weak_count
Increments the weak count, returning its previous value.
stabby-abi/src/alloc/sync.rs:234
Methodinit
Initializes any given pointer: - The returned pointer is guaranteed to be correctly aligned for `T` - It is guaranteed to preceded without padding by
stabby-abi/src/alloc/mod.rs:353
Methodinto_inner
Extracts the inner value from `self`
stabby-abi/src/lib.rs:254
Methodinto_inner
Extracts the value from the allocation, freeing said allocation.
stabby-abi/src/alloc/boxed.rs:171
Methodinto_inner_unchecked
# Safety This is only safe if `T` is FFI-safe, or if this `self` was constructed from a value of `T` that was instanciated within the same shared obje
stabby-abi/src/lib.rs:250
Methodinto_iter
(self)
stabby-abi/src/alloc/boxed.rs:489
Methodinto_iter
(self)
stabby-abi/src/alloc/sync.rs:649
Methodinto_raw
Returns the pointer to the inner raw allocation, leaking `this`. Note that the pointer may be dangling if `T` is zero-sized.
stabby-abi/src/alloc/boxed.rs:182
Methodinto_raw
Returns the pointer to the inner raw allocation, leaking `this`. Note that the pointer may be dangling if `T` is zero-sized.
stabby-abi/src/alloc/sync.rs:183
Methodis_compatible
Whether or not two reports correspond to the same type, with the same layout and invariants.
stabby-abi/src/report.rs:67
Methodis_empty
Returns `true` if the vector is empty.
stabby-abi/src/alloc/single_or_vec.rs:108
Methodis_empty
Returns `true` if the slice is empty.
stabby-abi/src/alloc/mod.rs:436
Methodis_empty
Returns true if the slice is empty.
stabby-abi/src/alloc/sync.rs:438
Methodis_empty
Return `true` iff the set is empty.
stabby-abi/src/alloc/collections/arc_btree.rs:416
Methodis_invalid
Returns `true` if `ptr` points to memory that cannot be a valid value of `Self`. Note that this function returning `false` is not a guarantee that th
stabby-abi/src/istable.rs:72
Methodis_invalid
(_: *const u8)
stabby-abi/src/istable.rs:305
Methodis_unique
Whether or not `this` is the sole owner of its data, including weak owners.
stabby-abi/src/alloc/string.rs:170
Methodis_unique
Whether or not `this` is the sole owner of its data, including weak owners.
stabby-abi/src/alloc/sync.rs:272
Functionissue_112
()
stabby/src/tests/regressions/issue_112.rs:2
Methodlast
(mut self)
stabby-abi/src/alloc/single_or_vec.rs:503
Functionlayouts
()
stabby/src/tests/layouts.rs:138
Methodlen
Returns the number of elements in the set.
stabby-abi/src/alloc/collections/arc_btree.rs:409
Methodload
Atomically loads the stored value, converting it to a duration-sign tuple. The [`Ordering`] is used in a single `load` operation.
stabby/src/time.rs:162
Functionlogfile
(logfile: std::path::PathBuf)
stabby-macros/src/lib.rs:23
Functionmain
()
stabby/build.rs:1
Functionmain
()
stabby/src/tests/regressions/issue_103.rs:2
Functionmain
()
stabby-macros/build.rs:22
Functionmain
()
examples/dynlinkage/build.rs:15
Functionmain
()
examples/dynlinkage/src/main.rs:26
Functionmain
()
examples/libloading/src/main.rs:16
Functionmain
()
stabby-abi/build.rs:110
Methodmake
Attempts to allocate [`Self`], initializing it with `constructor`. Note that the allocation may or may not be zeroed. If the allocation fails, the `
stabby-abi/src/alloc/boxed.rs:55
Methodmake
Attempts to allocate [`Self`], initializing it with `constructor`. Note that the allocation may or may not be zeroed. If the allocation fails, the `
stabby-abi/src/alloc/sync.rs:60
Methodmake_in
Attempts to allocate [`Self`], initializing it with `constructor`. Note that the allocation may or may not be zeroed. # Errors Returns the uninitial
stabby-abi/src/alloc/boxed.rs:149
Methodmake_in
Attempts to allocate [`Self`], initializing it with `constructor`. Note that the allocation may or may not be zeroed. # Errors Returns the uninitial
stabby-abi/src/alloc/sync.rs:158
Methodmake_mut
Returns a mutable reference to this `Arc`'s value, cloning that value into a new `Arc` if [`Self::get_mut`] would have failed.
stabby-abi/src/alloc/sync.rs:241
Methodmake_mut_and_get_alloc
Returns a mutable reference to this `Arc`'s value, cloning that value into a new `Arc` if [`Self::get_mut`] would have failed.
stabby-abi/src/alloc/sync.rs:256
Methodmatch_mut_ctx
Equivalent to `match &mut self`.
stabby-abi/src/option.rs:126
Methodmatch_mut_ctx
Equivalent to `match &mut self`.
stabby-abi/src/result.rs:327
Methodmatch_owned_ctx
Equivalent to `match self`.
stabby-abi/src/result.rs:371
Methodmatch_ref_ctx
Equivalent to `match &self`.
stabby-abi/src/result.rs:290
Methodmut_as
(&mut self)
stabby-abi/src/as_mut.rs:24
Methodnew
Construct a new [`Duration`].
stabby/src/time.rs:15
Methodnew
Wraps a standard `str` into its ABI-stable equivalent.
stabby-abi/src/str.rs:29
Methodnew
(value: T)
stabby-abi/src/lib.rs:219
Methodnew
Convert `&[T]` to its ABI-stable equivalent.
stabby-abi/src/slice.rs:43
Methodnew
Used in `#[stabby::import(canaries)]`
stabby-abi/src/checked_import.rs:32
Methodnew
Constructs a new vector with the default allocator. This doesn't actually allocate.
stabby-abi/src/alloc/vec.rs:69
Methodnew
Constructs a new vector. This doesn't actually allocate.
stabby-abi/src/alloc/single_or_vec.rs:37
Methodnew
Constructs a new string using the default allocator.
stabby-abi/src/alloc/string.rs:19
Methodnew
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:67
Methodnew
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:72
Methodnew
Constructs the allocator.
stabby-abi/src/alloc/allocators/libc_alloc.rs:50
Methodnew
Constructs the allocator.
stabby-abi/src/alloc/allocators/rust_alloc.rs:94
Methodnew
Constructs a new, empty set.
stabby-abi/src/alloc/collections/arc_btree.rs:26
Methodnew_in
Constructs a new vector in `alloc`. This doesn't actually allocate.
stabby-abi/src/alloc/vec.rs:75
Methodnew_in
Constructs a new vector in `alloc`. This doesn't actually allocate.
stabby-abi/src/alloc/single_or_vec.rs:59
← previousnext →401–500 of 628, ranked by callers