pub struct VisGroup {
pub name: String,
pub id: i32,
pub color: String,
pub children: Option<Vec<VisGroup>>,
}Expand description
Represents a VisGroup in a VMF file.
Fields§
§name: StringThe name of the VisGroup.
id: i32The ID of the VisGroup.
color: StringThe color of the VisGroup in the editor.
children: Option<Vec<VisGroup>>The child VisGroups of this VisGroup, if any.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VisGroup
impl<'de> Deserialize<'de> for VisGroup
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 VisGroup
impl VmfSerializable for VisGroup
impl StructuralPartialEq for VisGroup
Auto Trait Implementations§
impl Freeze for VisGroup
impl RefUnwindSafe for VisGroup
impl Send for VisGroup
impl Sync for VisGroup
impl Unpin for VisGroup
impl UnwindSafe for VisGroup
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