[][src]Struct tm_rs::ffi::tm_asset_save_i

#[repr(C)]pub struct tm_asset_save_i {
    pub inst: *mut tm_asset_save_o,
    pub can_save_individual_assets: Option<unsafe extern "C" fn(*mut tm_asset_save_o) -> bool>,
    pub file_tree_modifications: Option<unsafe extern "C" fn(*mut tm_asset_save_o, *mut tm_temp_allocator_i, *mut u32) -> *mut tm_asset_save_file_tree_modification_t>,
    pub status: Option<unsafe extern "C" fn(*mut tm_asset_save_o, tm_tt_id_t) -> i32>,
    pub save_asset: Option<unsafe extern "C" fn(*mut tm_asset_save_o, tm_tt_id_t)>,
    pub revert_asset: Option<unsafe extern "C" fn(*mut tm_asset_save_o, tm_tt_id_t, tm_tt_undo_scope_t)>,
    pub save_all: Option<unsafe extern "C" fn(*mut tm_asset_save_o)>,
    pub save_all_except: Option<unsafe extern "C" fn(*mut tm_asset_save_o, *mut tm_tt_id_t, u32)>,
    pub asset_root_path: Option<unsafe extern "C" fn(*const tm_asset_save_o) -> *const i8>,
}

Fields

inst: *mut tm_asset_save_ocan_save_individual_assets: Option<unsafe extern "C" fn(*mut tm_asset_save_o) -> bool>file_tree_modifications: Option<unsafe extern "C" fn(*mut tm_asset_save_o, *mut tm_temp_allocator_i, *mut u32) -> *mut tm_asset_save_file_tree_modification_t>status: Option<unsafe extern "C" fn(*mut tm_asset_save_o, tm_tt_id_t) -> i32>save_asset: Option<unsafe extern "C" fn(*mut tm_asset_save_o, tm_tt_id_t)>revert_asset: Option<unsafe extern "C" fn(*mut tm_asset_save_o, tm_tt_id_t, tm_tt_undo_scope_t)>save_all: Option<unsafe extern "C" fn(*mut tm_asset_save_o)>save_all_except: Option<unsafe extern "C" fn(*mut tm_asset_save_o, *mut tm_tt_id_t, u32)>asset_root_path: Option<unsafe extern "C" fn(*const tm_asset_save_o) -> *const i8>

Trait Implementations

impl Clone for tm_asset_save_i[src]

impl Copy for tm_asset_save_i[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.