Files
google-apis-rs/core_foundation/base/index.html
2024-03-05 21:06:01 +01:00

4 lines
15 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `base` mod in crate `core_foundation`."><title>core_foundation::base - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="core_foundation" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../core_foundation/index.html">core_foundation</a><span class="version">0.9.3</span></h2></div><h2 class="location"><a href="#">Module base</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#statics">Statics</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In crate core_foundation</a></h2></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../core_foundation/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">core_foundation</a>::<wbr><a class="mod" href="#">base</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/core_foundation/base.rs.html#10-452">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.CFAllocator.html" title="struct core_foundation::base::CFAllocator">CFAllocator</a></div></li><li><div class="item-name"><a class="struct" href="struct.CFAllocatorContext.html" title="struct core_foundation::base::CFAllocatorContext">CFAllocatorContext</a></div></li><li><div class="item-name"><a class="struct" href="struct.CFRange.html" title="struct core_foundation::base::CFRange">CFRange</a></div></li><li><div class="item-name"><a class="struct" href="struct.CFType.html" title="struct core_foundation::base::CFType">CFType</a></div><div class="desc docblock-short">Superclass of all Core Foundation objects.</div></li><li><div class="item-name"><a class="struct" href="struct.ItemMutRef.html" title="struct core_foundation::base::ItemMutRef">ItemMutRef</a></div><div class="desc docblock-short">A reference to a mutable element inside a container</div></li><li><div class="item-name"><a class="struct" href="struct.ItemRef.html" title="struct core_foundation::base::ItemRef">ItemRef</a></div><div class="desc docblock-short">A reference to an element inside a container</div></li></ul><h2 id="enums" class="section-header"><a href="#enums">Enums</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.CFComparisonResult.html" title="enum core_foundation::base::CFComparisonResult">CFComparisonResult</a></div></li></ul><h2 id="statics" class="section-header"><a href="#statics">Statics</a></h2><ul class="item-table"><li><div class="item-name"><a class="static" href="static.kCFAllocatorDefault.html" title="static core_foundation::base::kCFAllocatorDefault">kCFAllocatorDefault</a></div></li><li><div class="item-name"><a class="static" href="static.kCFAllocatorMalloc.html" title="static core_foundation::base::kCFAllocatorMalloc">kCFAllocatorMalloc</a></div></li><li><div class="item-name"><a class="static" href="static.kCFAllocatorMallocZone.html" title="static core_foundation::base::kCFAllocatorMallocZone">kCFAllocatorMallocZone</a></div></li><li><div class="item-name"><a class="static" href="static.kCFAllocatorNull.html" title="static core_foundation::base::kCFAllocatorNull">kCFAllocatorNull</a></div></li><li><div class="item-name"><a class="static" href="static.kCFAllocatorSystemDefault.html" title="static core_foundation::base::kCFAllocatorSystemDefault">kCFAllocatorSystemDefault</a></div></li><li><div class="item-name"><a class="static" href="static.kCFAllocatorUseContext.html" title="static core_foundation::base::kCFAllocatorUseContext">kCFAllocatorUseContext</a></div></li><li><div class="item-name"><a class="static" href="static.kCFNotFound.html" title="static core_foundation::base::kCFNotFound">kCFNotFound</a></div><div class="desc docblock-short">Constant used by some functions to indicate failed searches.</div></li><li><div class="item-name"><a class="static" href="static.kCFNull.html" title="static core_foundation::base::kCFNull">kCFNull</a></div></li></ul><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.CFIndexConvertible.html" title="trait core_foundation::base::CFIndexConvertible">CFIndexConvertible</a></div></li><li><div class="item-name"><a class="trait" href="trait.FromMutVoid.html" title="trait core_foundation::base::FromMutVoid">FromMutVoid</a></div><div class="desc docblock-short">A trait describing how to convert from the stored *mut c_void to the desired T</div></li><li><div class="item-name"><a class="trait" href="trait.FromVoid.html" title="trait core_foundation::base::FromVoid">FromVoid</a></div><div class="desc docblock-short">A trait describing how to convert from the stored *const c_void to the desired T</div></li><li><div class="item-name"><a class="trait" href="trait.TCFType.html" title="trait core_foundation::base::TCFType">TCFType</a></div><div class="desc docblock-short">All Core Foundation types implement this trait. The associated type <code>Ref</code> specifies the
associated Core Foundation type: e.g. for <code>CFType</code> this is <code>CFTypeRef</code>; for <code>CFArray</code> this is
<code>CFArrayRef</code>.</div></li><li><div class="item-name"><a class="trait" href="trait.TCFTypeRef.html" title="trait core_foundation::base::TCFTypeRef">TCFTypeRef</a></div><div class="desc docblock-short">Trait for all types which are Core Foundation reference types.</div></li><li><div class="item-name"><a class="trait" href="trait.ToVoid.html" title="trait core_foundation::base::ToVoid">ToVoid</a></div><div class="desc docblock-short">A trait describing how to convert from the stored *const c_void to the desired T</div></li></ul><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.CFAllocatorAllocate.html" title="fn core_foundation::base::CFAllocatorAllocate">CFAllocatorAllocate</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFAllocatorCreate.html" title="fn core_foundation::base::CFAllocatorCreate">CFAllocatorCreate</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFAllocatorDeallocate.html" title="fn core_foundation::base::CFAllocatorDeallocate">CFAllocatorDeallocate</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFAllocatorGetContext.html" title="fn core_foundation::base::CFAllocatorGetContext">CFAllocatorGetContext</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFAllocatorGetDefault.html" title="fn core_foundation::base::CFAllocatorGetDefault">CFAllocatorGetDefault</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFAllocatorGetPreferredSizeForSize.html" title="fn core_foundation::base::CFAllocatorGetPreferredSizeForSize">CFAllocatorGetPreferredSizeForSize</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFAllocatorGetTypeID.html" title="fn core_foundation::base::CFAllocatorGetTypeID">CFAllocatorGetTypeID</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFAllocatorReallocate.html" title="fn core_foundation::base::CFAllocatorReallocate">CFAllocatorReallocate</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFAllocatorSetDefault.html" title="fn core_foundation::base::CFAllocatorSetDefault">CFAllocatorSetDefault</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFCopyDescription.html" title="fn core_foundation::base::CFCopyDescription">CFCopyDescription</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFEqual.html" title="fn core_foundation::base::CFEqual">CFEqual</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFGetRetainCount.html" title="fn core_foundation::base::CFGetRetainCount">CFGetRetainCount</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFGetTypeID.html" title="fn core_foundation::base::CFGetTypeID">CFGetTypeID</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFHash.html" title="fn core_foundation::base::CFHash">CFHash</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFRelease.html" title="fn core_foundation::base::CFRelease">CFRelease</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFRetain.html" title="fn core_foundation::base::CFRetain">CFRetain</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.CFShow.html" title="fn core_foundation::base::CFShow">CFShow</a><sup title="unsafe function"></sup></div></li></ul><h2 id="types" class="section-header"><a href="#types">Type Aliases</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.Boolean.html" title="type core_foundation::base::Boolean">Boolean</a></div></li><li><div class="item-name"><a class="type" href="type.CFAllocatorAllocateCallBack.html" title="type core_foundation::base::CFAllocatorAllocateCallBack">CFAllocatorAllocateCallBack</a></div></li><li><div class="item-name"><a class="type" href="type.CFAllocatorCopyDescriptionCallBack.html" title="type core_foundation::base::CFAllocatorCopyDescriptionCallBack">CFAllocatorCopyDescriptionCallBack</a></div></li><li><div class="item-name"><a class="type" href="type.CFAllocatorDeallocateCallBack.html" title="type core_foundation::base::CFAllocatorDeallocateCallBack">CFAllocatorDeallocateCallBack</a></div></li><li><div class="item-name"><a class="type" href="type.CFAllocatorPreferredSizeCallBack.html" title="type core_foundation::base::CFAllocatorPreferredSizeCallBack">CFAllocatorPreferredSizeCallBack</a></div></li><li><div class="item-name"><a class="type" href="type.CFAllocatorReallocateCallBack.html" title="type core_foundation::base::CFAllocatorReallocateCallBack">CFAllocatorReallocateCallBack</a></div></li><li><div class="item-name"><a class="type" href="type.CFAllocatorRef.html" title="type core_foundation::base::CFAllocatorRef">CFAllocatorRef</a></div></li><li><div class="item-name"><a class="type" href="type.CFAllocatorReleaseCallBack.html" title="type core_foundation::base::CFAllocatorReleaseCallBack">CFAllocatorReleaseCallBack</a></div></li><li><div class="item-name"><a class="type" href="type.CFAllocatorRetainCallBack.html" title="type core_foundation::base::CFAllocatorRetainCallBack">CFAllocatorRetainCallBack</a></div></li><li><div class="item-name"><a class="type" href="type.CFHashCode.html" title="type core_foundation::base::CFHashCode">CFHashCode</a></div></li><li><div class="item-name"><a class="type" href="type.CFIndex.html" title="type core_foundation::base::CFIndex">CFIndex</a></div></li><li><div class="item-name"><a class="type" href="type.CFNullRef.html" title="type core_foundation::base::CFNullRef">CFNullRef</a></div></li><li><div class="item-name"><a class="type" href="type.CFOptionFlags.html" title="type core_foundation::base::CFOptionFlags">CFOptionFlags</a></div></li><li><div class="item-name"><a class="type" href="type.CFTypeID.html" title="type core_foundation::base::CFTypeID">CFTypeID</a></div></li><li><div class="item-name"><a class="type" href="type.CFTypeRef.html" title="type core_foundation::base::CFTypeRef">CFTypeRef</a></div></li><li><div class="item-name"><a class="type" href="type.OSStatus.html" title="type core_foundation::base::OSStatus">OSStatus</a></div></li><li><div class="item-name"><a class="type" href="type.SInt32.html" title="type core_foundation::base::SInt32">SInt32</a></div></li><li><div class="item-name"><a class="type" href="type.mach_port_t.html" title="type core_foundation::base::mach_port_t">mach_port_t</a></div></li></ul></section></div></main></body></html>