#[repr(C)]pub struct tm_core_asset_i {
pub core_id: u64,
pub path: *const i8,
pub create_policy: i32,
pub _padding_60: [i8; 4],
pub version: u64,
pub user_data: *const c_void,
pub create: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *const c_void) -> tm_tt_id_t>,
pub update: Option<unsafe extern "C" fn(*mut tm_the_truth_o, tm_tt_id_t, u64, *const c_void)>,
}Fields§
§core_id: u64§path: *const i8§create_policy: i32§_padding_60: [i8; 4]§version: u64§user_data: *const c_void§create: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *const c_void) -> tm_tt_id_t>§update: Option<unsafe extern "C" fn(*mut tm_the_truth_o, tm_tt_id_t, u64, *const c_void)>Trait Implementations§
Source§impl Clone for tm_core_asset_i
impl Clone for tm_core_asset_i
Source§fn clone(&self) -> tm_core_asset_i
fn clone(&self) -> tm_core_asset_i
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for tm_core_asset_i
Auto Trait Implementations§
impl Freeze for tm_core_asset_i
impl RefUnwindSafe for tm_core_asset_i
impl !Send for tm_core_asset_i
impl !Sync for tm_core_asset_i
impl Unpin for tm_core_asset_i
impl UnwindSafe for tm_core_asset_i
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