Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Occurances of `&mut |` on crates.io
ncollide_entities-0.2.0/partitioning/bvt.rs:299: median_partitioner_with_centers(depth, leaves, &mut |_, bv| bv.translation())
redox-0.0.2/src/peer/message.rs:365: match buf_reader.read_message(0, &mut |_: u32| &mut block) {
redox-0.0.2/src/peer/message.rs:402: match buf_reader.read_message(0, &mut |_: u32| &mut block) {
redox-0.0.2/src/peer/message.rs:411: match buf_reader.read_message(1, &mut |_: u32| &mut block) {
redox-0.0.2/src/peer/message.rs:427: match buf_reader.read_message(0, &mut |_: u32| &mut block) {
redox-0.0.2/src/peer/message.rs:445: match buf_reader.read_message(0, &mut |_: u32| &mut block) {
redox-0.0.2/src/peer/message.rs:470: match buf_reader.read_message(0, &mut |_: u32| &mut block) {
kiss3d-0.1.2/src/scene/scene_node.rs:152: self.apply_to_objects_mut(&mut |o| o.set_user_data(user_data))
kiss3d-0.1.2/src/scene/scene_node.rs:161: self.apply_to_objects_mut(&mut |o| o.set_material(material.clone()))
kiss3d-0.1.2/src/scene/scene_node.rs:178: self.apply_to_objects_mut(&mut |o| o.set_lines_width(width))
kiss3d-0.1.2/src/scene/scene_node.rs:184: self.apply_to_objects_mut(&mut |o| o.set_points_size(size))
kiss3d-0.1.2/src/scene/scene_node.rs:191: self.apply_to_objects_mut(&mut |o| o.set_surface_rendering_activation(active))
kiss3d-0.1.2/src/scene/scene_node.rs:198: self.apply_to_objects_mut(&mut |o| o.enable_backface_culling(active))
kiss3d-0.1.2/src/scene/scene_node.rs:206: self.apply_to_objects_mut(&mut |o| o.modify_vertices(f))
kiss3d-0.1.2/src/scene/scene_node.rs:214: self.apply_to_objects(&mut |o| o.read_vertices(f))
kiss3d-0.1.2/src/scene/scene_node.rs:221: self.apply_to_objects_mut(&mut |o| o.recompute_normals())
kiss3d-0.1.2/src/scene/scene_node.rs:229: self.apply_to_objects_mut(&mut |o| o.modify_normals(f))
kiss3d-0.1.2/src/scene/scene_node.rs:237: self.apply_to_objects(&mut |o| o.read_normals(f))
kiss3d-0.1.2/src/scene/scene_node.rs:245: self.apply_to_objects_mut(&mut |o| o.modify_faces(f))
kiss3d-0.1.2/src/scene/scene_node.rs:253: self.apply_to_objects(&mut |o| o.read_faces(f))
kiss3d-0.1.2/src/scene/scene_node.rs:262: self.apply_to_objects_mut(&mut |o| o.modify_uvs(f))
kiss3d-0.1.2/src/scene/scene_node.rs:270: self.apply_to_objects(&mut |o| o.read_uvs(f))
kiss3d-0.1.2/src/scene/scene_node.rs:278: self.apply_to_objects_mut(&mut |o| o.set_color(r, g, b))
kiss3d-0.1.2/src/scene/scene_node.rs:307: self.apply_to_objects_mut(&mut |o| o.set_texture(texture.clone()))
poisson-0.5.0/src/test/dim2.rs:33: test_with_seeds_prefill::<Vec2, _>(radius / 2f64, 800, false, &mut |ref mut v, i| {
poisson-0.5.0/src/test/dim2.rs:43: test_with_seeds_prefill::<Vec2, _>(radius / 8f64, 100, false, &mut |ref mut v, i| {
poisson-0.5.0/src/test/dim2.rs:53: test_with_seeds_prefill::<Vec2, _>(radius / 2f64, 200, true, &mut |ref mut v, i| {
poisson-0.5.0/src/test/dim2.rs:63: test_with_seeds_prefill::<Vec2, _>(radius / 8f64, 25, true, &mut |ref mut v, i| {
poisson-0.5.0/src/test/dim3.rs:33: test_with_seeds_prefill::<Vec3, _>(radius / 2f64, 800, false, &mut |ref mut v, i| {
poisson-0.5.0/src/test/dim3.rs:43: test_with_seeds_prefill::<Vec3, _>(radius / 8f64, 100, false, &mut |ref mut v, i| {
poisson-0.5.0/src/test/dim3.rs:53: test_with_seeds_prefill::<Vec3, _>(radius / 2f64, 200, true, &mut |ref mut v, i| {
poisson-0.5.0/src/test/dim3.rs:63: test_with_seeds_prefill::<Vec3, _>(radius / 8f64, 25, true, &mut |ref mut v, i| {
poisson-0.5.0/src/test/dim4.rs:33: test_with_seeds_prefill::<Vec4, _>(radius / 2f64, 400, false, &mut |ref mut v, i| {
poisson-0.5.0/src/test/dim4.rs:43: test_with_seeds_prefill::<Vec4, _>(radius / 8f64, 50, false, &mut |ref mut v, i| {
poisson-0.5.0/src/test/dim4.rs:53: test_with_seeds_prefill::<Vec4, _>(radius / 2f64, 100, true, &mut |ref mut v, i| {
poisson-0.5.0/src/test/dim4.rs:63: test_with_seeds_prefill::<Vec4, _>(radius / 4f64, 1, true, &mut |ref mut v, i| {
poisson-0.5.0/src/test/mod.rs:42:// test_with_seeds_prefill::<T, _>(radius, seeds, periodicity, &mut |_, _|{});
piston-ai_behavior-0.2.0/tests/test_events.rs:27: state.event(&e, &mut |_, dt, action, _| {
compiletest_rs-0.0.6/src/header.rs:69: iter_header(testfile, &mut |ln| {
compiletest_rs-0.0.6/src/header.rs:220: let val = iter_header(testfile, &mut |ln| {
rand_macros-0.1.8/src/lib.rs:71: trait_def.expand(cx, mitem, &item, &mut |i| push(i))
piston2d-sprite-0.3.0/src/scene.rs:55: let (status, _) = a.event(e, &mut |_, dt, animation, s| {
sort-0.0.4/src/lib.rs:11:pub fn quick_sort_by<T>(d: &mut [T], cmp: &mut |&T, &T| -> Ordering) {
ncollide_pipeline-0.2.0/narrow_phase/composite_shape_repr.rs:58: g1.map_part_at(*i, &mut |_, g1| {
ncollide_pipeline-0.2.0/narrow_phase/composite_shape_repr.rs:84: g1.map_transformed_part_at(m1, key, &mut |m1, g1| {
ncollide_pipeline-0.2.0/world/collision_world.rs:133: &mut |b1, b2| CollisionObjectsDispatcher::is_proximity_allowed(objs, b1, b2),
ncollide_pipeline-0.2.0/world/collision_world.rs:134: &mut |b1, b2, started| nf.handle_proximity(objs, b1, b2, started)
piston2d-glium_graphics-0.1.0/src/back_end.rs:137: f(&mut |vertices: &[f32]| {
piston2d-glium_graphics-0.1.0/src/back_end.rs:181: f(&mut |vertices: &[f32], texture_coords: &[f32]| {
quickcheck-0.2.20/src/arbitrary.rs:484: rep(&mut || { let n: isize = arby(); assert!(n >= -5 && n <= 5); } );
quickcheck-0.2.20/src/arbitrary.rs:489: rep(&mut || { let n: usize = arby(); assert!(n <= 5); } );
git2-0.2.12/examples/add.rs:38: let cb = &mut |path: &Path, _matched_spec: &[u8]| -> i32 {
git2-0.2.12/src/index.rs:515: Some(&mut |a: &Path, b: &[u8]| {
git2-0.2.12/src/index.rs:525: index.remove_all(["."].iter(), Some(&mut |a: &Path, b: &[u8]| {
backtrace-0.1.1/tests/smoke.rs:22: backtrace::trace(&mut |cx| {
backtrace-0.1.1/tests/smoke.rs:66: backtrace::resolve(ip as *mut libc::c_void, &mut |sym| {
backtrace-0.1.1/src/symbolize/mod.rs:54:/// backtrace::trace(&mut |frame| {
backtrace-0.1.1/src/symbolize/mod.rs:57:/// backtrace::resolve(ip, &mut |symbol| {
backtrace-0.1.1/examples/backtrace.rs:18: backtrace::trace(&mut |frame| {
backtrace-0.1.1/examples/backtrace.rs:24: backtrace::resolve(frame.ip(), &mut |symbol| {
backtrace-0.1.1/src/lib.rs:49://! backtrace::trace(&mut |frame| {
backtrace-0.1.1/src/lib.rs:54://! backtrace::resolve(ip, &mut |symbol| {
backtrace-0.1.1/src/backtrace/mod.rs:54:/// backtrace::trace(&mut |frame| {
backtrace-0.1.1/README.md:29: backtrace::trace(&mut |frame| {
backtrace-0.1.1/README.md:34: backtrace::resolve(ip, &mut |symbol| {
piston2d-gfx_graphics-0.3.1/src/back_end.rs:285: f(&mut |vertices: &[f32]| {
piston2d-gfx_graphics-0.3.1/src/back_end.rs:323: f(&mut |vertices: &[f32], texture_coords: &[f32]| {
acacia-0.0.6/README.md:86: &mut |&(center_of_mass, mass)| {
syntex_syntax-0.7.0/src/ext/expand.rs:1203: &mut |ann| items.push(ann));
itertools-0.3.21/src/format.rs:25: let mut cb = &mut |disp: &fmt::Display| write!(fmt, "{}", disp);
regex_macros-0.1.21/src/lib.rs:107: &mut |cx, name| match *name {
pocket-resources-0.2.1/src/lib.rs:22: try!(visit_dirs(&directory, &mut |original_entry| {
retry-0.3.0/src/lib.rs:77://! &mut || api_client.query_job_status(),
retry-0.3.0/src/lib.rs:78://! &mut |response| response.code == 200
retry-0.3.0/src/lib.rs:193: &mut || collection.next().unwrap(),
retry-0.3.0/src/lib.rs:194: &mut |value| *value == 5
retry-0.3.0/src/lib.rs:202: let value = Retry::new(&mut || 1, &mut |value| *value == 1).try(1).execute().ok().unwrap();
retry-0.3.0/src/lib.rs:209: let error = Retry::new(&mut || 1, &mut |value| *value == 1).try(0).execute().err().unwrap();
retry-0.3.0/src/lib.rs:219: &mut || collection.next().unwrap(),
retry-0.3.0/src/lib.rs:220: &mut |value| *value == 2
retry-0.3.0/src/lib.rs:231: &mut || collection.next().unwrap(),
retry-0.3.0/src/lib.rs:232: &mut |value| *value == 2
retry-0.3.0/src/lib.rs:243: &mut || collection.next().unwrap(),
retry-0.3.0/src/lib.rs:244: &mut |value| *value == 2
hackrf-0.0.1/src/lib.rs:87: let cb: &mut |&[u8]| -> bool = unsafe { &mut *cb_ptr };
hackrf-0.0.1/src/lib.rs:104: let cb: &mut |&mut[u8]| -> bool = unsafe { &mut *cb_ptr };
hackrf-0.0.1/src/lib.rs:118:pub fn start_rx(device: &mut HackRFDevice, callback: &mut |&[u8]| -> bool)
hackrf-0.0.1/src/lib.rs:142:pub fn start_tx(device: &mut HackRFDevice, callback: &mut |&mut[u8]| -> bool)
flate2-0.2.7/src/raw.rs:42: self.0.finish(&mut |stream, inner| {
flate2-0.2.7/src/raw.rs:69: let n = try!(self.0.write(&mut |stream, inner| {
flate2-0.2.7/src/raw.rs:79: self.0.finish(&mut |stream, inner| {
flate2-0.2.7/src/raw.rs:103: self.0.finish(&mut |stream, inner| {
flate2-0.2.7/src/raw.rs:115: let n = try!(self.0.write(&mut |stream, inner| {
flate2-0.2.7/src/raw.rs:125: self.0.finish(&mut |stream, inner| {
ncollide_queries-0.2.1/geometry/time_of_impact_internal/composite_shape_against_any.rs:98: self.g1.map_transformed_part_at(self.m1, *b, &mut |m1, g1|
ncollide_queries-0.2.1/geometry/contacts_internal/composite_shape_against_any.rs:92: g1.map_part_at(i, &mut |_, part| {
ncollide_queries-0.2.1/geometry/distance_internal/composite_shape_against_any.rs:92: self.g1.map_transformed_part_at(self.m1, *b, &mut |m1, g1| {
ncollide_queries-0.2.1/point/point_compound.rs:66: self.compound.map_part_at(*b, &mut |objm, obj| {
ncollide_queries-0.2.1/point/point_compound.rs:98: self.compound.map_part_at(*b, &mut |objm, obj| {
clutter-1.20.0/src/stage.rs:454: let handler = std::mem::transmute::<*mut libc::c_void, &mut |stage: &mut StageRef|>(handler);
clutter-1.20.0/src/stage.rs:464: let handler = std::mem::transmute::<*mut libc::c_void, &mut |stage: &mut StageRef|>(handler);
clutter-1.20.0/src/stage.rs:474: let handler = std::mem::transmute::<*mut libc::c_void, &mut |stage: &mut StageRef|>(handler);
clutter-1.20.0/src/stage.rs:484: let handler = std::mem::transmute::<*mut libc::c_void, &mut |stage: &mut StageRef|>(handler);
clutter-1.20.0/src/canvas.rs:89: let handler = std::mem::transmute::<*mut libc::c_void, &mut |canvas: &mut CanvasRef, cairo: &mut cairo::Cairo, width: i32, height: i32| -> bool>(handler);
clutter-1.20.0/src/actor/mod.rs:1822: let handler = std::mem::transmute::<*mut libc::c_void, &mut |actor: &mut ActorRef, allocation_box: &Box, flags: allocation::Flags|>(handler);
clutter-1.20.0/src/actor/mod.rs:1832: let handler = std::mem::transmute::<*mut libc::c_void, &mut |actor: &mut ActorRef|>(handler);
rust-sqlite-0.2.0/tests/ex.rs:55: &[], &mut |row| {
rust-sqlite-0.2.0/tests/opening.rs:86: &[], &mut |row| {
rust-sqlite-0.2.0/src/lib.rs:73://! &[], &mut |row| {
piston2d-opengl_graphics-0.3.0/src/back_end.rs:337: f(&mut |vertices: &[f32]| {
piston2d-opengl_graphics-0.3.0/src/back_end.rs:379: f(&mut |vertices: &[f32], texture_coords: &[f32]| {
ncollide_utils-0.2.1/optimization.rs:234: &mut |uv| f.d0(uv.x, uv.y),
ncollide_utils-0.2.1/optimization.rs:235: &mut |uv| Vec2::new(f.du(uv.x, uv.y), f.dv(uv.x, uv.y)));
ncollide_utils-0.2.1/optimization.rs:251: &mut |uv| f.d0(uv.x, uv.y),
ncollide_utils-0.2.1/optimization.rs:252: &mut |uv| Vec2::new(f.du(uv.x, uv.y), f.dv(uv.x, uv.y)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment