pub struct World {
pub key_values: IndexMap<String, String>,
pub solids: Vec<Solid>,
pub hidden: Vec<Solid>,
pub group: Option<Group>,
}Expand description
Represents the world block in a VMF file.
Fields§
§key_values: IndexMap<String, String>The key-value pairs associated with the world.
solids: Vec<Solid>The list of solids that make up the world geometry.
The list of hidden solids in the world.
group: Option<Group>The groups present in the world, if any.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for World
impl<'de> Deserialize<'de> for World
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl VmfSerializable for World
impl VmfSerializable for World
impl StructuralPartialEq for World
Auto Trait Implementations§
impl Freeze for World
impl RefUnwindSafe for World
impl Send for World
impl Sync for World
impl Unpin for World
impl UnwindSafe for World
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more