pub struct SetGeneral {Show 13 fields
pub name: Option<String>,
pub file_type: Option<String>,
pub version: Option<String>,
pub interior: Option<bool>,
pub has_height_transition: Option<bool>,
pub env_map: Option<String>,
pub transition: Option<i32>,
pub selector_height: Option<i32>,
pub display_name: Option<i32>,
pub unlocalized_name: Option<String>,
pub border: Option<String>,
pub default_terrain: Option<String>,
pub floor: Option<String>,
}Expand description
Parsed [GENERAL] section.
§Examples
let general = nwnrs_set::SetGeneral::default();
assert!(general.name.is_none());Fields§
§name: Option<String>Internal tileset name.
file_type: Option<String>Declared resource type, usually SET.
version: Option<String>Declared version string.
interior: Option<bool>Whether the tileset is interior.
has_height_transition: Option<bool>Whether height transitions are enabled.
env_map: Option<String>Environment map name.
transition: Option<i32>Transition type id.
selector_height: Option<i32>Selector height hint.
display_name: Option<i32>Dialog.tlk string reference for the localized display name.
unlocalized_name: Option<String>Fallback unlocalized display name.
border: Option<String>Default border terrain tag.
default_terrain: Option<String>Default terrain tag.
floor: Option<String>Default floor terrain tag.
Trait Implementations§
Source§impl Clone for SetGeneral
impl Clone for SetGeneral
Source§fn clone(&self) -> SetGeneral
fn clone(&self) -> SetGeneral
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetGeneral
impl Debug for SetGeneral
Source§impl Default for SetGeneral
impl Default for SetGeneral
Source§fn default() -> SetGeneral
fn default() -> SetGeneral
Returns the “default value” for a type. Read more
Source§impl PartialEq for SetGeneral
impl PartialEq for SetGeneral
impl StructuralPartialEq for SetGeneral
Auto Trait Implementations§
impl Freeze for SetGeneral
impl RefUnwindSafe for SetGeneral
impl Send for SetGeneral
impl Sync for SetGeneral
impl Unpin for SetGeneral
impl UnsafeUnpin for SetGeneral
impl UnwindSafe for SetGeneral
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