pub struct Cordon {
pub name: String,
pub active: bool,
pub min: String,
pub max: String,
}Expand description
Represents a single cordon in a VMF file.
Fields§
§name: StringThe name of the cordon.
active: boolWhether the cordon is active.
min: StringThe minimum point of the cordon’s bounding box.
max: StringThe maximum point of the cordon’s bounding box.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cordon
impl<'de> Deserialize<'de> for Cordon
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 Cordon
impl VmfSerializable for Cordon
Auto Trait Implementations§
impl Freeze for Cordon
impl RefUnwindSafe for Cordon
impl Send for Cordon
impl Sync for Cordon
impl Unpin for Cordon
impl UnwindSafe for Cordon
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