(&self)
| 216 | |
| 217 | impl Clone for Vhdx { |
| 218 | fn clone(&self) -> Self { |
| 219 | Vhdx { |
| 220 | file: self.file.try_clone().unwrap(), |
| 221 | vhdx_header: self.vhdx_header.clone(), |
| 222 | region_entries: self.region_entries.clone(), |
| 223 | bat_entry: self.bat_entry, |
| 224 | mdr_entry: self.mdr_entry, |
| 225 | disk_spec: self.disk_spec.clone(), |
| 226 | bat_entries: self.bat_entries.clone(), |
| 227 | current_offset: self.current_offset, |
| 228 | first_write: self.first_write, |
| 229 | } |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | impl AsRawFd for Vhdx { |