pub struct UiController {
pub type_id: u32,
pub element: Option<String>,
pub config: Option<String>,
pub tab: Option<String>,
pub slot: String,
}Expand description
One entry of a UIDescription controller table.
Original: FUN_140133530.
Fields§
§type_id: u32CRC32 type id of the UI::DialogController to attach (0 = none, e.g. StatusBarUI
0x509d1aea).
element: Option<String>The element to instantiate into the named slot.
config: Option<String>Controller configuration.
tab: Option<String>Tab label element, used when the slot is a TabElement.
slot: StringName of the slot element in the dialog (userGroup0, userTitle0).
Trait Implementations§
Source§impl Clone for UiController
impl Clone for UiController
Source§fn clone(&self) -> UiController
fn clone(&self) -> UiController
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 UiController
impl RefUnwindSafe for UiController
impl Send for UiController
impl Sync for UiController
impl Unpin for UiController
impl UnsafeUnpin for UiController
impl UnwindSafe for UiController
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