Struct machinery_api::plugins::editor_views::AssetSaveI[][src]

#[repr(C)]
pub struct AssetSaveI { pub inst: *mut AssetSaveO, pub can_save_individual_assets: Option<unsafe extern "C" fn(inst: *mut AssetSaveO) -> bool>, pub file_tree_modifications: Option<unsafe extern "C" fn(inst: *mut AssetSaveO, ta: *mut TempAllocatorI, n: *mut u32) -> *mut AssetSaveFileTreeModificationT>, pub status: Option<unsafe extern "C" fn(inst: *mut AssetSaveO, asset: TtIdT) -> AssetSaveStatus>, pub save_asset: Option<unsafe extern "C" fn(inst: *mut AssetSaveO, asset: TtIdT)>, pub revert_asset: Option<unsafe extern "C" fn(inst: *mut AssetSaveO, asset: TtIdT, undo_scope: TtUndoScopeT)>, pub save_all: Option<unsafe extern "C" fn(inst: *mut AssetSaveO)>, pub save_all_except: Option<unsafe extern "C" fn(inst: *mut AssetSaveO, ignore: *mut TtIdT, num_ignore: u32)>, pub asset_root_path: Option<unsafe extern "C" fn(inst: *const AssetSaveO) -> *const c_char>, }

Fields

inst: *mut AssetSaveOcan_save_individual_assets: Option<unsafe extern "C" fn(inst: *mut AssetSaveO) -> bool>file_tree_modifications: Option<unsafe extern "C" fn(inst: *mut AssetSaveO, ta: *mut TempAllocatorI, n: *mut u32) -> *mut AssetSaveFileTreeModificationT>status: Option<unsafe extern "C" fn(inst: *mut AssetSaveO, asset: TtIdT) -> AssetSaveStatus>save_asset: Option<unsafe extern "C" fn(inst: *mut AssetSaveO, asset: TtIdT)>revert_asset: Option<unsafe extern "C" fn(inst: *mut AssetSaveO, asset: TtIdT, undo_scope: TtUndoScopeT)>save_all: Option<unsafe extern "C" fn(inst: *mut AssetSaveO)>save_all_except: Option<unsafe extern "C" fn(inst: *mut AssetSaveO, ignore: *mut TtIdT, num_ignore: u32)>asset_root_path: Option<unsafe extern "C" fn(inst: *const AssetSaveO) -> *const c_char>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.