pub struct ToolbarDescription {
pub sprite_sheet: Option<String>,
pub sprite: String,
pub string_table: Option<String>,
pub name: String,
pub name_lower: String,
pub tooltip: String,
pub messages: Vec<String>,
pub category: i32,
pub value: i32,
}Expand description
A template’s toolbar component (ToolbarDescription): the icon, name and tooltip shown for
build and utility entries, and its placement messages.
Original: FUN_140132f00.
Fields§
§sprite_sheet: Option<String>The icon’s sprite sheet.
sprite: StringThe icon’s sprite.
string_table: Option<String>The string table.
name: StringThe name’s key.
name_lower: StringThe key of the name in lower case, shown in the create bar.
tooltip: StringThe tooltip’s key.
messages: Vec<String>Message keys (CreateOk, CreateBlocked, …).
category: i32Not identified yet.
value: i32Not identified yet.
Trait Implementations§
Source§impl Clone for ToolbarDescription
impl Clone for ToolbarDescription
Source§fn clone(&self) -> ToolbarDescription
fn clone(&self) -> ToolbarDescription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ToolbarDescription
impl RefUnwindSafe for ToolbarDescription
impl Send for ToolbarDescription
impl Sync for ToolbarDescription
impl Unpin for ToolbarDescription
impl UnsafeUnpin for ToolbarDescription
impl UnwindSafe for ToolbarDescription
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