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 VmfSerializable for Cordon
impl VmfSerializable for Cordon
impl StructuralPartialEq 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