Lines Matching refs:copy_within

886     fn copy_within(&mut self, source: Rect, x: u32, y: u32) -> bool {  in copy_within()  method
1281 … assert!(!image.sub_image(0, 0, 4, 4).copy_within(Rect { x: 0, y: 0, width: 5, height: 4 }, 0, 0)); in test_generic_image_copy_within_oob()
1282 … assert!(!image.sub_image(0, 0, 4, 4).copy_within(Rect { x: 0, y: 0, width: 4, height: 5 }, 0, 0)); in test_generic_image_copy_within_oob()
1283 … assert!(!image.sub_image(0, 0, 4, 4).copy_within(Rect { x: 1, y: 0, width: 4, height: 4 }, 0, 0)); in test_generic_image_copy_within_oob()
1284 … assert!(!image.sub_image(0, 0, 4, 4).copy_within(Rect { x: 0, y: 0, width: 4, height: 4 }, 1, 0)); in test_generic_image_copy_within_oob()
1285 … assert!(!image.sub_image(0, 0, 4, 4).copy_within(Rect { x: 0, y: 1, width: 4, height: 4 }, 0, 0)); in test_generic_image_copy_within_oob()
1286 … assert!(!image.sub_image(0, 0, 4, 4).copy_within(Rect { x: 0, y: 0, width: 4, height: 4 }, 0, 1)); in test_generic_image_copy_within_oob()
1287 … assert!(!image.sub_image(0, 0, 4, 4).copy_within(Rect { x: 1, y: 1, width: 4, height: 4 }, 0, 0)); in test_generic_image_copy_within_oob()
1305 … assert!(image.sub_image(0, 0, 4, 4).copy_within(Rect { x: 0, y: 0, width: 3, height: 3 }, 1, 1)); in test_generic_image_copy_within_tl()
1324 … assert!(image.sub_image(0, 0, 4, 4).copy_within(Rect { x: 1, y: 0, width: 3, height: 3 }, 0, 1)); in test_generic_image_copy_within_tr()
1343 … assert!(image.sub_image(0, 0, 4, 4).copy_within(Rect { x: 0, y: 1, width: 3, height: 3 }, 1, 0)); in test_generic_image_copy_within_bl()
1362 … assert!(image.sub_image(0, 0, 4, 4).copy_within(Rect { x: 1, y: 1, width: 3, height: 3 }, 0, 0)); in test_generic_image_copy_within_br()