vmf_forge/
prelude.rs

1//! A prelude module that re-exports commonly used items from the `vmf_forge` crate.
2//!
3//! This module is intended to be used as a convenient way to import the most
4//! frequently used items from the crate, without having to specify the full path
5//! to each item.
6//!
7//! # Example
8//!
9//! ```
10//! use vmf_forge::prelude::*;
11//!
12//! // Now you can use VmfFile, VmfError, etc. without the need for crate::
13//! let vmf_file = VmfFile::open("your_map.vmf");
14//! ```
15
16pub use crate::VmfFile;
17
18pub use crate::errors::{VmfError, VmfResult};
19
20pub use crate::vmf::{
21    common::Editor,
22    entities::{Entities, Entity},
23    metadata::{VersionInfo, ViewSettings, VisGroup, VisGroups},
24    regions::{Camera, Cameras, Cordon, Cordons},
25    world::{Side, Solid, World},
26};