96 |
/// ```
|
97 |
#[allow(clippy::missing_safety_doc)]
|
98 |
#[inline]
|
144 |
// Not public outside the crate.
|
145 |
#[allow(missing_docs, clippy::missing_safety_doc)]
|
146 |
pub trait UncheckedAnyExt: Any {
|
291 |
/// インスタンスの開放は自動で行いますが、辞書の開放は手動でしてください
|
292 |
#[allow(clippy::missing_safety_doc)]
|
293 |
pub unsafe fn create_ptr<'b>(
|
8 |
// TODO: other potential generic SIMDIndexDtype: Copy
|
9 |
#[allow(clippy::missing_safety_doc)] // TODO: add safety docs?
|
10 |
pub trait SIMD<
|
195 |
/// Extension trait adding guarded methods to [`ash::Device`]
|
196 |
#[allow(clippy::missing_safety_doc)]
|
197 |
pub trait DeviceExt: Sized + Deref<Target = ash::Device> {
|
7 |
/// Same as [ash::Entry::create_instance] but returns guarded instance
|
8 |
#[allow(clippy::missing_safety_doc)]
|
9 |
unsafe fn create_guarded_instance<'a>(
|
7 |
/// Same as [ash::Instance::create_device] but returns guarded device
|
8 |
#[allow(clippy::missing_safety_doc)]
|
9 |
unsafe fn create_guarded_device<'a>(
|
386 |
*/
|
387 |
#[allow(clippy::missing_safety_doc)] // TODO: Remove after closing https://github.com/rust-lang/rust-clippy/issues/5593
|
388 |
pub unsafe fn from_raw_ptr(ptr: *const ffi::fmat_t) -> Self {
|
386 |
*/
|
387 |
#[allow(clippy::missing_safety_doc)] // TODO: Remove after closing https://github.com/rust-lang/rust-clippy/issues/5593
|
388 |
pub unsafe fn from_raw_ptr(ptr: *const ffi::fmat_t) -> Self {
|
22 |
#[cfg(target_arch="avr")]
|
23 |
#[allow(clippy::missing_safety_doc)]
|
24 |
pub unsafe extern "C" fn rust_eh_personality() {
|
3 |
#[allow(clippy::missing_safety_doc)]
|
4 |
#[allow(non_upper_case_globals)]
|
12 |
///
|
13 |
#[allow(clippy::missing_safety_doc)]
|
14 |
#[no_mangle]
|
21 |
///
|
22 |
#[allow(clippy::missing_safety_doc)]
|
23 |
#[no_mangle]
|
32 |
///
|
33 |
#[allow(clippy::missing_safety_doc)]
|
34 |
#[no_mangle]
|
39 |
/// Returns `true` if Babycat was statically linked to an existing copy of FFmpeg.
|
40 |
#[allow(clippy::missing_safety_doc)]
|
41 |
#[no_mangle]
|
48 |
///
|
49 |
#[allow(clippy::missing_safety_doc)]
|
50 |
#[no_mangle]
|
14 |
/// Frees a `babycat_Waveform` struct.
|
15 |
#[allow(clippy::missing_safety_doc)]
|
16 |
#[no_mangle]
|
41 |
///
|
42 |
#[allow(clippy::missing_safety_doc)]
|
43 |
#[allow(clippy::missing_panics_doc)]
|
63 |
///
|
64 |
#[allow(clippy::missing_safety_doc)]
|
65 |
#[allow(clippy::missing_panics_doc)]
|
92 |
///
|
93 |
#[allow(clippy::missing_safety_doc)]
|
94 |
#[no_mangle]
|
109 |
///
|
110 |
#[allow(clippy::missing_safety_doc)]
|
111 |
#[allow(clippy::missing_panics_doc)]
|
235 |
/// 用户不应该使用此方法
|
236 |
#[allow(clippy::missing_safety_doc)]
|
237 |
pub unsafe fn resume(&mut self, co_id: usize) -> std::io::Result<()> {
|
9 |
#[allow(clippy::len_without_is_empty)]
|
10 |
#[allow(clippy::missing_safety_doc)]
|
11 |
pub trait RawEncoding {
|
11 |
#[allow(clippy::missing_safety_doc)]
|
12 |
pub unsafe trait Safe {}
|
386 |
*/
|
387 |
#[allow(clippy::missing_safety_doc)] // TODO: Remove after closing https://github.com/rust-lang/rust-clippy/issues/5593
|
388 |
pub unsafe fn from_raw_ptr(ptr: *const ffi::fmat_t) -> Self {
|
60 |
#[allow(clippy::missing_safety_doc)]
|
61 |
mod ioctls {
|
97 |
/// A trait indicating that a key has parameters.
|
98 |
#[allow(clippy::missing_safety_doc)]
|
99 |
pub unsafe trait HasParams {}
|
105 |
/// A trait indicating that a key has public components.
|
106 |
#[allow(clippy::missing_safety_doc)]
|
107 |
pub unsafe trait HasPublic {}
|
113 |
/// A trait indicating that a key has private components.
|
114 |
#[allow(clippy::missing_safety_doc)]
|
115 |
pub unsafe trait HasPrivate {}
|
58 |
#[allow(non_snake_case)]
|
59 |
#[allow(clippy::missing_safety_doc)]
|
60 |
/// activate the shader
|
67 |
#[allow(non_snake_case)]
|
68 |
#[allow(clippy::missing_safety_doc)]
|
69 |
/// utility uniform functions
|
78 |
#[allow(non_snake_case)]
|
79 |
#[allow(clippy::missing_safety_doc)]
|
80 |
/// ------------------------------------------------------------------------
|
85 |
#[allow(non_snake_case)]
|
86 |
#[allow(clippy::missing_safety_doc)]
|
87 |
/// ------------------------------------------------------------------------
|
92 |
#[allow(non_snake_case)]
|
93 |
#[allow(clippy::missing_safety_doc)]
|
94 |
/// ------------------------------------------------------------------------
|
136 |
#[allow(clippy::missing_safety_doc)]
|
137 |
/// Build a bulls-and-cows game host with a known answer unsafely.
|
208 |
#[allow(clippy::missing_safety_doc)]
|
209 |
/// Renew this host with a known answer unsafely.
|
34 |
#[doc(hidden)]
|
35 |
#[allow(clippy::missing_safety_doc)] // Should never be manually implemented.
|
36 |
pub unsafe trait CompressFinite: Finite {
|
41 |
#[doc(hidden)]
|
42 |
#[allow(clippy::missing_safety_doc)] // Should never be manually implemented.
|
43 |
pub unsafe trait ArrayFinite<V>: Finite {
|
33 |
#[doc(hidden)]
|
34 |
#[allow(clippy::missing_safety_doc)] // Should never be manually implemented.
|
35 |
pub unsafe trait BitmapFinite: Finite {
|
39 |
impl EarthlyBranch {
|
40 |
#[allow(clippy::missing_safety_doc)]
|
41 |
#[inline]
|
33 |
impl HeavenlyStems {
|
34 |
#[allow(clippy::missing_safety_doc)]
|
35 |
#[inline]
|
73 |
impl LunarDay {
|
74 |
#[allow(clippy::missing_safety_doc)]
|
75 |
#[inline]
|
103 |
/// 透過農曆日期數值來取得 `LunarDay` 列舉實體。
|
104 |
#[allow(clippy::missing_safety_doc)]
|
105 |
#[inline]
|
64 |
impl LunarMonth {
|
65 |
#[allow(clippy::missing_safety_doc)]
|
66 |
#[inline]
|
121 |
/// 透過農曆月份數值和是否閏月來取得 `LunarMonth` 列舉實體。
|
122 |
#[allow(clippy::missing_safety_doc)]
|
123 |
#[inline]
|
213 |
/// 利用農曆西曆年和農曆月日來產生 `LunisolarDate` 實體。
|
214 |
#[allow(clippy::missing_safety_doc)]
|
215 |
#[inline]
|
15 |
/// 透過西曆年份來取得 `LunisolarYear` 實體。
|
16 |
#[allow(clippy::missing_safety_doc)]
|
17 |
#[inline]
|
75 |
impl SolarDay {
|
76 |
#[allow(clippy::missing_safety_doc)]
|
77 |
#[inline]
|
105 |
/// 透過西曆日期數值來取得 `SolarDay` 列舉實體。
|
106 |
#[allow(clippy::missing_safety_doc)]
|
107 |
#[inline]
|
34 |
#[allow(clippy::missing_safety_doc)]
|
35 |
#[inline]
|
29 |
#[allow(clippy::missing_safety_doc)]
|
30 |
#[inline]
|
32 |
#[allow(clippy::missing_safety_doc)]
|
33 |
#[inline]
|
95 |
#[allow(clippy::missing_safety_doc)]
|
96 |
pub unsafe fn as_utf8_unchecked(&self) -> &str {
|
216 |
/// An interface to a contiguous memory block for use by data structures.
|
217 |
#[allow(clippy::missing_safety_doc)] // individual methods _do_ have safety docs!
|
218 |
pub unsafe trait Storage<R: LayoutSpec>: Sized {
|
90 |
/// A call with `cnt == 0` should never panic and be a no-op.
|
91 |
#[allow(clippy::missing_safety_doc)]
|
92 |
unsafe fn advance_mut(&mut self, cnt: usize);
|
1428 |
#[inline]
|
1429 |
#[allow(clippy::missing_safety_doc)]
|
1430 |
pub unsafe fn set_len(&mut self, len: usize) {
|
2173 |
#[inline]
|
2174 |
#[allow(clippy::missing_safety_doc)]
|
2175 |
pub unsafe fn set_len(&mut self, len: usize) {
|
22 |
/// Allocate SIMD-aligned memory
|
23 |
#[allow(clippy::missing_safety_doc)]
|
24 |
unsafe fn alloc(n: usize) -> *mut Self;
|
1191 |
// create unsafe ioctl wrappers
|
1192 |
#[allow(clippy::missing_safety_doc)]
|
1193 |
mod ioctl {
|
114 |
// We have to use _bad! here because we don't want the macro to use size_of::<fiemap> directly.
|
115 |
#[allow(clippy::missing_safety_doc)]
|
116 |
pub mod ioctl {
|
458 |
#[allow(clippy::missing_safety_doc)]
|
459 |
unsafe fn from_ptr(ptr: *mut PrcBox<T, A>, j: &Journal<A>) -> Self {
|
1058 |
#[allow(clippy::missing_safety_doc)]
|
1059 |
pub unsafe fn from_raw(ptr: *const T) -> Self {
|
297 |
#[allow(clippy::missing_safety_doc)]
|
298 |
unsafe fn from_ptr(ptr: *mut ParcInner<T, A>, j: &Journal<A>) -> Self {
|
899 |
#[allow(clippy::missing_safety_doc)]
|
900 |
pub unsafe fn from_raw(ptr: *const T) -> Self {
|
264 |
#[allow(clippy::missing_safety_doc)]
|
265 |
unsafe fn from_ptr(ptr: *mut PrcBox<T, A>, j: &Journal<A>) -> Self {
|
749 |
#[allow(clippy::missing_safety_doc)]
|
750 |
pub unsafe fn from_raw(ptr: *const T) -> Self {
|
298 |
#[allow(clippy::missing_safety_doc)]
|
299 |
unsafe fn from_ptr(ptr: *mut ParcInner<T, A>, j: &Journal<A>) -> Self {
|
863 |
#[allow(clippy::missing_safety_doc)]
|
864 |
pub unsafe fn from_raw(ptr: *const T) -> Self {
|
12 |
// Import an external memory referenced by `fd` with `size`
|
13 |
#[allow(clippy::missing_safety_doc)]
|
14 |
pub unsafe fn import(fd: i32, size: usize) -> CudaResult<ExternalMemory> {
|
30 |
#[allow(clippy::missing_safety_doc)]
|
31 |
pub unsafe fn reimport(&mut self, fd: i32, size: usize) -> CudaResult<()> {
|
206 |
/// Simple wrapper over cuMemcpyHtoD_v2
|
207 |
#[allow(clippy::missing_safety_doc)]
|
208 |
pub unsafe fn memcpy_htod(
|
36 |
#[inline]
|
37 |
#[allow(clippy::missing_safety_doc)]
|
38 |
pub unsafe fn steal() -> Self {
|
13 |
#[allow(clippy::missing_safety_doc)]
|
14 |
pub unsafe fn enable_itm(
|
37 |
}
|
38 |
#[allow(clippy::missing_safety_doc)]
|
39 |
#[inline]
|
42 |
}
|
43 |
#[allow(clippy::missing_safety_doc)]
|
44 |
#[inline]
|
72 |
#[allow(clippy::mut_from_ref)]
|
73 |
#[allow(clippy::missing_safety_doc)]
|
74 |
pub trait DataProvider<T>: Sync + Send {
|
90 |
impl AppParams {
|
91 |
#[allow(clippy::missing_safety_doc)]
|
92 |
#[doc(hidden)]
|
101 |
impl Params {
|
102 |
#[allow(clippy::missing_safety_doc)]
|
103 |
#[doc(hidden)]
|
39 |
type RefResponse;
|
40 |
#[allow(clippy::missing_safety_doc)]
|
41 |
unsafe fn return_ref<GE>(get_entity: GE) -> Option<Self::RefResponse> where Self: Sized, GE: Fn(&TypeId) -> Option<(Arc<AtomicU8>, *mut u8)>;
|
42 |
#[allow(clippy::missing_safety_doc)]
|
43 |
unsafe fn return_mut<GE>(get_entity: GE) -> Option<Self::MutResponse> where Self: Sized, GE: Fn(&TypeId) -> Option<(Arc<AtomicU8>, *mut u8)>;
|
11 |
#[allow(clippy::missing_safety_doc)] // This module is marked doc(hidden)
|
12 |
pub unsafe trait DynDynImpl<B: ?Sized + DynDynBase> {
|
78 |
#[cfg(feature = "capi")]
|
79 |
#[allow(clippy::missing_safety_doc)]
|
80 |
pub mod capi;
|
92 |
#[allow(clippy::missing_safety_doc)]
|
93 |
impl<'a, const C: usize, M, S> Executor<'a, C, M, S>
|
78 |
/// Construct a new EntityTag without checking.
|
79 |
#[allow(clippy::missing_safety_doc)]
|
80 |
#[inline]
|
96 |
/// Construct a new EntityTag without checking.
|
97 |
#[allow(clippy::missing_safety_doc)]
|
98 |
#[inline]
|
106 |
/// Construct a new EntityTag without checking.
|
107 |
#[allow(clippy::missing_safety_doc)]
|
108 |
#[inline]
|
6 |
pub mod cpu;
|
7 |
#[allow(clippy::missing_safety_doc)]
|
8 |
pub mod gpio;
|
22 |
#[inline(always)]
|
23 |
#[allow(clippy::missing_safety_doc)]
|
24 |
pub unsafe fn lock(&self) {
|
29 |
#[inline(always)]
|
30 |
#[allow(clippy::missing_safety_doc)]
|
31 |
pub unsafe fn unlock(&self) {
|
77 |
#[allow(clippy::missing_safety_doc)]
|
78 |
pub unsafe fn wait(&self, mutex: &RawMutex) {
|
83 |
#[allow(clippy::missing_safety_doc)]
|
84 |
pub unsafe fn wait_timeout(&self, mutex: &RawMutex, duration: Duration) -> bool {
|
22 |
#[inline(always)]
|
23 |
#[allow(clippy::missing_safety_doc)]
|
24 |
pub unsafe fn lock(&self) {
|
29 |
#[inline(always)]
|
30 |
#[allow(clippy::missing_safety_doc)]
|
31 |
pub unsafe fn unlock(&self) {
|
77 |
#[allow(clippy::missing_safety_doc)]
|
78 |
pub unsafe fn wait(&self, mutex: &RawMutex) {
|
83 |
#[allow(clippy::missing_safety_doc)]
|
84 |
pub unsafe fn wait_timeout(&self, mutex: &RawMutex, duration: Duration) -> bool {
|
489 |
/// by calling this function again.
|
490 |
#[allow(clippy::missing_safety_doc)]
|
491 |
pub unsafe fn init_from_ptr(state: *mut ffi::lua_State) -> Lua {
|
38 |
// reimplement it here, because it is just a thin wrapper around another function anyway.
|
39 |
#[allow(clippy::missing_safety_doc, clippy::too_many_arguments)]
|
40 |
pub unsafe fn tb_probe_wdl(
|
68 |
// reimplement it here, because it is just a thin wrapper around another function anyway.
|
69 |
#[allow(clippy::missing_safety_doc, clippy::too_many_arguments)]
|
70 |
pub unsafe fn tb_probe_root(
|
55 |
impl OpenGl {
|
56 |
#[allow(clippy::missing_safety_doc)]
|
57 |
#[cfg(not(target_arch = "wasm32"))]
|
68 |
#[allow(clippy::missing_safety_doc)]
|
69 |
#[cfg(not(target_arch = "wasm32"))]
|
166 |
/// Converts object arrays into Java arrays.
|
167 |
#[allow(clippy::missing_safety_doc)]
|
168 |
pub unsafe fn object_array_to_java<'a, T, U: Into<JObject<'a>> + 'a>(
|
187 |
/// Converts `user_data` back into a Java callback object
|
188 |
#[allow(clippy::missing_safety_doc)]
|
189 |
pub unsafe fn convert_cb_from_java(env: &JNIEnv, ctx: *mut c_void) -> JniResult<GlobalRef> {
|
30 |
#[allow(clippy::missing_safety_doc)] // not actually terribly unsafe
|
31 |
/// Create a new, null fz_string_t. Note that this is _not_ the zero value of fz_string_t.
|
183 |
#[allow(clippy::missing_safety_doc)] // NULL pointer is OK so not actually unsafe
|
184 |
/// Determine whether the given fz_string_t is a Null variant.
|
105 |
#[allow(clippy::missing_safety_doc)]
|
106 |
pub unsafe fn register(&self, def: *mut flb_plugin_proxy_def) -> c_int {
|
116 |
#[allow(clippy::missing_safety_doc)]
|
117 |
pub unsafe fn unregister(&self, _def: *mut flb_plugin_proxy_def) -> c_int {
|
121 |
#[allow(clippy::missing_safety_doc)]
|
122 |
pub unsafe fn init(&self, plugin: *mut flbgo_output_plugin) -> c_int {
|
131 |
#[allow(clippy::missing_safety_doc)]
|
132 |
pub unsafe fn flush(
|
158 |
#[allow(clippy::missing_safety_doc)]
|
159 |
pub unsafe fn exit(&self, ctx: *mut c_void) -> c_int {
|
12 |
#[panic_handler]
|
13 |
#[allow(clippy::missing_safety_doc)]
|
14 |
pub unsafe fn panic(panic_info: &PanicInfo<'_>) -> ! {
|
25 |
#[allow(clippy::missing_safety_doc)]
|
26 |
#[doc(hidden)]
|
265 |
#[allow(clippy::missing_safety_doc)]
|
266 |
/**
|
307 |
#[allow(clippy::missing_safety_doc)]
|
308 |
/**
|
63 |
#[allow(clippy::missing_safety_doc)]
|
64 |
/**
|
57 |
*/
|
58 |
#[allow(clippy::missing_safety_doc)] // TODO: Remove after closing https://github.com/rust-lang/rust-clippy/issues/5593
|
59 |
#[allow(clippy::too_many_arguments)]
|
89 |
*/
|
90 |
#[allow(clippy::missing_safety_doc)] // TODO: Remove after closing https://github.com/rust-lang/rust-clippy/issues/5593
|
91 |
#[allow(clippy::too_many_arguments)]
|
19 |
#[no_mangle]
|
20 |
#[allow(clippy::missing_safety_doc)]
|
21 |
pub unsafe fn dealloc(ptr: *mut u8, size: usize) {
|
33 |
#[no_mangle]
|
34 |
#[allow(clippy::missing_safety_doc)]
|
35 |
pub unsafe fn dealloc(ptr: *mut u8, size: usize) {
|
22 |
#[no_mangle]
|
23 |
#[allow(clippy::missing_safety_doc)]
|
24 |
pub unsafe fn dealloc(ptr: *mut u8, size: usize) {
|
245 |
#[allow(clippy::mut_from_ref)]
|
246 |
#[allow(clippy::missing_safety_doc)]
|
247 |
#[doc(alias = "gdk_pixbuf_get_pixels_with_length")]
|
17 |
#[allow(clippy::missing_safety_doc)]
|
18 |
pub trait ByteOrder {
|
23 |
#[allow(clippy::missing_safety_doc)]
|
21 |
#[no_mangle]
|
22 |
#[allow(clippy::missing_safety_doc)]
|
23 |
pub unsafe extern "C" fn search_func(
|
38 |
#[no_mangle]
|
39 |
#[allow(clippy::missing_safety_doc)]
|
40 |
pub unsafe extern "C" fn search_with_insensitive(
|
1564 |
#[allow(clippy::missing_safety_doc)]
|
1565 |
unsafe fn bind_template_child_with_offset<T>(
|
12 |
/// This is unsafe because new_order bounds can't be checked.
|
13 |
#[allow(clippy::missing_safety_doc)]
|
14 |
#[doc(alias = "gtk_tree_row_reference_reordered")]
|
1012 |
#[allow(clippy::missing_safety_doc)]
|
1013 |
pub unsafe trait CellAreaClassSubclassExt: ClassStruct {
|
879 |
#[allow(clippy::missing_safety_doc)]
|
880 |
pub unsafe trait WidgetClassSubclassExt: ClassStruct {
|
1202 |
#[allow(clippy::missing_safety_doc)]
|
1203 |
#[doc(alias = "gtk_widget_class_bind_template_child_full")]
|
39 |
/// 4. `ptr` must not be aliased
|
40 |
#[allow(clippy::missing_safety_doc)]
|
41 |
unsafe fn from_raw(ptr: *mut T) -> Self;
|
36 |
#[allow(clippy::missing_safety_doc)] // not exposed outside of this crate
|
37 |
pub unsafe trait Allocator {
|
19 |
/// interface of this trait is a private implementation detail.
|
20 |
#[allow(clippy::missing_safety_doc)]
|
21 |
pub unsafe trait DynamicBundle {
|
45 |
/// interface of this trait is a private implementation detail.
|
46 |
#[allow(clippy::missing_safety_doc)]
|
47 |
pub unsafe trait Bundle: DynamicBundle {
|
67 |
/// A dynamically typed collection of cloneable components
|
68 |
#[allow(clippy::missing_safety_doc)]
|
69 |
pub unsafe trait DynamicBundleClone: DynamicBundle {
|
27 |
/// Marker trait indicating whether a given [`Query`] will not produce unique references
|
28 |
#[allow(clippy::missing_safety_doc)]
|
29 |
pub unsafe trait QueryShared {}
|
36 |
/// Streaming iterators over contiguous homogeneous ranges of components
|
37 |
#[allow(clippy::missing_safety_doc)]
|
38 |
pub unsafe trait Fetch<'a>: Sized {
|
19 |
/// interface of this trait is a private implementation detail.
|
20 |
#[allow(clippy::missing_safety_doc)]
|
21 |
pub unsafe trait DynamicBundle {
|
45 |
/// interface of this trait is a private implementation detail.
|
46 |
#[allow(clippy::missing_safety_doc)]
|
47 |
pub unsafe trait Bundle: DynamicBundle {
|
67 |
/// A dynamically typed collection of cloneable components
|
68 |
#[allow(clippy::missing_safety_doc)]
|
69 |
pub unsafe trait DynamicBundleClone: DynamicBundle {
|
27 |
/// Marker trait indicating whether a given [`Query`] will not produce unique references
|
28 |
#[allow(clippy::missing_safety_doc)]
|
29 |
pub unsafe trait QueryShared {}
|
36 |
/// Streaming iterators over contiguous homogeneous ranges of components
|
37 |
#[allow(clippy::missing_safety_doc)]
|
38 |
pub unsafe trait Fetch<'a>: Sized {
|
81 |
#[allow(clippy::missing_safety_doc)]
|
82 |
#[inline]
|
208 |
/// If the text has been minified, you can consider to use this method to get a better performance.
|
209 |
#[allow(clippy::missing_safety_doc)]
|
210 |
#[inline]
|
6 |
#[no_mangle]
|
7 |
#[allow(clippy::missing_safety_doc)]
|
8 |
pub unsafe extern "stdcall" fn DllMain(_: HINSTANCE, reason: u32, _: *mut std::ffi::c_void) {
|
219 |
#[allow(clippy::missing_safety_doc)]
|
220 |
pub unsafe extern "system" fn window_proc(
|
278 |
pub trait FromRawPtr {
|
279 |
#[allow(clippy::missing_safety_doc)]
|
280 |
unsafe fn from_raw(ptr: *mut ()) -> Self;
|
49 |
}
|
50 |
#[allow(clippy::missing_safety_doc)]
|
51 |
pub unsafe fn from_raw(ptr: *const InnerCell<T>) -> Self {
|
99 |
}
|
100 |
#[allow(clippy::missing_safety_doc)]
|
101 |
pub unsafe fn from_raw(ptr: *const InnerCell<T>) -> Self {
|
66 |
#[allow(unused_variables)]
|
67 |
#[allow(clippy::missing_safety_doc)]
|
68 |
#[allow(clippy::too_many_arguments)]
|
14 |
#[allow(clippy::missing_safety_doc)]
|
15 |
impl<'a, T, const LANES: usize> SimdIter<'a, T, LANES> {
|
171 |
#[allow(clippy::missing_safety_doc)]
|
172 |
impl<'a, T, const LANES: usize> SimdIterMut<'a, T, LANES> {
|
50 |
impl Win32Impl {
|
51 |
#[allow(clippy::missing_safety_doc)]
|
52 |
pub unsafe fn init(imgui: &mut Context, hwnd: HWND) -> Result<Win32Impl, Win32ImplError> {
|
93 |
#[allow(clippy::missing_safety_doc)]
|
94 |
pub unsafe fn prepare_frame(&mut self, context: &mut Context) -> Result<(), Win32ImplError> {
|
162 |
#[allow(clippy::missing_safety_doc)]
|
163 |
pub unsafe fn imgui_win32_window_proc(
|
9 |
#[allow(clippy::len_without_is_empty)]
|
10 |
#[allow(clippy::missing_safety_doc)]
|
11 |
pub trait RawEncoding {
|
111 |
#[allow(non_snake_case)]
|
112 |
#[allow(clippy::missing_safety_doc)]
|
113 |
pub unsafe extern "C" fn JNI_OnLoad(
|
115 |
#[allow(non_snake_case)]
|
116 |
#[allow(clippy::missing_safety_doc)]
|
117 |
pub unsafe extern "C" fn JNI_OnLoad(
|
136 |
#[inline]
|
137 |
#[allow(clippy::missing_safety_doc)]
|
138 |
pub unsafe fn force_unlock(&self) {
|
142 |
#[inline]
|
143 |
#[allow(clippy::missing_safety_doc)]
|
144 |
pub unsafe fn force_unlock_fair(&self) {
|
146 |
#[inline]
|
147 |
#[allow(clippy::missing_safety_doc)]
|
148 |
pub unsafe fn force_unlock(&self) {
|
152 |
#[inline]
|
153 |
#[allow(clippy::missing_safety_doc)]
|
154 |
pub unsafe fn force_unlock_fair(&self) {
|
259 |
#[inline]
|
260 |
#[allow(clippy::missing_safety_doc)]
|
261 |
pub unsafe fn force_unlock_read(&self) {
|
265 |
#[inline]
|
266 |
#[allow(clippy::missing_safety_doc)]
|
267 |
pub unsafe fn force_unlock_write_and_save(&self) {
|
271 |
#[inline]
|
272 |
#[allow(clippy::missing_safety_doc)]
|
273 |
pub unsafe fn force_unlock_read_fair(&self) {
|
277 |
#[inline]
|
278 |
#[allow(clippy::missing_safety_doc)]
|
279 |
pub unsafe fn force_unlock_write_and_save_fair(&self) {
|
26 |
/// The functions of this trait are all unsafe because they directly call the underlying C implementation.
|
27 |
#[allow(clippy::missing_safety_doc)]
|
28 |
pub trait KluData:
|
90 |
/// The functions of this trait are all unsafe because they directly call the underlying C implementation.
|
91 |
#[allow(clippy::missing_safety_doc)]
|
92 |
pub trait KluIndex:
|
8 |
// this isn't documented at all, so this lint seems redundant here <_<
|
9 |
#[allow(clippy::missing_safety_doc)]
|
10 |
pub const unsafe fn from_u32_unchecked(n: u32) -> char {
|
19 |
/// Returns `None` if `ptr` is `null`.
|
20 |
#[allow(clippy::missing_safety_doc)]
|
21 |
pub unsafe fn from_raw(ptr: *mut u8, size: usize) -> Option<Self> {
|
33 |
/// Creates instance of `Bytes` from leveldb-allocated data without null checking.
|
34 |
#[allow(clippy::missing_safety_doc)]
|
35 |
pub unsafe fn from_raw_unchecked(ptr: *mut u8, size: usize) -> Self {
|
128 |
#[allow(missing_docs, clippy::missing_safety_doc)]
|
129 |
pub unsafe fn c_options(
|
159 |
#[allow(missing_docs, clippy::missing_safety_doc)]
|
160 |
pub unsafe fn c_writeoptions(options: WriteOptions) -> *mut leveldb_writeoptions_t {
|
166 |
#[allow(missing_docs, clippy::missing_safety_doc)]
|
167 |
pub unsafe fn c_readoptions<'a>(options: &ReadOptions<'a>) -> *mut leveldb_readoptions_t {
|
264 |
#[must_use]
|
265 |
#[allow(clippy::missing_safety_doc)]
|
266 |
pub unsafe fn alloc(&mut self, size: usize, _alignment: usize) -> *mut c_void {
|
348 |
/// Releases the allocation at the given address.
|
349 |
#[allow(clippy::missing_safety_doc)]
|
350 |
pub unsafe fn release(&mut self, ptr: *mut c_void) {
|
87 |
/// `NcFile` constructor from a file produced by the libc crate.
|
88 |
#[allow(clippy::missing_safety_doc)]
|
89 |
pub unsafe fn from_libc(file: *mut NcFile_libc) -> Self {
|
128 |
#[allow(clippy::missing_safety_doc)]
|
129 |
pub unsafe fn from_ped_device(device: *mut PedDevice) -> Device<'a> {
|
133 |
#[allow(clippy::missing_safety_doc)]
|
134 |
pub unsafe fn ped_device(&self) -> *mut PedDevice {
|
125 |
/// Obtains the inner device from the disk.
|
126 |
#[allow(clippy::missing_safety_doc)]
|
127 |
pub unsafe fn get_device<'b>(&self) -> Device<'b> {
|
133 |
/// Obtains the inner device from the disk, with mutable access.
|
134 |
#[allow(clippy::missing_safety_doc)]
|
135 |
pub unsafe fn get_device_mut(&mut self) -> Device {
|
332 |
/// Similar to `get_partition_by_sector`, but returns a raw pointer instead.
|
333 |
#[allow(clippy::missing_safety_doc)]
|
334 |
pub unsafe fn get_partition_by_sector_raw(&self, sector: i64) -> *mut PedPartition {
|
347 |
/// Similar to `get_partition`, but returns a raw pointer instead.
|
348 |
#[allow(clippy::missing_safety_doc)]
|
349 |
pub unsafe fn get_partition_raw(&self, num: u32) -> *mut PedPartition {
|
387 |
/// If `part` is an extended partition, it must not contain any logical partitions.
|
388 |
#[allow(clippy::missing_safety_doc)]
|
389 |
pub unsafe fn remove_partition(&mut self, part: *mut PedPartition) -> Result<()> {
|
245 |
#[cfg(feature = "vhpi")]
|
246 |
#[allow(clippy::missing_safety_doc)]
|
247 |
#[no_mangle]
|
253 |
#[cfg(feature = "vhpi")]
|
254 |
#[allow(clippy::missing_safety_doc)]
|
255 |
#[no_mangle]
|
18 |
#[allow(clippy::missing_safety_doc)]
|
19 |
pub mod wrappers;
|
46 |
/// Create an `IDTag` instance from strings without checking.
|
47 |
#[allow(clippy::missing_safety_doc)]
|
48 |
#[inline]
|
20 |
#[allow(clippy::missing_safety_doc)]
|
21 |
#[inline(always)]
|
14 |
#[allow(clippy::missing_safety_doc)] // FIXME
|
15 |
pub unsafe fn mach_task_self() -> mach_port_t {
|
19 |
#[allow(clippy::missing_safety_doc)] // FIXME
|
20 |
pub unsafe fn current_task() -> mach_port_t {
|
11 |
#[allow(clippy::missing_safety_doc)] // FIXME
|
12 |
pub unsafe fn mach_vm_trunc_page(x: mach_vm_offset_t) -> mach_vm_offset_t {
|
16 |
#[allow(clippy::missing_safety_doc)] // FIXME
|
17 |
pub unsafe fn mach_vm_round_page(x: mach_vm_offset_t) -> mach_vm_offset_t {
|
277 |
#[allow(clippy::missing_safety_doc)]
|
278 |
pub(crate) unsafe trait KafkaDrop {
|
43 |
#[allow(missing_docs)]
|
44 |
#[allow(clippy::missing_safety_doc)]
|
45 |
impl<Func, K, V> ForEachCallback<Func, K, V>
|
90 |
/// A call with `cnt == 0` should never panic and be a no-op.
|
91 |
#[allow(clippy::missing_safety_doc)]
|
92 |
unsafe fn advance_mut(&mut self, cnt: usize);
|
1428 |
#[inline]
|
1429 |
#[allow(clippy::missing_safety_doc)]
|
1430 |
pub unsafe fn set_len(&mut self, len: usize) {
|
2173 |
#[inline]
|
2174 |
#[allow(clippy::missing_safety_doc)]
|
2175 |
pub unsafe fn set_len(&mut self, len: usize) {
|
124 |
/// Reads any type T from the process without the restriction of Pod
|
125 |
#[allow(clippy::missing_safety_doc)]
|
126 |
unsafe fn try_read_unchecked<T>(&self, address: u64) -> Option<T> {
|
209 |
/// Writes any type T to the process without the restriction of Pod
|
210 |
#[allow(clippy::missing_safety_doc)]
|
211 |
unsafe fn try_write_unchecked<T>(&self, address: u64, buffer: &T) -> Option<()> {
|
64 |
#[target_feature(enable = "sse2")]
|
65 |
#[allow(clippy::missing_safety_doc)]
|
66 |
pub unsafe fn _memchr_sse2(buf: &[u8], c: u8) -> Option<usize> {
|
149 |
#[target_feature(enable = "avx2")]
|
150 |
#[allow(clippy::missing_safety_doc)]
|
151 |
pub unsafe fn _memchr_avx2(buf: &[u8], c: u8) -> Option<usize> {
|
64 |
#[target_feature(enable = "sse2")]
|
65 |
#[allow(clippy::missing_safety_doc)]
|
66 |
pub unsafe fn _memchr_double_sse2(buf: &[u8], c1: u8, c2: u8) -> Option<usize> {
|
173 |
#[target_feature(enable = "avx2")]
|
174 |
#[allow(clippy::missing_safety_doc)]
|
175 |
pub unsafe fn _memchr_double_avx2(buf: &[u8], c1: u8, c2: u8) -> Option<usize> {
|
27 |
#[target_feature(enable = "sse2")]
|
28 |
#[allow(clippy::missing_safety_doc)]
|
29 |
pub unsafe fn _memcmp_sse2(a: &[u8], b: &[u8]) -> Ordering {
|
34 |
#[target_feature(enable = "avx2")]
|
35 |
#[allow(clippy::missing_safety_doc)]
|
36 |
pub unsafe fn _memcmp_avx2(a: &[u8], b: &[u8]) -> Ordering {
|
101 |
#[target_feature(enable = "sse2")]
|
102 |
#[allow(clippy::missing_safety_doc)]
|
103 |
pub unsafe fn _memcmp_sse2(a: &[u8], b: &[u8]) -> Ordering {
|
108 |
#[target_feature(enable = "avx2")]
|
109 |
#[allow(clippy::missing_safety_doc)]
|
110 |
pub unsafe fn _memcmp_avx2(a: &[u8], b: &[u8]) -> Ordering {
|
25 |
#[target_feature(enable = "sse2")]
|
26 |
#[allow(clippy::missing_safety_doc)]
|
27 |
pub unsafe fn _memcpy_sse2(dst: &mut [u8], src: &[u8]) -> Result<(), RangeError> {
|
32 |
#[target_feature(enable = "avx2")]
|
33 |
#[allow(clippy::missing_safety_doc)]
|
34 |
pub unsafe fn _memcpy_avx2(dst: &mut [u8], src: &[u8]) -> Result<(), RangeError> {
|
13 |
clippy::derivable_impls,
|
14 |
clippy::missing_safety_doc,
|
15 |
clippy::too_many_arguments
|
7 |
clippy::derivable_impls,
|
8 |
clippy::missing_safety_doc,
|
9 |
clippy::too_many_arguments,
|
7 |
clippy::derivable_impls,
|
8 |
clippy::missing_safety_doc,
|
9 |
clippy::too_many_arguments,
|
19 |
/// however, with a C program, we provide this workaround where we provide an API to do just that.
|
20 |
#[allow(clippy::missing_safety_doc)]
|
21 |
#[no_mangle]
|
71 |
#[allow(clippy::missing_safety_doc)]
|
72 |
#[no_mangle]
|
80 |
#[allow(clippy::missing_safety_doc)]
|
81 |
#[no_mangle]
|
90 |
#[allow(clippy::missing_safety_doc)]
|
91 |
#[no_mangle]
|
100 |
#[allow(clippy::missing_safety_doc)]
|
101 |
#[no_mangle]
|
512 |
/// by calling this function again.
|
513 |
#[allow(clippy::missing_safety_doc)]
|
514 |
pub unsafe fn init_from_ptr(state: *mut ffi::lua_State) -> Lua {
|
1840 |
impl FileCenter {
|
1841 |
#[allow(clippy::missing_safety_doc)]
|
1842 |
/// Get the reference of MongoDB Database.
|
111 |
/// Same as [`matrix_slice_from_numpy`], but takes a raw [`PyObject`](pyo3::ffi::PyObject) pointer.
|
112 |
#[allow(clippy::missing_safety_doc)]
|
113 |
pub unsafe fn matrix_slice_from_numpy_ptr<'a, N, R, C>(
|
132 |
/// Same as [`matrix_slice_mut_from_numpy`], but takes a raw [`PyObject`](pyo3::ffi::PyObject) pointer.
|
133 |
#[allow(clippy::missing_safety_doc)]
|
134 |
pub unsafe fn matrix_slice_mut_from_numpy_ptr<'a, N, R, C>(
|
112 |
/// Same as [`matrix_slice_from_numpy`], but takes a raw [`PyObject`](pyo3::ffi::PyObject) pointer.
|
113 |
#[allow(clippy::missing_safety_doc)]
|
114 |
pub unsafe fn matrix_slice_from_numpy_ptr<'a, N, R, C>(
|
134 |
/// Same as [`matrix_slice_mut_from_numpy`], but takes a raw [`PyObject`](pyo3::ffi::PyObject) pointer.
|
135 |
#[allow(clippy::missing_safety_doc)]
|
136 |
pub unsafe fn matrix_slice_mut_from_numpy_ptr<'a, N, R, C>(
|
59 |
impl Env {
|
60 |
#[allow(clippy::missing_safety_doc)]
|
61 |
pub unsafe fn from_raw(env: sys::napi_env) -> Self {
|
590 |
pub trait NapiRaw {
|
591 |
#[allow(clippy::missing_safety_doc)]
|
592 |
unsafe fn raw(&self) -> sys::napi_value;
|
595 |
pub trait NapiValue: Sized + NapiRaw {
|
596 |
#[allow(clippy::missing_safety_doc)]
|
597 |
unsafe fn from_raw(env: sys::napi_env, value: sys::napi_value) -> Result<Self>;
|
599 |
#[allow(clippy::missing_safety_doc)]
|
600 |
unsafe fn from_raw_unchecked(env: sys::napi_env, value: sys::napi_value) -> Self;
|
90 |
#[cfg(windows)]
|
91 |
#[allow(clippy::missing_safety_doc)]
|
92 |
pub unsafe fn setup() -> libloading::Library {
|
31 |
/// it is used as a bound on public methods.
|
32 |
#[allow(clippy::missing_safety_doc)] // not implementable downstream
|
33 |
pub unsafe trait RawData: Sized {
|
52 |
/// ***Internal trait, see `RawData`.***
|
53 |
#[allow(clippy::missing_safety_doc)] // not implementable downstream
|
54 |
pub unsafe trait RawDataMut: RawData {
|
80 |
/// ***Internal trait, see `RawData`.***
|
81 |
#[allow(clippy::missing_safety_doc)] // not implementable downstream
|
82 |
pub unsafe trait RawDataClone: RawData {
|
103 |
/// ***Internal trait, see `RawData`.***
|
104 |
#[allow(clippy::missing_safety_doc)] // not implementable downstream
|
105 |
pub unsafe trait Data: RawData {
|
148 |
// returns `Some(_)`.
|
149 |
#[allow(clippy::missing_safety_doc)] // not implementable downstream
|
150 |
pub unsafe trait DataMut: Data + RawDataMut {
|
20 |
/// ```
|
21 |
#[allow(clippy::missing_safety_doc)] // TODO: Add doc
|
22 |
pub unsafe trait NdIndex<E>: Debug {
|
171 |
/// Fixed-size array used for array initialization
|
172 |
#[allow(clippy::missing_safety_doc)] // Should not be implemented downstream and to be deprecated.
|
173 |
pub unsafe trait FixedInitializer {
|
1441 |
/// diverge before reaching the end.
|
1442 |
#[allow(clippy::missing_safety_doc)] // not nameable downstream
|
1443 |
pub unsafe trait TrustedIterator {}
|
297 |
/// `self.as_ref()` always returns the same value when called multiple times.
|
298 |
#[allow(clippy::missing_safety_doc)] // not implementable downstream
|
299 |
pub unsafe trait SliceArg<D: Dimension>: AsRef<[SliceInfoElem]> {
|
663 |
#[allow(unused_unsafe)]
|
664 |
#[allow(clippy::missing_safety_doc)]
|
665 |
pub unsafe fn add_env_clean_up_hook(
|
1095 |
/// The nonempty equivalent of [`slice::from_raw_parts`].
|
1096 |
#[allow(clippy::missing_safety_doc)]
|
1097 |
#[must_use]
|
1103 |
/// The nonempty equivalent of [`slice::from_raw_parts_mut`].
|
1104 |
#[allow(clippy::missing_safety_doc)]
|
1105 |
#[must_use]
|
90 |
/// A call with `cnt == 0` should never panic and be a no-op.
|
91 |
#[allow(clippy::missing_safety_doc)]
|
92 |
unsafe fn advance_mut(&mut self, cnt: usize);
|
1436 |
#[inline]
|
1437 |
#[allow(clippy::missing_safety_doc)]
|
1438 |
pub unsafe fn set_len(&mut self, len: usize) {
|
2238 |
#[inline]
|
2239 |
#[allow(clippy::missing_safety_doc)]
|
2240 |
pub unsafe fn set_len(&mut self, len: usize) {
|
93 |
// Clippy bug, see https://github.com/rust-lang/rust-clippy/issues/5593
|
94 |
#[allow(clippy::missing_safety_doc)]
|
95 |
pub unsafe fn new(device: nvmlDevice_t, nvml: &'nvml Nvml) -> Self {
|
57 |
// Clippy bug, see https://github.com/rust-lang/rust-clippy/issues/5593
|
58 |
#[allow(clippy::missing_safety_doc)]
|
59 |
pub unsafe fn new(set: nvmlEventSet_t, nvml: &'nvml Nvml) -> Self {
|
41 |
// Clippy bug, see https://github.com/rust-lang/rust-clippy/issues/5593
|
42 |
#[allow(clippy::missing_safety_doc)]
|
43 |
pub unsafe fn new(event_data: nvmlEventData_t, nvml: &'nvml Nvml) -> Self {
|
63 |
// Clippy bug, see https://github.com/rust-lang/rust-clippy/issues/5593
|
64 |
#[allow(clippy::missing_safety_doc)]
|
65 |
pub unsafe fn new(unit: nvmlUnit_t, nvml: &'nvml Nvml) -> Self {
|
20 |
/// call from the return type, by looking at its `Encode` implementation.
|
21 |
#[allow(clippy::missing_safety_doc)]
|
22 |
unsafe trait MsgSendFn: Encode {
|
35 |
#[allow(clippy::missing_safety_doc)]
|
36 |
unsafe fn consume_unchecked(&mut self, amt: usize);
|
82 |
#[allow(clippy::missing_safety_doc)]
|
83 |
pub unsafe fn from_raw(buf: *mut [u8], reader: R) -> Self {
|
92 |
#[allow(clippy::missing_safety_doc)]
|
93 |
pub unsafe fn into_raw(self) -> (*mut [u8], R) {
|
111 |
/// See `slot.free()` for details.
|
112 |
#[allow(clippy::missing_safety_doc)]
|
113 |
#[allow(clippy::missing_panics_doc)]
|
123 |
/// `slot.take()` for details.
|
124 |
#[allow(clippy::missing_safety_doc)]
|
125 |
#[allow(clippy::missing_panics_doc)]
|
178 |
/// See `slot.forget()` for details.
|
179 |
#[allow(clippy::missing_safety_doc)]
|
180 |
#[allow(clippy::missing_panics_doc)]
|
41 |
#[inline(always)]
|
42 |
#[allow(clippy::missing_safety_doc)]
|
43 |
pub unsafe fn force_release(&self) {}
|
33 |
#[allow(clippy::too_many_arguments)]
|
34 |
#[allow(clippy::missing_safety_doc)]
|
35 |
#[allow(non_snake_case)]
|
32 |
#[allow(clippy::too_many_arguments)]
|
33 |
#[allow(clippy::missing_safety_doc)]
|
34 |
#[allow(non_snake_case)]
|
42 |
#[allow(clippy::missing_safety_doc)]
|
43 |
unsafe fn get_internal(&self, _pointers: &[*mut *const u8], _level: u8) -> Result<()> {
|
52 |
#[allow(clippy::missing_safety_doc)]
|
53 |
unsafe trait TransmuteBox {
|
745 |
#[allow(clippy::missing_safety_doc)]
|
746 |
pub unsafe fn access_decoupled_unsafe<'a>(
|
18 |
#[allow(clippy::missing_safety_doc)]
|
19 |
#[inline]
|
28 |
#[allow(clippy::missing_safety_doc)]
|
29 |
#[inline]
|
38 |
#[allow(clippy::missing_safety_doc)]
|
39 |
#[inline]
|
48 |
#[allow(clippy::missing_safety_doc)]
|
49 |
#[inline]
|
58 |
#[allow(clippy::missing_safety_doc)]
|
59 |
#[inline]
|
227 |
/// undefined behaviour.
|
228 |
#[allow(clippy::missing_safety_doc)]
|
229 |
#[allow(clippy::not_unsafe_ptr_arg_deref)]
|
223 |
/// out if the specifier isn't valid UTF-8.
|
224 |
#[allow(clippy::missing_safety_doc)]
|
225 |
#[allow(clippy::not_unsafe_ptr_arg_deref)]
|
89 |
/// Typically, the unidentified password should be hashed on the client-side instead of using this function on the server-side.
|
90 |
#[allow(clippy::missing_safety_doc)]
|
91 |
#[inline]
|
154 |
/// Typically, the unidentified password should be hashed on the client-side instead of using this function on the server-side.
|
155 |
#[allow(clippy::missing_safety_doc)]
|
156 |
pub unsafe fn identify_bcrypt_format<T: ?Sized + AsRef<[u8]>, S: AsRef<str>>(
|
301 |
/// Initialize or update the CWD cached in the `path-dedot` crate after using the `std::env::set_current_dir` function. It is not a safe operation. Make sure there is no `parse_dot` method running at this moment.
|
302 |
#[allow(clippy::missing_safety_doc)]
|
303 |
pub unsafe fn update_cwd() {
|
166 |
/// [peo]: https://docs.rs/perf-event-open-sys/latest/perf_event_open_sys/fn.perf_event_open.html
|
167 |
#[allow(clippy::missing_safety_doc)]
|
168 |
unsafe fn perf_event_open(
|
233 |
/// [peo]: https://docs.rs/perf-event-open-sys/latest/perf_event_open_sys/fn.perf_event_open.html
|
234 |
#[allow(clippy::missing_safety_doc)]
|
235 |
pub unsafe fn perf_event_open(
|
177 |
/// Use [`Foundation::set_report_allocation_names`] to toggle this on or off.
|
178 |
#[allow(clippy::missing_safety_doc)]
|
179 |
pub unsafe trait AllocatorCallback: Sized {
|
5 |
///
|
6 |
#[allow(clippy::missing_safety_doc)]
|
7 |
pub unsafe trait ProfilerCallback: Sized {
|
58 |
#[allow(clippy::missing_safety_doc)]
|
59 |
pub trait UnsafeFrom<T> {
|
32 |
#[allow(clippy::missing_safety_doc)]
|
33 |
unsafe fn from_raw_fd(fd: RawFd) -> Result<UnixStream>;
|
7 |
#[allow(clippy::missing_safety_doc)]
|
8 |
impl<T> Protect<T> {
|
58 |
#[allow(clippy::missing_safety_doc)]
|
59 |
pub unsafe fn force_unlock(&self) {
|
396 |
#[doc = include_str!("./common.md")]
|
397 |
#[allow(clippy::missing_safety_doc)]
|
398 |
pub unsafe trait PortThreading: KernelCfg1 + KernelStatic<System<Self>> {
|
531 |
#[doc = include_str!("./common.md")]
|
532 |
#[allow(clippy::missing_safety_doc)]
|
533 |
pub unsafe trait PortInterrupts: KernelCfg1 {
|
604 |
#[doc = include_str!("./common.md")]
|
605 |
#[allow(clippy::missing_safety_doc)]
|
606 |
pub trait PortTimer {
|
691 |
/// These are only meant to be called by the port.
|
692 |
#[allow(clippy::missing_safety_doc)]
|
693 |
pub trait PortToKernel {
|
204 |
#[allow(clippy::missing_safety_doc)]
|
205 |
impl State {
|
529 |
#[allow(clippy::missing_safety_doc)]
|
530 |
pub unsafe trait Fetch<'q> {
|
546 |
#[allow(clippy::missing_safety_doc)]
|
547 |
pub unsafe trait FetchShared {}
|
594 |
#[allow(clippy::missing_safety_doc)]
|
595 |
pub unsafe trait Bundle
|
75 |
#[allow(clippy::missing_safety_doc)]
|
76 |
#[no_mangle]
|
124 |
#[inline]
|
125 |
#[allow(clippy::missing_safety_doc)]
|
126 |
pub unsafe fn remove_heading_bytes_from_buffer(&mut self, number_of_bytes: usize) {
|
121 |
#[inline]
|
122 |
#[allow(clippy::missing_safety_doc)]
|
123 |
pub unsafe fn remove_heading_bytes_from_buffer(&mut self, number_of_bytes: usize) {
|
38 |
/// See docs of `sealevel_syscall_registry_free`.
|
39 |
#[allow(clippy::missing_safety_doc)]
|
40 |
pub unsafe fn free(self) {
|
800 |
#[no_mangle]
|
801 |
#[allow(clippy::missing_safety_doc)] // Documented above.
|
802 |
#[cfg(all(feature = "alloc", not(rust_secp_no_symbol_renaming)))]
|
841 |
#[no_mangle]
|
842 |
#[allow(clippy::missing_safety_doc)] // Documented above.
|
843 |
#[cfg(all(feature = "alloc", not(rust_secp_no_symbol_renaming)))]
|
158 |
/// See [the guide](crate#retiring-objects) for details.
|
159 |
#[allow(clippy::missing_safety_doc)] // in guide
|
160 |
pub unsafe fn retire<T>(&self, ptr: *mut Linked<T>, reclaim: unsafe fn(Link)) {
|
267 |
/// See [the guide](crate#retiring-objects) for details.
|
268 |
#[allow(clippy::missing_safety_doc)] // in guide
|
269 |
pub unsafe fn retire<T>(&self, ptr: *mut Linked<T>, reclaim: unsafe fn(Link)) {
|
460 |
/// unavoidably triggering `unsafe_code`
|
461 |
#[allow(clippy::missing_safety_doc)]
|
462 |
#[inline(always)]
|
154 |
#[allow(clippy::missing_safety_doc)]
|
155 |
#[inline]
|
78 |
#[allow(clippy::missing_safety_doc)]
|
79 |
#[cfg(feature = "alloc")]
|
87 |
#[allow(clippy::missing_safety_doc)]
|
88 |
#[inline(always)]
|
93 |
#[allow(clippy::missing_safety_doc)]
|
94 |
#[inline(always)]
|
99 |
#[allow(clippy::missing_safety_doc)]
|
100 |
#[inline(always)]
|
125 |
)]
|
126 |
#[allow(clippy::missing_safety_doc)]
|
127 |
pub unsafe fn get_pixels(
|
137 |
#[allow(clippy::missing_safety_doc)]
|
138 |
pub unsafe fn get_pixels_to_pixmap(
|
428 |
/// Caller must ensure that pixels are valid for the lifetime of [`Bitmap`] and [`PixelRef`].
|
429 |
#[allow(clippy::missing_safety_doc)]
|
430 |
pub unsafe fn install_pixels(
|
688 |
/// >= [`Self::width()`], or if `abs(src_y)` >= [`Self::height()`].
|
689 |
#[allow(clippy::missing_safety_doc)]
|
690 |
pub unsafe fn read_pixels(
|
76 |
/// Users must make sure that the underlying slice will outlive the lifetime of the Data.
|
77 |
#[allow(clippy::missing_safety_doc)]
|
78 |
pub unsafe fn new_bytes(data: &[u8]) -> Self {
|
82 |
#[allow(clippy::missing_safety_doc)]
|
83 |
pub unsafe fn new_uninitialized(length: usize) -> Data {
|
53 |
#[allow(clippy::missing_safety_doc)]
|
54 |
pub unsafe fn at_t<T: Copy>(&self, index: usize) -> &[T] {
|
958 |
#[cfg(feature = "gpu")]
|
959 |
#[allow(clippy::missing_safety_doc)]
|
960 |
pub unsafe fn read_pixels_to_pixmap(
|
38 |
#[allow(clippy::missing_safety_doc)]
|
39 |
pub unsafe fn pixels(&self) -> *mut c_void {
|
87 |
#[allow(clippy::missing_safety_doc)]
|
88 |
pub unsafe fn addr(&self) -> *const c_void {
|
166 |
/// Converts object arrays into Java arrays.
|
167 |
#[allow(clippy::missing_safety_doc)]
|
168 |
pub unsafe fn object_array_to_java<'a, T, U: Into<JObject<'a>> + 'a>(
|
187 |
/// Converts `user_data` back into a Java callback object
|
188 |
#[allow(clippy::missing_safety_doc)]
|
189 |
pub unsafe fn convert_cb_from_java(env: &JNIEnv, ctx: *mut c_void) -> JniResult<GlobalRef> {
|
604 |
#[allow(missing_docs)] // struct is hidden
|
605 |
#[allow(clippy::missing_safety_doc)]
|
606 |
impl<MISO, MOSI> Spi3<MISO, MOSI> {
|
34 |
#[allow(clippy::missing_safety_doc)]
|
35 |
#[panic_handler]
|
114 |
#[allow(clippy::missing_safety_doc)]
|
115 |
#[lang = "eh_personality"]
|
121 |
#[allow(clippy::missing_safety_doc)]
|
122 |
#[allow(non_snake_case)]
|
12 |
clippy::semicolon_if_nothing_returned,
|
13 |
clippy::missing_safety_doc,
|
14 |
clippy::trivially_copy_pass_by_ref,
|
583 |
missing_docs,
|
584 |
clippy::missing_safety_doc,
|
585 |
clippy::should_implement_trait
|
28 |
#[allow(clippy::missing_safety_doc)]
|
29 |
pub unsafe fn dump_stack_raw_to(lua: LuaState, mut out: impl Write) -> std::io::Result<()> {
|
55 |
#[allow(clippy::missing_safety_doc)]
|
56 |
pub unsafe fn dump_stack_raw(lua: LuaState) {
|
30 |
#[inline]
|
31 |
#[allow(clippy::missing_safety_doc)]
|
32 |
pub unsafe fn register<A: Api>(reg: &mut RegistryApi) {
|
24 |
#[allow(clippy::missing_safety_doc)]
|
25 |
unsafe fn ref_from_ptr(ptr: *mut <Self::C as Component>::CType) -> Self::RefT;
|
15 |
impl RegistryApi {
|
16 |
#[allow(clippy::missing_safety_doc)]
|
17 |
pub unsafe fn new(reg: *mut ffi::tm_api_registry_api, load: bool) -> Self {
|
27 |
#[inline]
|
28 |
#[allow(clippy::missing_safety_doc)]
|
29 |
pub unsafe fn add_implementation(&mut self, name: &[u8], implementation: *mut c_void) {
|
34 |
#[inline]
|
35 |
#[allow(clippy::missing_safety_doc)]
|
36 |
pub unsafe fn remove_implementation(&mut self, name: &[u8], implementation: *mut c_void) {
|
41 |
#[inline]
|
42 |
#[allow(clippy::missing_safety_doc)]
|
43 |
pub unsafe fn add_or_remove_implementation(&mut self, name: &[u8], ptr: *mut c_void) {
|
27 |
#[allow(clippy::missing_safety_doc)]
|
28 |
#[inline]
|
98 |
#[allow(clippy::missing_safety_doc)]
|
99 |
#[inline]
|
27 |
#[allow(clippy::missing_safety_doc)]
|
28 |
#[inline]
|
98 |
#[allow(clippy::missing_safety_doc)]
|
99 |
#[inline]
|
85 |
/// tightly-packed arrays of those integers).
|
86 |
#[allow(clippy::missing_safety_doc)]
|
87 |
unsafe trait UnalignedItem {}
|
555 |
/// [undefined behavior]: https://doc.rust-lang.org/reference/behavior-considered-undefined.html
|
556 |
#[allow(clippy::missing_safety_doc)]
|
557 |
#[inline]
|
577 |
/// [undefined behavior]: https://doc.rust-lang.org/reference/behavior-considered-undefined.html
|
578 |
#[allow(clippy::missing_safety_doc)]
|
579 |
#[inline]
|
1249 |
/// [`slice::align_to`]: https://doc.rust-lang.org/std/primitive.slice.html#method.align_to
|
1250 |
#[allow(clippy::missing_safety_doc)]
|
1251 |
pub unsafe fn align_to<U>(&self) -> (&Self, &TiSlice<K, U>, &Self) {
|
1261 |
/// [`slice::align_to_mut`]: https://doc.rust-lang.org/std/primitive.slice.html#method.align_to_mut
|
1262 |
#[allow(clippy::missing_safety_doc)]
|
1263 |
pub unsafe fn align_to_mut<U>(&mut self) -> (&mut Self, &mut TiSlice<K, U>, &mut Self) {
|
49 |
/// [undefined behavior]: https://doc.rust-lang.org/reference/behavior-considered-undefined.html
|
50 |
#[allow(clippy::missing_safety_doc)]
|
51 |
unsafe fn get_unchecked(self, slice: &TiSlice<K, V>) -> &Self::Output;
|
58 |
/// [undefined behavior]: https://doc.rust-lang.org/reference/behavior-considered-undefined.html
|
59 |
#[allow(clippy::missing_safety_doc)]
|
60 |
unsafe fn get_unchecked_mut(self, slice: &mut TiSlice<K, V>) -> &mut Self::Output;
|
142 |
/// [`Vec::from_raw_parts`]: https://doc.rust-lang.org/std/vec/struct.Vec.html#method.from_raw_parts
|
143 |
#[allow(clippy::missing_safety_doc)]
|
144 |
pub unsafe fn from_raw_parts(ptr: *mut V, length: usize, capacity: usize) -> Self {
|
297 |
/// [`Vec::set_len`]: https://doc.rust-lang.org/std/vec/struct.Vec.html#method.set_len
|
298 |
#[allow(clippy::missing_safety_doc)]
|
299 |
#[inline]
|
195 |
/// Extension for [`MaybeUninit`]
|
196 |
#[allow(clippy::missing_safety_doc)]
|
197 |
pub trait MaybeUninitSliceExt<T>: sealed::Sealed {
|
9 |
pub unsafe trait VertexAttributeVisitor {
|
10 |
#[allow(clippy::missing_safety_doc)]
|
11 |
unsafe fn visit<A: VertexAttribute>(&mut self, name: &str, attribute: *const A);
|
14 |
pub unsafe trait Vertex {
|
15 |
#[allow(clippy::missing_safety_doc)]
|
16 |
unsafe fn walk_attributes<C>(sample: *const Self, visitor: C)
|
81 |
#[allow(clippy::missing_safety_doc)]
|
82 |
/// *Assume the input first byte is from a valid UTF-8 character.* Given a first byte, determines how many bytes are in this UTF-8 character. It returns `1` ~ `4`,
|
9 |
clippy::extra_unused_lifetimes,
|
10 |
clippy::missing_safety_doc,
|
11 |
clippy::derivable_impls,
|
15 |
impl<'lt, T: Copy + Clone> Vectorized<'lt, T> {
|
16 |
#[allow(clippy::missing_safety_doc)]
|
17 |
#[inline]
|
8 |
#[allow(non_camel_case_types)]
|
9 |
#[allow(clippy::missing_safety_doc)]
|
10 |
#[allow(clippy::derivable_impls)]
|
14 |
/// A trait for FFI with `libxcb`, using either static or dynamic linking.
|
15 |
#[allow(clippy::missing_safety_doc)]
|
16 |
pub(crate) unsafe trait XcbFfi {
|
8 |
impl Target {
|
9 |
#[allow(clippy::missing_safety_doc)]
|
10 |
#[inline]
|
19 |
/// library.
|
20 |
#[allow(clippy::missing_safety_doc)]
|
21 |
pub unsafe trait Wtf8Index: Clone + fmt::Debug + Sealed {
|
108 |
#[deprecated(since = "0.14.4", note = "use `CS::set_reg()` instead")]
|
109 |
#[allow(clippy::missing_safety_doc)]
|
110 |
#[inline]
|
115 |
#[deprecated(since = "0.14.4", note = "use `SS::set_reg()` instead")]
|
116 |
#[allow(clippy::missing_safety_doc)]
|
117 |
#[inline]
|
122 |
#[deprecated(since = "0.14.4", note = "use `DS::set_reg()` instead")]
|
123 |
#[allow(clippy::missing_safety_doc)]
|
124 |
#[inline]
|
129 |
#[deprecated(since = "0.14.4", note = "use `ES::set_reg()` instead")]
|
130 |
#[allow(clippy::missing_safety_doc)]
|
131 |
#[inline]
|
136 |
#[deprecated(since = "0.14.4", note = "use `FS::set_reg()` instead")]
|
137 |
#[allow(clippy::missing_safety_doc)]
|
138 |
#[inline]
|
377 |
/// referenced as `xkb_context_unref` will be called at drop time
|
378 |
#[allow(clippy::missing_safety_doc)]
|
379 |
pub unsafe fn from_raw_ptr(ptr: *mut xkb_context) -> Context {
|
551 |
impl Keymap {
|
552 |
#[allow(clippy::missing_safety_doc)]
|
553 |
pub unsafe fn from_raw_ptr(ptr: *mut xkb_keymap) -> Keymap {
|
1131 |
impl State {
|
1132 |
#[allow(clippy::missing_safety_doc)]
|
1133 |
pub unsafe fn from_raw_ptr(ptr: *mut xkb_state) -> State {
|
83 |
#[inline]
|
84 |
#[allow(clippy::missing_safety_doc)]
|
85 |
pub unsafe fn from_raw(env: sys::napi_env) -> Self {
|
591 |
pub trait NapiRaw {
|
592 |
#[allow(clippy::missing_safety_doc)]
|
593 |
unsafe fn raw(&self) -> sys::napi_value;
|
596 |
pub trait NapiValue: Sized + NapiRaw {
|
597 |
#[allow(clippy::missing_safety_doc)]
|
598 |
unsafe fn from_raw(env: sys::napi_env, value: sys::napi_value) -> Result<Self>;
|
600 |
#[allow(clippy::missing_safety_doc)]
|
601 |
unsafe fn from_raw_unchecked(env: sys::napi_env, value: sys::napi_value) -> Self;
|
54 |
#[allow(clippy::missing_safety_doc)]
|
55 |
#[allow(clippy::mut_from_ref)]
|
2120 |
#[allow(clippy::missing_safety_doc)] // TODO(fxbug.dev/99068)
|
2121 |
/// A mutable or immutable reference to a byte slice.
|
2151 |
#[allow(clippy::missing_safety_doc)] // TODO(fxbug.dev/99068)
|
2152 |
/// A mutable reference to a byte slice.
|
29 |
/// and all of its associated items are hidden from the docs.
|
30 |
#[allow(clippy::missing_safety_doc)] // no safety section for you, don't implement this trait period
|
31 |
pub unsafe trait VarZeroVecFormat: 'static + Sized {
|
17 |
// TODO: Eliminate later
|
18 |
#![allow(clippy::missing_safety_doc)]
|
83 |
clippy::missing_errors_doc,
|
84 |
clippy::missing_safety_doc,
|
85 |
incomplete_features
|
28 |
clippy::missing_errors_doc,
|
29 |
clippy::missing_safety_doc,
|
30 |
clippy::let_underscore_drop
|
3 |
#![allow(clippy::too_many_arguments)]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::upper_case_acronyms)]
|
10 |
#![allow(
|
11 |
clippy::missing_safety_doc, // TODO
|
12 |
)]
|
4 |
clippy::too_many_arguments,
|
5 |
clippy::missing_safety_doc,
|
6 |
clippy::upper_case_acronyms
|
1 |
#![allow(clippy::missing_safety_doc)]
|
8 |
clippy::missing_panics_doc,
|
9 |
clippy::missing_safety_doc,
|
10 |
clippy::needless_return,
|
8 |
clippy::missing_panics_doc,
|
9 |
clippy::missing_safety_doc,
|
10 |
clippy::needless_return,
|
32 |
#![deny(clippy::all, missing_docs)]
|
33 |
#![allow(clippy::missing_safety_doc, clippy::len_without_is_empty)]
|
6 |
deprecated,
|
7 |
clippy::missing_safety_doc
|
8 |
)]
|
43 |
#![doc(html_root_url = "https://docs.rs/battery-ffi/0.7.5")]
|
44 |
#![allow(clippy::missing_safety_doc)]
|
7 |
#![warn(unreachable_pub)]
|
8 |
#![allow(clippy::missing_safety_doc)]
|
9 |
#![cfg_attr(not(feature = "std"), no_std)]
|
1 |
#![allow(
|
2 |
clippy::missing_safety_doc,
|
3 |
clippy::redundant_static_lifetimes,
|
5 |
// pointers and buffers/lengths to these, ok?
|
6 |
#![allow(clippy::missing_safety_doc)]
|
4 |
// temporary, we need to do some verification around these bindings later
|
5 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![cfg_attr(not(feature = "std"), no_std)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::wrong_self_convention)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::wrong_self_convention)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
17 |
#![allow(non_camel_case_types, deprecated)]
|
18 |
#![allow(clippy::too_many_arguments, clippy::not_unsafe_ptr_arg_deref, clippy::missing_safety_doc)]
|
21 |
clippy::wildcard_in_or_patterns,
|
22 |
clippy::missing_safety_doc
|
23 |
)]
|
17 |
#![allow(non_camel_case_types, deprecated)]
|
18 |
#![allow(clippy::not_unsafe_ptr_arg_deref, clippy::missing_safety_doc)]
|
31 |
#![doc(html_root_url = "https://docs.rs/clone3/0.2.3")]
|
32 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
use std::borrow::{Borrow, BorrowMut};
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
use std::cell::RefCell;
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
use crate::commons::crypto::bootstrap::{
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
use crate::{Metadata, Stream};
|
3 |
#![allow(
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::missing_errors_doc,
|
71 |
#![allow(clippy::identity_op)]
|
72 |
#![allow(clippy::missing_safety_doc)]
|
73 |
// Prevent clippy from complaining about empty match expression that are used for cfg gating.
|
24 |
unused_imports, // because some imports are only necessary with python 2.x or 3.x
|
25 |
clippy::missing_safety_doc,
|
26 |
clippy::manual_strip,
|
3 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(clippy::upper_case_acronyms)]
|
3 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(clippy::upper_case_acronyms)]
|
6 |
#![allow(clippy::redundant_field_names)]
|
7 |
#![allow(clippy::missing_safety_doc)]
|
8 |
#![allow(clippy::string_lit_as_bytes)]
|
1 |
#![allow(
|
2 |
clippy::missing_safety_doc,
|
3 |
clippy::unreadable_literal,
|
4 |
#![allow(clippy::redundant_static_lifetimes)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::upper_case_acronyms)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
385 |
clippy::missing_errors_doc,
|
386 |
clippy::missing_safety_doc,
|
387 |
clippy::module_inception,
|
1 |
#![allow(clippy::missing_safety_doc)]
|
64 |
#![allow(clippy::needless_doctest_main)]
|
65 |
#![allow(clippy::missing_safety_doc)]
|
66 |
#![allow(clippy::new_without_default)]
|
29 |
clippy::too_many_arguments, // API design
|
30 |
clippy::missing_safety_doc, // Until we add them...
|
31 |
clippy::similar_names, // This requires effort to ensure
|
11 |
#![allow(non_camel_case_types)]
|
12 |
#![allow(clippy::missing_safety_doc)]
|
116 |
#![allow(clippy::missing_safety_doc, clippy::needless_doctest_main)]
|
117 |
#![cfg_attr(feature = "doc_cfg", feature(doc_cfg))]
|
99 |
#![allow(clippy::missing_safety_doc)]
|
100 |
pub mod ffi {
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
16 |
clippy::too_many_arguments,
|
17 |
clippy::missing_safety_doc
|
18 |
)]
|
1 |
#![warn(rust_2018_idioms, single_use_lifetimes)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![no_std]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![feature(core_ffi_c)]
|
5 |
#![allow(dead_code)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
7 |
#![allow(clippy::unnecessary_cast)]
|
69 |
clippy::doc_markdown,
|
70 |
clippy::missing_safety_doc,
|
71 |
clippy::needless_pass_by_value,
|
7 |
#![allow(clippy::missing_safety_doc)]
|
3 |
// The safety requirement is "use the procedural derive".
|
4 |
#![allow(clippy::missing_safety_doc)]
|
4 |
non_snake_case,
|
5 |
clippy::missing_safety_doc
|
6 |
)]
|
12 |
// #![deny(missing_docs)]
|
13 |
#![allow(clippy::missing_safety_doc)]
|
10 |
// #![deny(missing_docs)]
|
11 |
#![allow(clippy::missing_safety_doc)]
|
10 |
// #![deny(missing_docs)]
|
11 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![doc(html_logo_url = "https://gitlab.com/Friz64/erupt-bootstrap/-/raw/main/logo.svg")]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![warn(missing_docs)]
|
4 |
#![allow(non_snake_case)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![no_std]
|
3 |
#![allow(non_snake_case)]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![no_std]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
12 |
// You generally need to have read MSDN to make sense of the unsafe here.
|
13 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
use crate::process::ProcessModel;
|
3 |
#![warn(missing_docs)]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![cfg_attr(docs_rs, feature(doc_cfg))]
|
1 |
#![allow(non_camel_case_types)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(clippy::module_inception)]
|
14 |
// as that would be repetitive and verbose.
|
15 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(non_camel_case_types)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(clippy::module_inception)]
|
1 |
#![allow(non_camel_case_types)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(clippy::module_inception)]
|
1 |
#![allow(non_camel_case_types)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(clippy::module_inception)]
|
4 |
#![allow(clippy::approx_constant)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::redundant_static_lifetimes)]
|
4 |
#![allow(clippy::approx_constant)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::redundant_static_lifetimes)]
|
4 |
#![allow(clippy::approx_constant)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::redundant_static_lifetimes)]
|
4 |
#![allow(clippy::approx_constant)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::redundant_static_lifetimes)]
|
1 |
#![allow(non_camel_case_types)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(clippy::module_inception)]
|
3 |
clippy::similar_names,
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::missing_panics_doc,
|
1 |
#![allow(clippy::missing_safety_doc)]
|
57 |
clippy::redundant_static_lifetimes,
|
58 |
clippy::missing_safety_doc,
|
59 |
clippy::should_implement_trait,
|
61 |
clippy::redundant_static_lifetimes,
|
62 |
clippy::missing_safety_doc,
|
63 |
clippy::useless_transmute,
|
1 |
#![no_std]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(dead_code)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#[macro_use]
|
34 |
#![allow(non_snake_case)]
|
35 |
#![allow(clippy::missing_safety_doc)]
|
36 |
#![allow(clippy::useless_transmute)]
|
20 |
#![allow(clippy::missing_safety_doc)]
|
21 |
#![allow(clippy::needless_doctest_main)]
|
12 |
#![deny(missing_docs)]
|
13 |
#![allow(clippy::missing_safety_doc)]
|
50 |
#![allow(clippy::needless_doctest_main)]
|
51 |
#![allow(clippy::missing_safety_doc)]
|
5 |
clippy::cast_precision_loss,
|
6 |
clippy::missing_safety_doc,
|
7 |
clippy::default_trait_access,
|
17 |
// So doc's wouldn't really help.
|
18 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::upper_case_acronyms)]
|
24 |
clippy::transmute_ptr_to_ptr,
|
25 |
clippy::missing_safety_doc,
|
26 |
clippy::non_send_fields_in_send_ty
|
1 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(improper_ctypes)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::too_many_arguments)]
|
4 |
#![allow(clippy::unreadable_literal)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::pedantic)] // For anyone using pedantic and a source dep, this is needed
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
//! How to use from C
|
6 |
#![allow(clippy::too_many_arguments)]
|
7 |
#![allow(clippy::missing_safety_doc)]
|
8 |
#![allow(clippy::upper_case_acronyms)]
|
5 |
#![allow(clippy::borrowed_box)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
7 |
#![allow(clippy::new_without_default)]
|
29 |
#![allow(clippy::unused_unit)]
|
30 |
#![allow(clippy::missing_safety_doc)]
|
31 |
#![allow(clippy::too_many_arguments)]
|
4 |
#![allow(unknown_lints)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::wrong_self_convention)]
|
104 |
clippy::neg_cmp_op_on_partial_ord,
|
105 |
clippy::missing_safety_doc,
|
106 |
clippy::new_without_default,
|
4 |
#![allow(clippy::unreadable_literal)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::pedantic)] // For anyone using pedantic and a source dep, this is needed
|
5 |
#![allow(dead_code)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
7 |
#![allow(clippy::too_many_arguments)]
|
10 |
#![allow(non_camel_case_types)]
|
11 |
#![allow(clippy::missing_safety_doc)]
|
12 |
#![allow(clippy::manual_non_exhaustive)]
|
2 |
#![allow(non_camel_case_types, non_snake_case, non_upper_case_globals)]
|
3 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(clippy::manual_non_exhaustive)]
|
7 |
))]
|
8 |
#![allow(clippy::missing_safety_doc)]
|
9 |
#![allow(clippy::manual_non_exhaustive)]
|
65 |
#![deny(missing_debug_implementations)]
|
66 |
#![allow(clippy::missing_safety_doc, clippy::too_many_arguments)]
|
67 |
#![cfg_attr(feature = "cargo-clippy", deny(warnings))]
|
2 |
#![allow(clippy::too_many_arguments)]
|
3 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(clippy::manual_non_exhaustive)]
|
3 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(clippy::result_unit_err)]
|
377 |
#![warn(unsafe_op_in_unsafe_fn)]
|
378 |
#![allow(clippy::missing_safety_doc, clippy::useless_conversion)]
|
7 |
clippy::many_single_char_names,
|
8 |
clippy::missing_safety_doc,
|
9 |
clippy::module_inception,
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
//! Gurobi parameters for [`Env`](crate::Env) and [`Model`](crate::Model) objects. See the
|
65 |
#![allow(clippy::missing_safety_doc)]
|
7 |
clippy::upper_case_acronyms,
|
8 |
clippy::missing_safety_doc
|
9 |
)]
|
4 |
#![recursion_limit = "256"]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::manual_range_contains)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
9 |
#![cfg_attr(all(not(doctest), doc), feature(doc_cfg))]
|
10 |
#![allow(clippy::missing_safety_doc)]
|
11 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
9 |
#![cfg_attr(all(not(doctest), doc), feature(doc_cfg))]
|
10 |
#![allow(clippy::missing_safety_doc)]
|
11 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
9 |
#![cfg_attr(all(not(doctest), doc), feature(doc_cfg))]
|
10 |
#![allow(clippy::missing_safety_doc)]
|
11 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
1 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
7 |
#![doc = include_str!("../README.md")]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
9 |
#![allow(clippy::too_many_arguments)]
|
10 |
#![allow(clippy::missing_safety_doc)]
|
11 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
34 |
clippy::manual_map,
|
35 |
clippy::missing_safety_doc,
|
36 |
clippy::missing_errors_doc
|
25 |
)]
|
26 |
#![allow(clippy::missing_safety_doc)]
|
27 |
#![cfg_attr(docsrs, feature(doc_cfg))]
|
29 |
)]
|
30 |
#![allow(clippy::missing_safety_doc)]
|
31 |
#![cfg_attr(docsrs, feature(doc_cfg))]
|
23 |
)]
|
24 |
#![allow(clippy::missing_safety_doc)]
|
25 |
#![cfg_attr(docsrs, feature(doc_cfg))]
|
23 |
)]
|
24 |
#![allow(clippy::missing_safety_doc)]
|
25 |
#![cfg_attr(docsrs, feature(doc_cfg))]
|
23 |
)]
|
24 |
#![allow(clippy::missing_safety_doc)]
|
25 |
#![cfg_attr(docsrs, feature(doc_cfg))]
|
23 |
)]
|
24 |
#![allow(clippy::missing_safety_doc)]
|
25 |
#![cfg_attr(docsrs, feature(doc_cfg))]
|
23 |
)]
|
24 |
#![allow(clippy::missing_safety_doc)]
|
25 |
#![cfg_attr(docsrs, feature(doc_cfg))]
|
5 |
#![allow(nonstandard_style)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
7 |
#![allow(clippy::result_unit_err)]
|
1 |
#![allow(clippy::missing_safety_doc, non_camel_case_types, non_snake_case)]
|
2 |
#![cfg(any(target_os = "android", target_os = "linux"))]
|
8 |
#![allow(improper_ctypes)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
10 |
#![allow(clippy::op_ref)]
|
2 |
#![allow(
|
3 |
clippy::missing_safety_doc,
|
4 |
clippy::missing_errors_doc,
|
2 |
// TODO Safety doc would be nice
|
3 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
//! A C API for interacting with `Name` objects.
|
770 |
#![allow(unsafe_code)]
|
771 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(non_camel_case_types)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
7 |
)]
|
8 |
#![allow(clippy::unreadable_literal, clippy::missing_safety_doc)]
|
2 |
#![allow(non_camel_case_types)]
|
3 |
#![allow(clippy::missing_safety_doc)]
|
4 |
/* automatically generated by rust-bindgen 0.59.2 */
|
1 |
#![feature(vec_into_raw_parts)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(non_snake_case)]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
include!(concat!(env!("OUT_DIR"), "/sockaddr.rs"));
|
15 |
// Allow only ATM, it will be evetually removed
|
16 |
#![allow(clippy::missing_safety_doc)]
|
17 |
// libafl_qemu_sys export types with empty struct markers (e.g. struct {} start_init_save)
|
17 |
#![allow(unused_unsafe)]
|
18 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(non_camel_case_types)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
use std::{
|
14 |
#![allow(clippy::redundant_static_lifetimes)]
|
15 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::cognitive_complexity)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![warn(warnings)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::unreadable_literal)]
|
7 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(clippy::redundant_static_lifetimes)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::upper_case_acronyms)]
|
1 |
#![allow(non_camel_case_types, non_upper_case_globals)]
|
2 |
#![allow(clippy::unreadable_literal, clippy::missing_safety_doc)]
|
1 |
#![cfg_attr(feature = "cargo-clippy", allow(clippy::needless_borrow))]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(non_upper_case_globals)]
|
10 |
clippy::useless_transmute,
|
11 |
clippy::missing_safety_doc
|
12 |
)]
|
12 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
mod error;
|
4 |
#![allow(clippy::many_single_char_names)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
20 |
#![allow(clippy::missing_safety_doc)]
|
21 |
#![allow(clippy::needless_doctest_main)]
|
5 |
#![allow(
|
6 |
clippy::missing_safety_doc,
|
7 |
non_camel_case_types,
|
5 |
#![allow(
|
6 |
clippy::missing_safety_doc,
|
7 |
non_camel_case_types,
|
5 |
#![allow(
|
6 |
clippy::missing_safety_doc,
|
7 |
non_camel_case_types,
|
3 |
#![cfg_attr(feature = "nightly", feature(core_intrinsics))]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(non_snake_case, clippy::missing_safety_doc)]
|
6 |
#![allow(unsafe_code, non_upper_case_globals, unknown_lints)]
|
7 |
#![allow(clippy::missing_safety_doc, clippy::too_many_arguments)]
|
58 |
clippy::expl_impl_clone_on_copy,
|
59 |
clippy::missing_safety_doc,
|
60 |
clippy::module_name_repetitions,
|
2 |
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case)]
|
3 |
#![allow(clippy::missing_safety_doc, clippy::too_many_arguments)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
#![allow(clippy::new_without_default)]
|
8 |
#![allow(clippy::missing_errors_doc)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
10 |
#![allow(clippy::similar_names)]
|
8 |
#![allow(clippy::missing_errors_doc)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
10 |
#![allow(clippy::similar_names)]
|
8 |
#![allow(clippy::missing_errors_doc)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
10 |
#![allow(clippy::similar_names)]
|
8 |
#![allow(clippy::missing_errors_doc)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
10 |
#![allow(clippy::similar_names)]
|
8 |
#![allow(clippy::missing_errors_doc)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
10 |
#![allow(clippy::similar_names)]
|
8 |
#![allow(clippy::missing_errors_doc)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
10 |
#![allow(clippy::similar_names)]
|
8 |
#![allow(clippy::missing_errors_doc)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
10 |
#![allow(clippy::similar_names)]
|
8 |
#![allow(clippy::missing_errors_doc)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
10 |
#![allow(clippy::similar_names)]
|
8 |
#![allow(clippy::missing_errors_doc)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
10 |
#![allow(clippy::similar_names)]
|
8 |
#![allow(clippy::missing_errors_doc)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
10 |
#![allow(clippy::similar_names)]
|
7 |
#![allow(
|
8 |
clippy::missing_safety_doc,
|
9 |
clippy::missing_errors_doc,
|
3 |
#![allow(
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::missing_errors_doc,
|
2 |
#![warn(missing_docs, clippy::all, clippy::pedantic, clippy::nursery)]
|
3 |
#![allow(clippy::missing_safety_doc)]
|
17 |
#![forbid(unsafe_code)]
|
18 |
#![allow(clippy::missing_safety_doc)]
|
89 |
#![cfg_attr(docsrs, feature(doc_cfg))]
|
90 |
#![allow(clippy::missing_safety_doc)]
|
91 |
#![warn(missing_docs)]
|
4 |
clippy::no_effect,
|
5 |
clippy::missing_safety_doc
|
6 |
)]
|
8 |
clippy::too_many_arguments,
|
9 |
clippy::missing_safety_doc
|
10 |
)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
use std::ffi::{c_double, c_int};
|
62 |
// bindgen generates code that triggers these lints
|
63 |
#![allow(clippy::missing_safety_doc)]
|
64 |
#![allow(clippy::redundant_static_lifetimes)]
|
33 |
#![deny(unsafe_op_in_unsafe_fn)]
|
34 |
#![allow(clippy::missing_safety_doc)] // TODO: Remove this
|
35 |
#![warn(clippy::cargo)]
|
7 |
clippy::redundant_static_lifetimes, // TODO: Remove after that this issue will be fixed in bindgen
|
8 |
clippy::missing_safety_doc
|
9 |
)]
|
2 |
#![cfg_attr(feature = "no-std", no_std)]
|
3 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
#![allow(clippy::upper_case_acronyms)]
|
17 |
#![allow(clippy::too_many_arguments, clippy::missing_safety_doc)]
|
15 |
#![allow(deprecated)]
|
16 |
#![allow(clippy::too_many_arguments, clippy::missing_safety_doc)]
|
15 |
#![allow(deprecated)]
|
16 |
#![allow(clippy::missing_safety_doc)]
|
3 |
clippy::excessive_precision,
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::should_implement_trait,
|
3 |
clippy::excessive_precision,
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::should_implement_trait,
|
3 |
clippy::excessive_precision,
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::should_implement_trait,
|
3 |
clippy::excessive_precision,
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::should_implement_trait,
|
3 |
clippy::excessive_precision,
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::should_implement_trait,
|
3 |
clippy::excessive_precision,
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::should_implement_trait,
|
3 |
clippy::excessive_precision,
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::should_implement_trait,
|
3 |
clippy::excessive_precision,
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::should_implement_trait,
|
3 |
clippy::excessive_precision,
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::should_implement_trait,
|
3 |
clippy::excessive_precision,
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::should_implement_trait,
|
41 |
//! ```
|
42 |
#![allow(clippy::missing_safety_doc)]
|
43 |
use crate::bio::{MemBio, MemBioSlice};
|
1 |
#![allow(
|
2 |
clippy::missing_safety_doc,
|
3 |
clippy::unreadable_literal,
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
#![allow(clippy::too_many_arguments)]
|
1 |
#![no_std]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)] // FIXME
|
2 |
use crate::audio::{AudioSpec, SampleFormat};
|
1 |
#![allow(clippy::missing_safety_doc)] // FIXME
|
4 |
#![doc = include_str!("../README.md")]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
21 |
#![allow(deref_nullptr)] // `bindgen_test_layout` tests use bogus code
|
22 |
#![allow(clippy::missing_safety_doc)]
|
23 |
#![allow(clippy::too_many_arguments)]
|
21 |
#![allow(deref_nullptr)] // `bindgen_test_layout` tests use bogus code
|
22 |
#![allow(clippy::missing_safety_doc)]
|
23 |
#![allow(clippy::too_many_arguments)]
|
21 |
#![allow(deref_nullptr)] // `bindgen_test_layout` tests use bogus code
|
22 |
#![allow(clippy::missing_safety_doc)]
|
23 |
#![allow(clippy::too_many_arguments)]
|
22 |
//! ```
|
23 |
#![allow(clippy::missing_safety_doc)]
|
24 |
#![allow(clippy::cast_ptr_alignment)]
|
6 |
#![allow(clippy::unused_unit)]
|
7 |
#![allow(clippy::missing_safety_doc)]
|
8 |
#![allow(clippy::too_many_arguments)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![warn(clippy::all)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(missing_docs, clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
11 |
#![allow(clippy::multiple_crate_versions)]
|
12 |
#![allow(clippy::missing_safety_doc)]
|
13 |
// Respect the C API case
|
30 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(non_snake_case)]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(improper_ctypes)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
7 |
#![no_std]
|
246 |
clippy::upper_case_acronyms,
|
247 |
clippy::missing_safety_doc
|
248 |
)]
|
6 |
unused_parens,
|
7 |
clippy::missing_safety_doc,
|
8 |
clippy::transmute_ptr_to_ptr,
|
6 |
unused_parens,
|
7 |
clippy::missing_safety_doc,
|
8 |
clippy::transmute_ptr_to_ptr,
|
46 |
#![allow(clippy::wrong_self_convention)]
|
47 |
#![allow(clippy::missing_safety_doc)]
|
48 |
#![allow(clippy::comparison_chain)]
|
1 |
#![cfg(any(target_os = "macos", target_os = "ios"))]
|
2 |
#![allow(clippy::missing_safety_doc, clippy::let_unit_value)]
|
13 |
#![warn(unused)]
|
14 |
#![allow(clippy::missing_safety_doc)]
|
15 |
#![deny(warnings)]
|
13 |
#![warn(unused)]
|
14 |
#![allow(clippy::missing_safety_doc)]
|
15 |
#![deny(warnings)]
|
13 |
#![warn(unused)]
|
14 |
#![allow(clippy::missing_safety_doc)]
|
15 |
#![allow(clippy::too_many_arguments)]
|
6 |
)]
|
7 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![warn(clippy::all, clippy::nursery)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
non_snake_case,
|
4 |
clippy::missing_safety_doc,
|
5 |
clippy::unreadable_literal,
|
9 |
clippy::shadow_same,
|
10 |
clippy::missing_safety_doc
|
11 |
)]
|
3 |
#![allow(deref_nullptr)] // TODO(fxbug.dev/74605): Remove once bindgen is fixed.
|
4 |
#![allow(clippy::missing_safety_doc, clippy::too_many_arguments)]
|
142 |
clippy::missing_panics_doc,
|
143 |
clippy::missing_safety_doc,
|
144 |
clippy::module_name_repetitions,
|
14 |
#![allow(dead_code, missing_docs, clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
//! Low level access to RISC-V processors
|
67 |
clippy::doc_markdown,
|
68 |
clippy::missing_safety_doc,
|
69 |
clippy::needless_pass_by_value,
|
67 |
clippy::doc_markdown,
|
68 |
clippy::missing_safety_doc,
|
69 |
clippy::needless_pass_by_value,
|
3 |
#![allow(non_snake_case)]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
5 |
#![allow(clippy::unreadable_literal)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(clippy::unreadable_literal)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::upper_case_acronyms)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
#![doc(
|
1 |
#![allow(non_camel_case_types)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
#![allow(clippy::upper_case_acronyms)]
|
38 |
#![allow(clippy::new_without_default, clippy::missing_safety_doc)]
|
4 |
#![allow(clippy::approx_constant)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::redundant_static_lifetimes)]
|
8 |
#![allow(clippy::not_unsafe_ptr_arg_deref)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
10 |
#![allow(incomplete_features)]
|
27 |
#![allow(clippy::missing_safety_doc)]
|
28 |
#![allow(dead_code)]
|
67 |
#![allow(clippy::missing_safety_doc)]
|
68 |
#![allow(dead_code)]
|
69 |
#![allow(clippy::missing_safety_doc)]
|
70 |
#![allow(dead_code)]
|
4 |
#![allow(clippy::missing_safety_doc)] // TODO add safety docs
|
4 |
#![allow(clippy::missing_safety_doc)] // TODO add safety docs
|
15 |
#![allow(clippy::missing_safety_doc, renamed_and_removed_lints)]
|
29 |
// us to provide this for every single function as that would be repetitive and verbose.
|
30 |
clippy::missing_safety_doc,
|
31 |
)]
|
30 |
// us to provide this for every single function as that would be repetitive and verbose.
|
31 |
clippy::missing_safety_doc,
|
32 |
unsafe_code
|
2 |
// #![warn(clippy::pedantic)]
|
3 |
#![allow(clippy::missing_safety_doc)]
|
4 |
/// https://datasheets.raspberrypi.org/bcm2711/bcm2711-peripherals.pdf page 65
|
27 |
#![allow(clippy::missing_safety_doc)]
|
28 |
#![cfg_attr(
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
17 |
#![allow(clippy::missing_safety_doc)]
|
14 |
// as that would be repetitive and verbose.
|
15 |
#![allow(clippy::missing_safety_doc)]
|
170 |
#![allow(clippy::not_unsafe_ptr_arg_deref)]
|
171 |
#![allow(clippy::missing_safety_doc)]
|
3 |
//! Primary client for now is the Python version, using CFFI and milksnake.
|
4 |
#![allow(clippy::missing_safety_doc)]
|
2 |
// FIXME: Write documentation for the unsafe functions.
|
3 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
#![allow(clippy::module_inception)]
|
3 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(clippy::too_many_arguments)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
388 |
#![allow(clippy::comparison_chain)]
|
389 |
#![allow(clippy::missing_safety_doc)]
|
390 |
#![allow(clippy::float_cmp)]
|
13 |
#![warn(unused)]
|
14 |
#![allow(clippy::missing_safety_doc)]
|
15 |
#![deny(warnings)]
|
4 |
// likely lead to issues with macro_rules transcriber repeater nesting limitations
|
5 |
#![allow(clippy::missing_safety_doc)]
|
21 |
clippy::missing_errors_doc,
|
22 |
clippy::missing_safety_doc,
|
23 |
clippy::module_name_repetitions,
|
4 |
#![allow(clippy::missing_safety_doc)]
|
18 |
#![allow(clippy::missing_safety_doc)]
|
21 |
// and not a priority right now.
|
22 |
#![allow(clippy::missing_safety_doc)]
|
23 |
#![allow(clippy::needless_return)]
|
4 |
#![allow(improper_ctypes)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
6 |
#![doc = include_str!("../README.md")]
|
1 |
#![allow(dead_code)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(clippy::needless_range_loop)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
// TODO: Use real errors
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
// TODO: Use real errors
|
17 |
#![allow(clippy::missing_safety_doc)]
|
18 |
#![allow(clippy::needless_range_loop)]
|
14 |
pub trait Device: Sized {
|
15 |
#![allow(clippy::missing_safety_doc)]
|
80 |
pub trait DeviceAllocator {
|
81 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
#[cfg(feature = "boolean-c-api")]
|
144 |
#![allow(clippy::comparison_chain, clippy::missing_safety_doc)]
|
6 |
#![allow(clippy::identity_op)] // I like to `<< 0`, `+ 0`, etc. for consistency
|
7 |
#![allow(clippy::missing_safety_doc)] // I prefer ⚠️ Safety ⚠️ docs
|
8 |
#![allow(clippy::derivable_impls)] // I do this a lot for explicitness with d3d enums
|
11 |
#![deny(clippy::pedantic)]
|
12 |
#![allow(clippy::missing_safety_doc, clippy::missing_panics_doc)]
|
13 |
#![cfg_attr(
|
7 |
#![allow(clippy::redundant_static_lifetimes)]
|
8 |
#![allow(clippy::missing_safety_doc)]
|
9 |
#![allow(clippy::transmute_int_to_bool)]
|
7 |
#![allow(non_camel_case_types)]
|
8 |
#![allow(clippy::missing_safety_doc)]
|
9 |
use std::os::raw::{c_char, c_double, c_int, c_void};
|
1 |
#![allow(clippy::len_zero)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(clippy::redundant_closure_call)]
|
1 |
#![allow(clippy::len_zero)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
extern crate educe;
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
#[macro_use]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
15 |
#![allow(non_snake_case)]
|
16 |
#![allow(clippy::missing_safety_doc)]
|
17 |
#![allow(clippy::type_complexity)]
|
15 |
#![allow(non_snake_case)]
|
16 |
#![allow(clippy::missing_safety_doc)]
|
17 |
#![allow(clippy::type_complexity)]
|
1 |
#![allow(non_upper_case_globals, non_camel_case_types)]
|
2 |
#![allow(clippy::unreadable_literal, clippy::missing_safety_doc)]
|
3 |
#![allow(non_camel_case_types)]
|
4 |
#![allow(clippy::missing_safety_doc)] // FIXME
|
3 |
#![allow(non_camel_case_types)]
|
4 |
#![allow(clippy::missing_safety_doc)] // FIXME
|
5 |
use libc::{__s32, __u16, __u32, __u64, __u8};
|
2 |
#![allow(dead_code)]
|
3 |
#![allow(clippy::missing_safety_doc)] // FIXME
|
3 |
#![allow(non_camel_case_types)]
|
4 |
#![allow(clippy::missing_safety_doc)] // FIXME
|
2 |
#![allow(unused_macros)]
|
3 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(clippy::useless_conversion)]
|
8 |
clippy::missing_errors_doc,
|
9 |
clippy::missing_safety_doc,
|
10 |
clippy::ptr_as_ptr,
|
8 |
clippy::missing_errors_doc,
|
9 |
clippy::missing_safety_doc,
|
10 |
clippy::too_many_lines
|
25 |
clippy::missing_panics_doc,
|
26 |
clippy::missing_safety_doc,
|
27 |
clippy::module_name_repetitions,
|
7 |
)]
|
8 |
#![allow(clippy::unreadable_literal, clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
#![allow(clippy::extra_unused_lifetimes)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
27 |
clippy::let_and_return,
|
28 |
clippy::missing_safety_doc,
|
29 |
clippy::let_unit_value,
|
25 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(clippy::missing_safety_doc)]
|
15 |
#![allow(missing_docs)]
|
16 |
#![allow(clippy::missing_safety_doc)]
|
147 |
#![allow(clippy::zero_prefixed_literal)]
|
148 |
#![allow(clippy::missing_safety_doc)]
|
149 |
// ? not sure if should include
|
1 |
#![allow(clippy::missing_safety_doc)]
|
7 |
#![allow(deref_nullptr)]
|
8 |
#![allow(clippy::missing_safety_doc)]
|
9 |
#![allow(non_snake_case)]
|
25 |
missing_docs,
|
26 |
clippy::missing_safety_doc,
|
27 |
clippy::missing_errors_doc,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
5 |
non_snake_case,
|
6 |
clippy::missing_safety_doc,
|
7 |
clippy::too_many_arguments,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
11 |
clippy::let_unit_value,
|
12 |
clippy::missing_safety_doc,
|
13 |
clippy::too_many_arguments,
|
71 |
clippy::len_without_is_empty,
|
72 |
clippy::missing_safety_doc, // TODO: remove
|
73 |
clippy::module_inception,
|
10 |
#![allow(clippy::missing_safety_doc)]
|
11 |
#![warn(rust_2018_idioms, rust_2021_compatibility)]
|
1 |
#![doc(html_logo_url = "https://raw.githubusercontent.com/vulkano-rs/vulkano/master/logo.png")]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![warn(rust_2018_idioms, rust_2021_compatibility)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
1 |
#![allow(clippy::too_many_arguments)]
|
2 |
#![allow(clippy::missing_safety_doc)]
|
27 |
// we allow unsafe without explicit safety documentation for each of them.
|
28 |
#![allow(clippy::missing_safety_doc)]
|
192 |
pub mod signal {
|
193 |
#![allow(clippy::cast_ptr_alignment, clippy::missing_safety_doc)]
|
194 |
#[cfg(feature = "dlopen")]
|
3 |
#![allow(
|
4 |
clippy::missing_safety_doc,
|
5 |
non_snake_case,
|
119 |
#![allow(clippy::too_many_arguments)]
|
120 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(unused_imports)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
39 |
// TODO!
|
40 |
clippy::missing_safety_doc,
|
41 |
)]
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
use crate::{
|
137 |
#![cfg_attr(feature = "cargo-clippy", deny(warnings))]
|
138 |
#![allow(clippy::missing_safety_doc)]
|
9 |
#![allow(deref_nullptr)]
|
10 |
#![allow(clippy::missing_safety_doc)]
|
8 |
#![allow(deref_nullptr)]
|
9 |
#![allow(clippy::missing_safety_doc)]
|
134 |
non_snake_case,
|
135 |
clippy::missing_safety_doc,
|
136 |
clippy::type_complexity,
|
1 |
#![deny(warnings, clippy::all, clippy::pedantic, clippy::nursery)]
|
2 |
#![allow(clippy::missing_safety_doc)] // FIXME: Remove this allow
|
3 |
use std::alloc::Layout;
|
1 |
#![allow(clippy::missing_safety_doc)]
|
44 |
#![allow(missing_docs)]
|
45 |
#![allow(clippy::missing_safety_doc)]
|
46 |
pub mod base;
|
1 |
#![allow(clippy::missing_safety_doc)]
|
2 |
#![allow(clippy::cast_ptr_alignment)]
|
1 |
//! The interface to a collector
|
2 |
#![allow(clippy::missing_safety_doc)]
|
9 |
#![allow(
|
10 |
clippy::missing_safety_doc, // Entirely internal code
|
11 |
)]
|