Skip to main content

AssetBrowserConfigT

Struct AssetBrowserConfigT 

Source
#[repr(C)]
pub struct AssetBrowserConfigT { pub tt: *mut TheTruthO, pub asset_browser: TtIdT, pub undo_stack: *mut UndoStackI, pub tab: *mut TabI, pub open_ud: *mut c_void, pub open: Option<unsafe extern "C" fn(open_ud: *mut c_void, ui: *mut UiO, tab: *mut TabI, asset: TtIdT)>, pub disable_thumbnail_generation: bool, pub _padding_286: [c_char; 3], pub num_custom_menu_items: u32, pub custom_menu_items: *const AssetBrowserCustomMenuItemI, pub save_interface: *mut AssetSaveI, pub ui_renderer: *mut UiRendererO, }

Fields§

§tt: *mut TheTruthO§asset_browser: TtIdT§undo_stack: *mut UndoStackI§tab: *mut TabI§open_ud: *mut c_void§open: Option<unsafe extern "C" fn(open_ud: *mut c_void, ui: *mut UiO, tab: *mut TabI, asset: TtIdT)>§disable_thumbnail_generation: bool§_padding_286: [c_char; 3]§num_custom_menu_items: u32§custom_menu_items: *const AssetBrowserCustomMenuItemI§save_interface: *mut AssetSaveI§ui_renderer: *mut UiRendererO

Trait Implementations§

Source§

impl Default for AssetBrowserConfigT

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.