pub struct SetGroup {
pub id: u32,
pub name: Option<String>,
pub str_ref: Option<i32>,
pub rows: Option<u32>,
pub columns: Option<u32>,
pub tiles: BTreeMap<u32, Option<u32>>,
}Expand description
Parsed [GROUPN] section.
§Examples
let group = nwnrs_set::SetGroup::default();
assert!(group.tiles.is_empty());Fields§
§id: u32Group id from the section suffix.
name: Option<String>Group display name.
str_ref: Option<i32>Optional dialog.tlk string reference.
rows: Option<u32>Group row count.
columns: Option<u32>Group column count.
tiles: BTreeMap<u32, Option<u32>>Group tile layout keyed by zero-based cell index.
Trait Implementations§
impl Eq for SetGroup
impl StructuralPartialEq for SetGroup
Auto Trait Implementations§
impl Freeze for SetGroup
impl RefUnwindSafe for SetGroup
impl Send for SetGroup
impl Sync for SetGroup
impl Unpin for SetGroup
impl UnsafeUnpin for SetGroup
impl UnwindSafe for SetGroup
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