You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mod.rs
    path of file: ./repos/maestro/src/process/mem_space
    
    the code of the file until where you have to start completion: /*
 * Copyright 2024 Luc Len√¥tre
 *
 * This file is part of Maestro.
 *
 * Maestro is free software: you can redistribute it and/or modify it under the
 * terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or
    
	pub fn free_page(&self, off: usize, ptr: *const c_void) {
		match self {
			MapResidence::Normal => Self::free(ptr),

			MapResidence::Static {
				pages,
			} => {
				if off >= pages.len() {
					Self::free(ptr)
				}
			}

			MapResidence::File {
				location: _,
				off: _,
			} => {
				// TODO
				todo!();
			}

			MapResidence::Swap {
				..
			} => {
				// TODO
				todo!();
			}
		}
	}