vmf_forge/
prelude.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! A prelude module that re-exports commonly used items from the `vmf_forge` crate.
//!
//! This module is intended to be used as a convenient way to import the most
//! frequently used items from the crate, without having to specify the full path
//! to each item.
//!
//! # Example
//!
//! ```
//! use vmf_forge::prelude::*;
//!
//! // Now you can use VmfFile, VmfError, etc. without the need for crate::
//! let vmf_file = VmfFile::open("your_map.vmf");
//! ```

pub use crate::VmfFile;

pub use crate::errors::{VmfError, VmfResult};

pub use crate::vmf::{
    entities::{Entities, Entity},
    metadata::{VersionInfo, VisGroups, VisGroup, ViewSettings},
    regions::{Cameras, Camera, Cordon, Cordons},
    world::{World, Solid, Side},
    common::Editor,
};