Searched refs:wrap_unsafe_ops (Results 1 – 5 of 5) sorted by relevance
86 let from_library = if ctx.options().wrap_unsafe_ops { in get_tokens()162 let call_body = if ctx.options().wrap_unsafe_ops { in push()181 let library_get = if ctx.options().wrap_unsafe_ops { in push()
2603 let block = ctx.wrap_unsafe_ops(quote! ( #( #stmts );*)); in codegen_method()4254 ctx.wrap_unsafe_ops(body) in objc_method_codegen()4682 ctx.wrap_unsafe_ops(quote!(::#prefix::mem::transmute(self))); in prepend_union_types()4793 let from_raw_parts = ctx.wrap_unsafe_ops(quote! ( in prepend_incomplete_array_types()4796 let from_raw_parts_mut = ctx.wrap_unsafe_ops(quote! ( in prepend_incomplete_array_types()
343 wrap_unsafe_ops: bool, field485 wrap_unsafe_ops, in builder_from_flags()928 if wrap_unsafe_ops { in builder_from_flags()929 builder = builder.wrap_unsafe_ops(true); in builder_from_flags()
654 if self.options.wrap_unsafe_ops { in command_line_flags()1806 pub fn wrap_unsafe_ops(mut self, doit: bool) -> Self { in wrap_unsafe_ops() method1807 self.options.wrap_unsafe_ops = doit; in wrap_unsafe_ops()2175 wrap_unsafe_ops: bool, field2373 wrap_unsafe_ops, in default()
2789 pub(crate) fn wrap_unsafe_ops(&self, tokens: impl ToTokens) -> TokenStream { in wrap_unsafe_ops() method2790 if self.options.wrap_unsafe_ops { in wrap_unsafe_ops()