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: rawfb.rs
    path of file: ./repos/aero/src/aero_kernel/src/drivers/drm
    
    the code of the file until where you have to start completion: // Copyright (C) 2021-2024 The Aero Project Developers.
//
// This file is part of The Aero Project.
//
// Aero 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

    
fn init() {
    let info = rendy::get_rendy_info();

    let rfb = Drm::new(Arc::new(RawFramebuffer {}));
    let crtc = Crtc::new(&rfb, rfb.allocate_object_id());

    let encoder = Encoder::new(
        &rfb,
        crtc.clone(),
        alloc::vec![crtc.clone()],
        rfb.allocate_object_id(),
    );

    let connector = Connector::new(
        encoder.clone(),
        alloc::vec![encoder.clone()],
        make_dmt_modes(
            info.horizontal_resolution as u16,
            info.vertical_resolution as u16,
        ),
        DrmModeConStatus::Connected,
        rfb.allocate_object_id(),
    );

    let dri = devfs::DEV_FILESYSTEM
        .root_dir()
        .inode()
        .mkdir("dri")
        .expect("devfs: failed to create DRM directory");

    rfb.install_crtc(crtc);
    rfb.install_connector(connector);
    rfb.install_encoder(encoder);

    devfs::install_device_at(dri, rfb).expect("ramfs: failed to install DRM device");
}